Condition to transition story only if epics in certain state

Hello there,

I am looking to put a condition in my story workflow that it could transition only if the parent Epic is in certain state. Let's say story cannot move from In Progress to In Development until the parent Epics move to a certain status. Can someone give me a pointer for this.

2 answers

1 accepted

0 votes
Accepted answer

Hi Pratiyush

if you have JIRA Workflow Toolbox 

you can use

Condition on linked issue:
At least 1 and no more than 1000 issue links with the following characteristics: 
  - Issue link types: has Epic.
  - Linked issue's issue type: Epic.
  - Linked issue's status: In Progress.
  - Linked issue's resolution: any 
  - Linked issue belongs to same project as current issue. 
About the rest of issue links: 
  - Unselected issue link types are not allowed. 
  - Unselected issue types are not allowed. 
  - Unselected statuses are not allowed.

Thanks Vitaliy.

After getting the evaluation add-on i am able to do it, Thanks.

if you are using Agile Simplified Workflow, you may hide Story having its Epic in restricted status using JQL

{{issuefunction in linkedIssuesOf("filter = 'DTJIRA Epic Closed'", "is Epic Of") AND issuetype = Story}}

where DTJIRA Epic Closed is a filter name

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

1,216 views 7 7
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you