Set condition on custom field using select list

Hello,

I'm on Jira 6.0.8.

I created a custom field using a select list with 5 values. If user chooses 1 of the 5 values, "D", then the issue should follow a different workflow. If the user chooses on of the other 4 values (A+, A, B or C), there should be no change to workflow.

I am looking for guidance on how best to configure this requirement.

Thank you,

Lynn

2 answers

1 accepted

Hi Nic,

I figured it out, thanks!

Lynn

0 vote

Simple answer is that you can't do it.

The workflow an issue goes through is determined entirely and only by the issue type of the issue in the project. The other fields are utterly irrelevant. If you want to change workflow, you have to change the issue type. End of story.

You *could* try to wedge this in - find/write a listener that will pick up edits, catch "select list changes from something to D" and try to change the issue type, but that is not an easy task, and I've yet to see changes to issue type automated and working in all but the most simple of cases where the settings for the issues are identical, including using the same workflow!

Your best option is probably to merge the workflow. Create two paths through the workflow, and use conditions that say "you can only see transitions in route 1 if "D" is set" and another to say "you can only see transitions in route 2 if "D" is NOT set"

Hello Nic,

Actually the last paragraph looks very interesting. The idea is if field is set to D, go from Dev Complete directly to Ready to Deploy in the same workflow as A+ through C values that will use.

Can you show me an example of how to set the two paths in the workflow?

Thanks!

Lynn

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 Thursday 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...

89 views 0 5
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