The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Deleted user
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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

TAGS
AUG Leaders

Atlassian Community Events