Hi Team,
I have made priority as required on create screen. Further we need a error message while users are trying to change to particular priority.
We have script runner in place. Is there a way that we can achieve it.
Thanks!!
Hi C S Seshagiri,
I can confirm that to achieve your requirement inside of Jira Cloud you will need to use the workflow validators feature provided by ScriptRunner for Jira Cloud.
Workflow validators use the Jira Expression framework provided by Atlassian, and I can confirm we have some examples here to show their syntax.
In your case, the example on line 68 will help show how a priority must be required and not allow the highest value.
Then, in the Validation failed message box, you can enter the text for the error you wish to display.
Another way to make the priority field required is to use the Behaviours feature, which does not allow an error message to be set to only a description below a field using the setDescription() method.
I hope this information helps.
Regards,
Kristian
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.