Forums

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

Transition based on Linked issue status

Otto van Straaten May 30, 2018

Hi Community 

I am new to Jira and also to Automation for Jira. 

I have 2 projects. One is a Service Desk project called CM and the other a Software project called INFRA. 

What I am not getting to work is to get the workflow transitioned from "Schedule" to "Implemented" in the CM project once ALL linked issues in the INFRA project have moved to "Done" status. There could be as many as 5 linked issues created in the INFRA project. 

I have tried all kinds of different variations of this, but it is still not working. 

All Rules are Global - See attached Screenshots. 

My logic might be completely wrong here...Screenshot 1.PNGScreenshot 2.PNGScreenshot 3.PNG

2 answers

0 votes
andreas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 30, 2018

Hi Otto,

Yeah so I think your rule is the wrong way around.  I think it needs to be this:

  • Trigger: Issue transitioned
  • JQL condition: project = INFRA and status = Done
  • Related issue branch with linked issues
    • JQL condition: Project = CM
    • Related issue condition where all linked issues match project = INFRA and status = DONE
    • Transition action: Implemented

Hope that makes sense.

Cheers,
Andreas

Otto van Straaten May 31, 2018

Thanks, @andreas. It is working now.

0 votes
Bastian Stehmann
Community Champion
May 30, 2018

Hi @Otto van Straaten,

I think, the problem is that your rule should be executed, wenn an issue is transitioned and that you check in the next step, if the issue is in the CM-project.

With this combination, this rule is only executed, when an issue from the CM project is transitioned, but if I get it right, you want it to run, when the last issue in the INFRA project is transition.

So you will probably have to change the order of your conditions, but I am not so used to Automation, that I can tell you how without having to try it out myself.

But maybe this helps you anyway.

Otto van Straaten June 1, 2018

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events