Disable Sprint update propogation (#2512)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2023-01-16 18:26:21 +07:00 committed by GitHub
parent d5cdf5e80c
commit ecc3f55d23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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<Issue> {