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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

78 views 0 5
Read article

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