VaughanJ commented on code in PR #8972:
URL: https://github.com/apache/devlake/pull/8972#discussion_r3538461389
##########
backend/plugins/jira/impl/impl.go:
##########
@@ -249,6 +251,22 @@ func (p Jira) PrepareTaskData(taskCtx plugin.TaskContext,
options map[string]int
Options: &op,
ApiClient: jiraApiClient,
JiraServerInfo: *info,
+ Board: scope,
+ }
+
+ // Look up the DevLake project this board belongs to via
project_mapping.
+ // This is best-effort: if the board is not yet mapped (e.g. first run
or
+ // manual trigger outside a blueprint) we leave DevLakeProjectName
empty.
+ if scope != nil {
Review Comment:
I have updated the code to give only the ExtraJQL functionality, but remove
the templating of DevLakeProjectName to make the PR cleaner. We can discuss
options how/if it's possible to get the Dev Lake Project Name under a seperate
piece of work. As ExtraJQL is a beneficial standalone feature.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]