Hi,
I put validators for certain fields during some transitions in my JIRA workflow.
Those fields are mandatory only on the resolve screen.
It works well however users are frustrated that there is no red star indicating it is mandatory on those screens.
Is there any way to make the star show up on those screens?
Thanks,
Cynthia
You may also try this: http://www.j-tricks.com/tutorials/silly-javascript-hacks-or-is-it
Thanks for help. I got it working with issue.getPriorityObject().getName().equals("None")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is something wrong your validator It would be more something like issue.priorityId != '4' where 4 would be the id of average.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We are using 6.3.15
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Which 6.3 exactly? We habe 6.3.13 and trying to use a validator priority!=average does not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm using version 6.3. The validators are working well for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you tell me which JIRA version you are using? Because I get errors when trying to use validators. (see https://answers.atlassian.com/questions/11962955/simple-scripted-validator-not-showing-defined-error-message-when-condition-is-not-met)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes you can! But maybe you gonna have a bad time implementing this feature. The only way that a figured out is using Behavior add-on. You can use something like:
getFieldById("customfield_10301").setRequired(true) //will make this CF mandatory with stars
If you need some help to use behavior please check this link: https://jamieechlin.atlassian.net/wiki/display/JBHV/JIRA%20Behaviours%20Plugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just tested this with custom fields and it works great!!! However I don't know how to do it for fix version/s. Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can get the field by name... getFieldByName("Fix Version'/s").setR.....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.