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
Answer 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
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

400 views 6 0
Join discussion

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