Skip to content

Commit 2e768b5

Browse files
github-actions[bot]Klesh Wong
andauthored
fix: updating jira storypoint field should refresh all records (#8048) (#8049)
* fix: updating jira storypoint field should refresh all records * fix: jira storypointfield e2e Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>
1 parent dbb29b3 commit 2e768b5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

backend/plugins/jira/e2e/issue_relationship_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ func TestIssueRelationshipDataFlow(t *testing.T) {
3636
Options: &tasks.JiraOptions{
3737
ConnectionId: 2,
3838
BoardId: 8,
39+
ScopeConfig: &models.JiraScopeConfig{},
3940
},
4041
}
4142

backend/plugins/jira/tasks/issue_extractor.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ func ExtractIssues(subtaskCtx plugin.SubTaskContext) errors.Error {
7070
ConnectionId: data.Options.ConnectionId,
7171
BoardId: data.Options.BoardId,
7272
},
73-
SubtaskConfig: mappings,
73+
SubtaskConfig: map[string]any{
74+
"typeMappings": mappings,
75+
"storyPointField": data.Options.ScopeConfig.StoryPointField,
76+
},
7477
},
7578
Extract: func(row *api.RawData) ([]interface{}, errors.Error) {
7679
return extractIssues(data, mappings, row, userFieldMap)

0 commit comments

Comments
 (0)