Forums

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

Automating Linked Issues with "has to be done after"

Rthomas
Contributor
July 26, 2022

Hi there! I am having some trouble getting this automation set up, and searching ""has to be done after" link automation with multiple links in JIRA" isn't very SEO friendly so here is my question.

Our current workflow is: Issue A is tagged as "has to be done after" Issue B and is moved to "Blocked". Issue A will Reopen once Issue B is Resolved. My problem arises when Issue A "has to be done after" Issue B, Issue C, and Issue D.

 

Is there a way to have automation verify that all issues that "have to be done before" are completed before transitioning?

 

I hope that makes sense?

1 answer

1 accepted

0 votes
Answer accepted
Ste Wright
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 13, 2023

Hi @Rthomas 

Just in case you're still looking for a solution, yes this is possible!

The rule will look something like this...

  • Trigger: Issue Transitioned
    • To Status = Done
  • Condition: Related Issues Condition
    • Related Issues = Linked Issues
    • Link Types = has to be done before
    • Condition = Are present
  • Branch: Related Issues
    • Type = Linked Issues
    • Linked Type = has to be done before
      • Branch-Condition: Related Issues Condition
        • Related Issues = Linked Issues
        • Link Types = has to be done after
        • Condition = All match specified JQL
          • JQL = status = Done
      • Branch-Action: Transition Issue
        • Destination Status = Open

---

A few notes on this rule:

  • The Branch allows you to reference Issue A, even though Issue B/C/D will trigger the rule
  • Within the Branch, the Condition then checks all linked issues of a specific type are complete. If not, the Action will not trigger

---

Let us know if this works for you!

Ste

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events