Skip to content

fix(jira): use API field names in should_include_field checks#1076

Merged
sooperset merged 1 commit into
mainfrom
fix/jira-field-name-mapping-v2
Mar 1, 2026
Merged

fix(jira): use API field names in should_include_field checks#1076
sooperset merged 1 commit into
mainfrom
fix/jira-field-name-mapping-v2

Conversation

@sooperset

Copy link
Copy Markdown
Owner

Summary

  • Fix to_simplified_dict() to use Jira API field names (fixVersions, issuetype) instead of Python attribute names (fix_versions, issue_type) when checking should_include_field()
  • This bug caused these fields to be excluded from results when users specified them in requested_fields

Closes #896

Original PR

Reimplements #1027 by @yliu. Thank you for the contribution!

Test plan

  • Regression tests for fixVersions and issuetype field matching
  • pre-commit clean
  • Full unit test suite passes

Closes #896

Co-authored-by: yliu <7352334+yliu@users.noreply.github.com>
@sooperset sooperset merged commit 632e33b into main Mar 1, 2026
6 checks passed
@sooperset sooperset deleted the fix/jira-field-name-mapping-v2 branch March 1, 2026 16:05
@narayanpai

Copy link
Copy Markdown

Can you please release this version

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.

[Bug]: fixVersions field not returned when explicitly requested in fields parameter

2 participants