The Hide field action hides a field when the rule conditions are met. Use it to remove fields that aren’t relevant to a specific case and keep the form short and clear.
Adding the conditions to the rules isn’t necessary.
By default, the value of a hidden field is cleared. To keep the value and save it to the work item, turn on the Keep the field value toggle in the action settings.
| Screen | Keep the field value | Value of the hidden field |
|---|---|---|
| Create work item, transition, Customer Portal | Off (default) | Cleared |
| Create work item, transition, Customer Portal | On | Kept and saved to the work item |
| Work item view | Any | Always kept |
To change the toggle for an existing action, click the edit icon on the Hide field action.
The same toggle is available for the Show field action.
In a single rule, you can’t combine Hide field with:
Once you add one of these actions to a rule, the conflicting actions are grayed out. You can still add them to a separate rule for the same field.
Rules are evaluated from top to bottom, and the first rule whose conditions are met is applied. Actions from different rules of the same field are never applied at the same time.
This option doesn’t override Jira native required field settings.
If you set a field in native Jira as required and you hide this field, a user will be unable to complete the form because a required field will be hidden from them.