Info |
---|
Are you using JMWE for Jira Cloud and want to learn how to use this validator? Head to our documentation here. |
Related links:
When you add this validator to a transition and trigger the transition, the add-on checks for a value in the selected fields. If no value is found, then an error message (configured/default) is displayed. You can insert the missing field name in the customized message using %field% place holder. For example, if your validator is configured to check Fix Version/s and Due date fields with this customized error message:
Code Block |
---|
%field% is required. Please enter it |
then the message is displayed below both the fields on the transition screen (at the top if they are not on the transition screen).
Also, you can identify the field that is required with a red asterisk suffixed to the title of the field.
Validator Scope
To execute this validator based on the result of a groovy expression see Conditional execution using Groovy expression
Show asterisk (*) if the condition returns true
upon showing the screen
By default, the red asterisk is not shown on the screen against the selected fields when using Conditional Validation, because the condition's value might depend on what the user will later enter on the transition screen. Check this option to show the asterisk if the condition returns true
upon entering the transition or issue creation screen. This is useful when the condition is not dependent on the other fields shown on the screen (e.g. it only depends on the issue type, the current user's project role, etc.).
Info |
---|
On the Create Issue transition (Create Issue screen), the |