From ecc3f55d232b36f784b72ef7f8596a604d8587cb Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Mon, 16 Jan 2023 18:26:21 +0700 Subject: [PATCH] Disable Sprint update propogation (#2512) Signed-off-by: Andrey Sobolev Signed-off-by: Andrey Sobolev --- server-plugins/tracker-resources/src/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/server-plugins/tracker-resources/src/index.ts b/server-plugins/tracker-resources/src/index.ts index 0a863d9aea..b3e76bc7c4 100644 --- a/server-plugins/tracker-resources/src/index.ts +++ b/server-plugins/tracker-resources/src/index.ts @@ -300,8 +300,7 @@ async function doIssueUpdate ( if (Object.prototype.hasOwnProperty.call(updateTx.operations, 'project')) { res.push( ...(await updateSubIssues(updateTx, control, { - project: updateTx.operations.project, - sprint: updateTx.operations.sprint + project: updateTx.operations.project })) ) } @@ -316,9 +315,6 @@ async function doIssueUpdate ( updateIssueParentEstimations(issue, res, control, issue.parents, issue.parents) } - if (Object.prototype.hasOwnProperty.call(updateTx.operations, 'sprint')) { - res.push(...(await updateSubIssues(updateTx, control, { sprint: updateTx.operations.sprint }))) - } if (Object.prototype.hasOwnProperty.call(updateTx.operations, 'title')) { function update (issue: Issue): DocumentUpdate {