Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 issue status when sub-tasks meet certain criteria

I would like to make it so that when a task has a Waiting status and all tasks that block it are resolved, then that status would automatically turn to In Progress

2 answers

1 accepted

0 votes
Answer accepted
Simeon Ross Atlassian Team Dec 16, 2020

Hi @Andrei Sirotin

I've put together an example for you on how you achieve this.

example.png@Alexander Pappert was pretty close with his example.

You start with an Issue Transitioned trigger and choose the resolved status as the To status. In my example project, this is "Done". 

We then branch onto the issues it is linked to. In particular, I've chosen the type "blocks", so we'll only branch on issues that the resolved ticket blocks.

Next, we don't know if there are other issues also blocking this one or not, so we can't just transition it. However, we're now in the context of that issue, so we do a check on it.
In this case, we use the Related Issues condition.

We chose linked issues and the type "is blocked by" to find all the blocking issues, not just the one that triggered the rule. We then include JQL to ensure that all of them are resolved, as in the example above. If that is passed then we can transition our issue.

Hopefully that helps.

Cheers,

Simeon.

Thanks a lot :D

Will test it out when I can.

Like Simeon Ross likes this

you can use script addons like

https://marketplace.atlassian.com/apps/1215460/automation-for-jira-server?hosting=server&tab=overview 

you can build rules here

https://docs.automationforjira.com/rule-playground/index.html#/ 

 

your blocked tasks are issue links?

then you could use a rule like this

when the link changes to done, then it changes his links to status done

grafik.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

99 views 5 7
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