Hi,
I would like to make a custom field called "Number" required whenever a specific resolution (e.g.: Done) is selected.
For instance, I am resolving an issue with the resolution "Done" and the user has not entered any value in the custom field "Number" of the Resolve Issue Screen then an error message should pop up saying something like: "Number field is required when resolving with resolution Done".
FYI, I can also write Groovy or SIL Simplfied code if necessary for this task.
Thank you!
Hi @Hernan Mathias Farina Forster
A simple validator in the transition will do here:
If you have JMWE, the better. With it, you can set the validator in the status with jira expression.
regards
Hello @Hernan Mathias Farina Forster ,
I'm Cristiano, with the Appfire team.
If you would be interested in a more dynamic and with more functions for validators, our extension Jira Misc Workflows Extension or just JMWE, will help you greatly,
Besides the usual "field must be filled" option, you're also able to set up as to reject certain results, or compare to another field to check if valid.
Here is an image on how you could set it up using our app
If you have any doubt on how to set this up, feel free to contact our support team. we'll happily help you with that.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, @Hernan Mathias Farina Forster !
In addition to what Aaron said, here are the steps to add a validator to a transition:
1. Edit your workflow
2. Choose the transition you would like to add your validator
3. Add a validator
4. Select the "Field Required Validator and choose the field you would to validate
5. Save your draft and that's it :)
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.