I have a custome filed "Pre Risk Identified" of Select List type. In the list I have two choices specified:
In one of the screens I would like to validate that this field has been filled in with either Yes or No values (there i still None available in the slect list).
I would need a validator condition which would check if this field is not empty and with specific value assigned. I would not like to use external plugins for that purpose if possible.
Thank you very much for your support. Finally it was resolved by:
It works this way that it focuses user to choose one of the options and triggers the messgae when 'None' is selected.
Again, thank you for your answers.
In one of the screens I would like to validate that this field has been filled in with either Yes or No values (there i still None available in the select list).
The best way to achieve this to make the custom field required, as this will guaranteed that the custom field will have a value before submitting it.
For more info you can refer to the following doco:
Thank you for the hint. The additional problem in that case is that the field is not required all the time but only one some transitions between states. I knew I would miss something in the description, sorry ;). That unfortunately eliminates making this filed required.
I know that there are some plugins which can make field required on a transition but we would like to use pure Confluence functionality for this - it makes Confluence maintenance a bit easier.
I would really like to use validators for this purpose as they seem the fit for purpose here. Any hint how to do that?
Once again thank you for your support.
I am afraid that there no default way for JIRA to set validator of the field.
I understand that you do not want to use external plugins, perhaps you can create your own custom field type.
You might want to refer to this documentation on How to create a new Custom Field Type.
However, if you wondering a workaround on to use plugins.
- JIRA Suites Utilities using the value field conditions
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