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

How to automatically change the status of a task if the status of all blocking tasks has changed

My task is in the "Stuck" status and cannot be started (transferred to the "To Do" status) until all tasks blocking my task (which are indicated in the "Linked issues / is blocked by..." lines in my task) are completed ... After all blocking tasks are completed (they will be transferred to the "Done" status), it is necessary for the status of my task to be changed from "Stuck" to "To Do"

How do I set up this automation correctly?

2 answers

0 votes

Hi @Vladimir Matveev ,

 

May be you need Automation for Jira Plugin.

We previously done based on Epic Status based on Linked Stories statuses.

 

1. If all stories are closed  then Epic must close

2. If at least one  Story status set to "In Progress" epic status automatically changed "In Progress".

Like these we created automation rules.

https://marketplace.atlassian.com/apps/1215460/automation-for-jira-server 

I'm not sure about , issues linked using "Links". 

Give a try.

 

Thanks,

Anvesh.

Hi Anvesh!

Thank you for your answer.

But:

1. Our Jira (cloud) subscription includes all automation features. I don't think I need to buy anything else...

2. It seems to me that your answer is about a slightly different situation - tasks in one Epic, and not tasks linked by a link "is blocked by.."

But thanks anyway

Vladimir

0 votes
Liam Green Community Leader Dec 17, 2020

Hi @Vladimir Matveev 

I'm pretty certain this can be done through automation.  Having looked briefly, I think the below (amended for your own status names) would fit what you need:

image.png

Hi @Liam Green ,

 

Perfect.

Hi @Liam Green 

Maybe I poorly explained my problem ... Once again:
My task is in a "Stuck" status because several other tasks that are linked to my task and are blocking it have not completed.
When all of these linked tasks have been completed (their status will change to "Done"), the status of my task should automatically change to "To Do".

Explain to me, please, in your automation to which of the tasks (to the main task or to the blocking tasks) does each step refer to?

Daniel Ebers Community Leader Dec 24, 2020

The example above refers to issues that are affected by the stuck issues.
This does not refer to the issues that are actually stuck.

You can see this nicely as the entry point is the trigger "When: Issue transitioned TO Done". If this "event occurs" then Automation will act upon the linked issue.
Cosmetic thing in the screenshot: The transition is intended to change to "To Do". "Open", as shown, is also common but not your status name actually - like I said, minor but probably the source for irritation.

You could test if it works.
I have seen scenarios where it was enough that one issue which were blocking "the issue in stuck status" came to done whereas it is required that all issues would have come to done.
I cannot see this from the rule itself - therefore a test would be a good idea.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,121 views 8 28
Join discussion

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