Forums

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

how to skip the transition for a particular project in workflow in jira?

Mohammed Muzammil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 22, 2019

How to skip the transition for a particular project in workflow in jira. but the same complete workflow should used by all other projects..

2 answers

0 votes
Olga Videc
Community Champion
May 22, 2019

Hello @Mohammed Muzammil 

You can't, 

The workflow is a set of statuses and transitions that an issue moves through during its lifecycle.

You can edit the workflow and add a transition between you are and where you wanna be, but this will transition will also be available for other project's with whom the workflow is associated.

OR 

You can create this transition between you are and where you wanna be, and add a condition that is only allowed for this specific project.

Anyway you need to edit your workflow, but please check your current workflow maybe there is some shortcut to the transition you want, most workflows have multiple paths.

BR, Olga

0 votes
Stephan Rothämel May 22, 2019

Hi Mohammed,

it is depends on your Apps,

when you use script runner you can do it via "Jython Condition":


result = False
project = issue.getProjectObject().getKey()
result = project != 'XYZ'

or you can do ist via "Script condition" /" Allows the transition if this query matches a JQL query"

project != XYZ

best regards

Stephan

Suggest an answer

Log in or Sign up to answer