Skip to content

Fix Jira Search API, Null Reference Exceptions, -A flag and PrintIssue Calls. - #1

Open
0x48756773 wants to merge 3 commits into
werdhaihai:mainfrom
0x48756773:main
Open

Fix Jira Search API, Null Reference Exceptions, -A flag and PrintIssue Calls. #1
0x48756773 wants to merge 3 commits into
werdhaihai:mainfrom
0x48756773:main

Conversation

@0x48756773

Copy link
Copy Markdown

Fix deprecated Jira search API and null reference exceptions

  • 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

Fix jira search -a flag and duplicate PrintIssues calls

  • 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

Johnathan Drozdowski and others added 3 commits April 9, 2026 17:15
- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant