Skip to content

fix(jira): honor EpicKeyField when extracting issues - #9067

Merged
klesh merged 1 commit into
apache:mainfrom
mfrancisc:upstream/fix-jira-epic-key-field
Aug 21, 2026
Merged

fix(jira): honor EpicKeyField when extracting issues#9067
klesh merged 1 commit into
apache:mainfrom
mfrancisc:upstream/fix-jira-epic-key-field

Conversation

@mfrancisc

Copy link
Copy Markdown
Contributor

Summary

EpicKeyField is already stored on Jira scope config and exposed in Config UI as the Epic Link field, but extractIssues never applied it. Epic keys were only taken from the legacy fields.epic object, so Jira Cloud / Parent Link custom fields stayed empty at the tool and domain layers.
This follows the same pattern as StoryPointField / DueDateField in the same extractor.

Changes

  • Map ScopeConfig.EpicKeyField from AllFields
  • Include epicKeyField in SubtaskConfig so changing the transformation setting triggers a full re-extract
  • Unit tests for string, object, legacy fallback, and empty-config (no accidental overwrite)

EpicKeyField is already on Jira scope config and in the Config UI, but
extractIssues never applied it, so Cloud/Parent Link epics stayed empty.

Co-Authored-By: Cursor Grok 4.6 <noreply@example.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

@klesh klesh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Thanks for your contribution.

@klesh
klesh merged commit c9721ee into apache:main Aug 21, 2026
10 checks passed
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.

2 participants