This is the documentation of JSU for Jira Server/Data Center. If you are using JSU on Jira Cloud, see ourĀ JSU Cloud documentation.
The Fields Required validator checks whether values for specified fields are set for a given transition. Define which fields should be mandatory for the transition. JSU’s default behavior is to apply the context settings; this means that if a field is required by this check, but has no valid context for the current issue, it won't be checked. You can choose to ignore the context, in that case, a field will be required even if its context is not configured for the current issue. A workflow is configured so that the Resolve transition has the Fields Required check where the Fix Version field is mandatory. If a user attempts to resolve an issue on this workflow, where the Fix Version field value is not set, the check will fail and no action will be performed. You can define a custom error message for JSU validators to provide a clear explanation of the situation to your users. If you leave this field empty, a default error message from Jira will be displayed on validation errors. JSU supports many different field types such as system fields and custom fields. However you should be aware, that not all field types are supported, and not in all combinations. We aim to cover the most important field types and are continuously adding and improving how different field types are supported. Some custom fields of other third-party apps might never be supported. You should always test anything you do with issue fields with JSU. You can try it with a free 30-day evaluation license.Description
Configuration
Example
Optional error message
Supported field types
You can configure JSU’s preconditions in the following ways:
Negate the precondition result
Combine the result with the result of previous preconditions using the following options:
Discard the result of the previous precondition: Results of the previous preconditions are not taken into account
AND: All of the preconditions have to be true to execute the post function
OR: Only one of the preconditions has to be true to execute the post function
Learn more in Workflow preconditions.