Fix Jira Search API, Null Reference Exceptions, -A flag and PrintIssue Calls. - #1
Open
0x48756773 wants to merge 3 commits into
Open
Fix Jira Search API, Null Reference Exceptions, -A flag and PrintIssue Calls. #10x48756773 wants to merge 3 commits into
0x48756773 wants to merge 3 commits into
Conversation
- Replace removed /rest/api/3/search endpoint with /rest/api/3/search/jql across Issues.cs, Search.cs, CreateIssue.cs, and Attachments.cs - Fix null reference exceptions in PrintIssues when RenderedFields, Fields, Description, Body, or comment Author are null - Bump target framework from v4.5 to v4.8 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Implement the --all path which had an empty else block, causing issuesList.Issues to always be null when -a is used - Remove duplicate PrintIssues call that was printing to Console.Out unconditionally before the outfile check, causing errors to appear twice - Add null guard for issues list in PrintIssues Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix deprecated Jira search API and null reference exceptions
across Issues.cs, Search.cs, CreateIssue.cs, and Attachments.cs
Fields, Description, Body, or comment Author are null
Fix jira search -a flag and duplicate PrintIssues calls
issuesList.Issues to always be null when -a is used
unconditionally before the outfile check, causing errors to appear twice