Forums

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

How to transition an issue based on resolved linked issues

sean.naubert October 22, 2019

I am trying to use Automation to transition a task from one status to another when its linked dependencies or blocking issues have been resolved. For example, I have a task sitting in a "dependent" state that has two tasks linked by Depends on, and 1 bug that is linked as Is blocked by. I want the task to automatically transition back to Open when the 2 tasks and 1 bug have all been resolved. This seems doable but I've tried parsing other posts to devise a solution and have not been successful. 

 automation.png

1 answer

1 accepted

0 votes
Answer accepted
Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 22, 2019

Hi Sean,

At what stage of your rule is it no longer successful? Could you provide a screenshot of the audit log for one of these executions?

Cheers,

Simeon [Automation for Jira]

sean.naubert October 23, 2019

According to the logs it looks like it's not finding the linked issue (parent issue). 

 

errors.png

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2019

Hi Sean,

Are the linked issues in a different project by any chance?

Cheers,

Simeon.

sean.naubert October 24, 2019

No, these issues are all in the same project.

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 24, 2019

Hi Sean,

Excellent, that is often an issue. However, looking into your rule a bit further, I think your issue is that your Branch is looking for the wrong link types. In the first condition you check that the triggering issue has issues that it "blocks" or "is depended on by" but in your Related Issues branch you're using the inverse.

If you change your Related issues branch to check for "blocks" and "is depended on by" then I think your rule will start behaving.

Cheers,

Simeon.

sean.naubert October 25, 2019

Fantastic! I was sure my JIRA logic was getting confused somehow. Thank you, Simeon. That worked beautifully. 

Simmo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 27, 2019

Excellent, glad to hear it. Sorry I didn't spot it straight away!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events