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.
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.
Hope this helps!
Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events