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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,815 views 11 18
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
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