Forums

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

If my Epic has two issues, set the status of Epic same as the status of the Issue whichever is less

Puneet Mehresh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 27, 2022

I want to automate the Epic status having two issues, I need to set the status of Epic same as the status of the Issue whichever is lesser in SDLC cycle. Example if one issue  Say Issue-A is in Development and Issue B is in Analysis Phase. Then Epic status should be Alaysis Phase - B.

Please let me know how can I automate this.

 

1 answer

0 votes
Mark Segall
Community Champion
July 28, 2022

Hi @Puneet Mehresh and welcome to the community!

This could get a little tricky.  You would want to do this with a series of branch rules:

  • TRIGGER: Issue Transitioned
  • CONDITION: Issue Type != Epic
  • BRANCH 1: Epic (Parent)
    • CONDITION: JQL (Some match specified JQL)
      • "Epic Link" = {{issue}} AND issueType = Story AND status = "Analysis Phase"
    • CONDITION: Status != "Analysis Phase"
    • ACTION: Transition Issue to "Analysis Phase"
  • CONDITION: Related Issues Condition (Epic)
    • Status != "Analysis Phase"
      NOTE - This condition is necessary to ensure the rule stops processing once Analysis Phase has been ruled out as earliest status
  • BRANCH 2: Epic (Parent)
    • CONDITION: JQL (Some match specified JQL)
      • "Epic Link" = {{issue}} AND issueType = Story AND status = "In Development"
    • CONDITION: Status != "In Development"
    • ACTION: Transition Issue to "In Development"
  • CONDITION: Related Issues Condition (Epic)
    • Status != "Analysis Phase"
  • Branch 3: Repeat above as needed

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events