diff --git a/backend/plugins/jira/e2e/issue_relationship_test.go b/backend/plugins/jira/e2e/issue_relationship_test.go index e13e5900cd2..be36473bfc0 100644 --- a/backend/plugins/jira/e2e/issue_relationship_test.go +++ b/backend/plugins/jira/e2e/issue_relationship_test.go @@ -36,6 +36,7 @@ func TestIssueRelationshipDataFlow(t *testing.T) { Options: &tasks.JiraOptions{ ConnectionId: 2, BoardId: 8, + ScopeConfig: &models.JiraScopeConfig{}, }, } diff --git a/backend/plugins/jira/tasks/issue_extractor.go b/backend/plugins/jira/tasks/issue_extractor.go index 760b8c7cb4e..686f23ff4c4 100644 --- a/backend/plugins/jira/tasks/issue_extractor.go +++ b/backend/plugins/jira/tasks/issue_extractor.go @@ -70,7 +70,10 @@ func ExtractIssues(subtaskCtx plugin.SubTaskContext) errors.Error { ConnectionId: data.Options.ConnectionId, BoardId: data.Options.BoardId, }, - SubtaskConfig: mappings, + SubtaskConfig: map[string]any{ + "typeMappings": mappings, + "storyPointField": data.Options.ScopeConfig.StoryPointField, + }, }, Extract: func(row *api.RawData) ([]interface{}, errors.Error) { return extractIssues(data, mappings, row, userFieldMap)