Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

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...

247 views 1 5
Read article

Community Events

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

Events near you