Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add a validation for issue type Epic, changing status to resolved.

Prabhat September 7, 2018

Hi Guys,

I'm using Jira software(cloud)  for multiple projects.

I've two different workflows for the issue types such as W1 & W2.

W1 - Used for issue types Bug, Task, Enhancement.

Open >> InProgress >> Resolved

W2 - Used for issue type Epic & Stories.

Open >> InProgress >> Resolved

 

There are multiple issues(Bug, Task, Enhancement) associated with a Particular Epic. For changing the status of an Epic to Resolved, I want to add a validation to the transition such that - User should be able to resolve the issue only if all linked issues(Bug, Task, Enhancement) are in the resolved state.

The user should be allowed to change the state only if the linked issues are in a resolved state.

 

1 answer

1 vote
Tarun Sapra
Community Champion
September 7, 2018

Hello @Prabhat

I don't think it's currently supported out of the box in cloud jira and cloud versions of SR plugin don't provide these features yet

https://community.atlassian.com/t5/Jira-questions/Scriptrunner-for-jira-cloud-validation-check/qaq-p/659520

Though implementing it for server version is pretty easy.

May be someone else on this portal might be able to give you more insights into this

Prabhat September 7, 2018

Thanks, @Tarun Sapra

Is there any possible workaround available using "Jira Misc Workflow Extensions".

https://marketplace.atlassian.com/apps/292/jira-misc-workflow-extensions?hosting=cloud&tab=overview.

Can you help me understanding the validation related to "Transition linked issues" here

Tarun Sapra
Community Champion
September 7, 2018

Hello @Prabhat

Please see here

https://innovalog.atlassian.net/wiki/spaces/JMWEC/pages/94863378/Workflow+Extensions+for+JIRA+Cloud

Only post-functions are available whereas the conditions and validators are already naively available. 

Suggest an answer

Log in or Sign up to answer