Forums

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

Move to next status based on status of 2 other linked issues...

MCjiraLearner August 26, 2019

Hi. I have workflow with couple of statuses. In the workflow I want to move from Team 1 to Team 2, but only when the two Linked Issues (AAA-85 & BCB-72) that were created via a native Automation at Team 1 are Status Done for AAA-85 & BCB-72. Note that BCB-72 is a Linked Issue in another project.


How can this be accomplished with Automation for Jira? Thank you!

IMG_0415.JPG

 

1 answer

0 votes
Deleted user August 26, 2019

Hi,

 

I took a stab at trying to achieve a rule that will transition issues to Team 2 based on certain linked type linkages. You would have to tweak those around your specific requirements, but you'll need to figure out something unique about "AAA-85", and "BCB-72" since you'll want your rule to run against newly created issues.

 

Basic rule setup:

I'm assuming that "is blocked by" indicates those item links, otherwise you can create a custom link type, or consider using a tag or something but you'd have to re-think the rule.

  • Rule details: Make sure this rule isn't project specific since your linked issue BCB is from another, or make it project specific to both BCB and AAA projects
  • Trigger: Scheduled rule (since you need to wait for multiple linked issues to be done)
    • Run when desired but probably not too short to avoid performance issues, say every 30 mins or so
  • Related issue condition: Check if linked issues are present with type "is blocked by" (This ensures it doesn't move an issue if there are no linked issues of the
  • Related issue condition: 
    • Related issues: Linked issues
    • Link types: is blocked by
    • Condition: All match specific JQL
    • Matching JQL
    • status = Done
  • Action: Transition issue to Team 2

 

 

Screen Shot 2019-08-27 at 12.22.11 pm.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events