I'm looking for a way to transition an issue from Resolved to Closed, only when a required custom field with radio buttons has a certain value (and maybe some other conditions). I don't see that possible in JIRA.
I've tried the free plugin Workflow Enhancer for JIRA, but it doesn't work. I guess because of the boolean-option vs radio buttons
And I've tried the free trial of the plugin Enhancer Plugin for JIRA but that has conditions that are not even close to what I want...
So... any ideas on other options or plugins?
I'm not familiar with that plugin. I use the JIRA suite utilities. It allows checking the value of a custom field as a condition for the transition. I've never tried to test for radio buttons. I normally use select lists for options. Check it out at https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities
Two possibilities come to mind: either use a condition script or validator script.
There are some built-in scripts and you can also create completely custom scripts. You can add in as many checks & conditions as you want if you need to check for other things as well.
There are probably other ways to accomplish this w/ Script Runner as well. Very easy to learn, flexible, and powerful. You should install the trial version and try it out. You might also be able to install an older (still very useful) version and continue use for free.
Hope it helps.
Hi Andrew, Thank you for your quick answer. I've already installed Scriptrunner a while ago, but never used it besides the built-in scripts. Your second option is actually the one we really want, never thought it could do something like that. Looks exciting but hard to learn, do you have any tips for learning?
I'd start by reading through the documentation here: https://scriptrunner.adaptavist.com/latest/jira/quickstart.html. Then I'd go over https://scriptrunner.adaptavist.com/latest/jira/custom-workflow-functions.html#_validators a few times. These scripts can be done directly in a console in JIRA so they're very easy to get up and running. Copy one of the examples, get that to work, and then move on to creating your own. If you have trouble writing the script then create another post on the forums and people will help out.
If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot