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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 2 hours ago in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

13 views 0 3
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