You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2024/09/13 06:45:13 UTC

(incubator-devlake) branch bugfix-jira-storypoint created (now d792da7a4)

This is an automated email from the ASF dual-hosted git repository.

klesh pushed a change to branch bugfix-jira-storypoint
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


      at d792da7a4 fix: updating jira storypoint field should refresh all records

This branch includes the following new commits:

     new d792da7a4 fix: updating jira storypoint field should refresh all records

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(incubator-devlake) 01/01: fix: updating jira storypoint field should refresh all records

Posted by kl...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch bugfix-jira-storypoint
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git

commit d792da7a42e381429bf1381f5667ff71516f5fb8
Author: Klesh Wong <zh...@merico.dev>
AuthorDate: Fri Sep 13 14:43:24 2024 +0800

    fix: updating jira storypoint field should refresh all records
---
 backend/plugins/jira/tasks/issue_extractor.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/backend/plugins/jira/tasks/issue_extractor.go b/backend/plugins/jira/tasks/issue_extractor.go
index 760b8c7cb..686f23ff4 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)