You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2023/01/20 10:59:53 UTC

[GitHub] [incubator-devlake] warren830 commented on a diff in pull request #4245: fix(jira): optimize collector for remotelink worklog changelog

warren830 commented on code in PR #4245:
URL: https://github.com/apache/incubator-devlake/pull/4245#discussion_r1082365249


##########
backend/plugins/jira/tasks/issue_changelog_collector.go:
##########
@@ -74,7 +74,9 @@ func CollectIssueChangelogs(taskCtx plugin.SubTaskContext) errors.Error {
 		dal.Groupby("i.issue_id, i.updated"),
 	}
 	incremental := collectorWithState.IsIncremental()
-	if incremental {
+	if incremental && collectorWithState.LatestState.LatestSuccessStart != nil {

Review Comment:
   I saw the old code you wrote is :



-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org