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 Champion
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, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events