Can I trigger action on one task (add to Sprint) after other task is set to completed?

Radek Dering April 24, 2019

Can I trigger action on one task (add to Sprint) after other task is set to completed?

I'd like to automatically add a related task from backlog to current Sprint once another task is set to complete.

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 24, 2019

Hello,

You would need an app for it. There are multiple apps available: Power Scripts, Script Runner.

If you want to use the Power Scripts app, you can create a post function for the transition to the Closed status, with a code like this:

string[] issueKeys = selectIssues("filter = <your board filter id> and sprint is empty");

if (size(issueKeys) > 0) {
issueKeys[0].#{Sprint} = key.#{Sprint};

}

Change the <you board filter id> to the filter id from your board;

Suggest an answer

Log in or Sign up to answer