automatically change epic status when sprint started

Umar Maroof
Contributor
January 26, 2023

 

Hi 

I want to change epic status automatically when one of the issue under epic is in the sprint and sprint started 

like if we have 4 issues under epic if one of the issue is in the sprint and when sprint starts the epic status change automatically below is the rule I am trying but its not working 

epic status change.png

 

2 answers

1 vote
Thomas Doconski November 13, 2024

Hi @Umar Maroof, I found a similar solution to what @Mark Segall suggested.

  • TRIGGER: Sprint Started
  • ACTION: Lookup Issues
    • Search for issues using JQL 
    • sprint in {{sprint.id}}
  • BRANCH (related issues). For: JQL 
    • key in ( {lookupIssues.Epic Link.distinct}} )
    • CONDITION: Status is one of 'To Do'
    • ACTION: Transition Issue
      • to In Progress

Imagem do WhatsApp de 2024-11-13 à(s) 15.58.04_159372d1.jpg

*Obs: On my screenshot, the status PARA FAZER and EM PROGRESSO are in portuguese and mean TO DO and IN PROGRESS.

Thomas Doconski November 13, 2024

@Andrea Pasqualini probably a good solution for you too.

Like Andrea Pasqualini likes this
1 vote
Mark Segall
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 26, 2023

Hi @Umar Maroof - You could try this:

  • TRIGGER: Sprint Started
  • ACTION: Lookup Issues
    • sprint in {{sprint}}
  • BRANCH (Advanced)
    • {{lookupIssues.Epic Link.distinct}}
    • varEpics
    • CONDITION (Advanced)
      • {{varEpics.status.name}}
      • Not Equals
      • In Progress
    • ACTION: Transition Issue
      • to In Progress

This will look at all issues in the current sprint, branch on the individual Epic Links and if not already in progress, will transition to In Progress.

Umar Maroof
Contributor
January 26, 2023

@Mark Segall thanks for your response 

I didnt understand Branch (advance) part of the rule.

and this rule will work if we one of the child issue for a epic is in sprint and sprint starts?

Mark Segall
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 27, 2023

I didnt understand Branch (advance) part of the rule.

When selecting the Branch component, there's an option for Advanced Branching.  That's what I'm calling out there.

and this rule will work if we one of the child issue for a epic is in sprint and sprint starts?

Yes.  When the sprint starts, it takes a look at all issues in that sprint. Then the branch identifies the unique set of epics impacted by that sprint and iterates through them to transition to In Progress if they aren't already in that status.

Umar Maroof
Contributor
January 27, 2023

sprint started.png

Umar Maroof
Contributor
January 27, 2023

@Mark Segall I try different Regular expressions in sprint filter name, but it keeps giving me error

Mark Segall
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 30, 2023

You do not need the JQL in that More Options section so I'd clear that out.

Andrea Pasqualini
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 4, 2024

@Mark Segall

I am following your suggestion, but the "Action:Transition issue to" return this error:

Incompatible components (1)

Some of your selected components may not be compatible with others.

I am using jira cloud

jira.JPG

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events