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

https://bitbucket.org/fcarmario/jira-workflow-toolbox/wiki/condition-validator/Condition%20and%20Validation%20on%20Linked%20Issues

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 Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

56 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot