change a field in a story depending on the status of a subtask

Marcelo Cid _Antiguo_ December 13, 2021

Hi all,

I have a subtask issuetype called lock, which has backlog - in progress and done states. This issue indicates if the parent (task, history, bug, etc) contains locks.

Inside the parent there is a field called blocked which is a selection list with the yes and no fields.

I would like to generate an automation that indicates the following:

If there is at least one block in the backlog or in progress states, the parent field (the blocked field) changes to yes. Whereas if the set of blocks is in done, the parent field changes to Done.

1 answer

0 votes
Charlie Gavey
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 14, 2021

Hi Marcelo,

It might be simplest to create a couple of automation rules to achieve this.

You could use one automation rule that sets the blocked field of the parent issue when a subtask of issuetype block is created, and then another automation rule to update the field in the parent issue when the block subtask is completed.

Here's an example of what the first rule could look like.

Screenshot 2021-12-15 at 10.18.46 AM.png

Hope this helps!

Cheers,

Charlie

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events