Hide field options

The rule is designed to modify the visibility of options in supported fields.

Use cases

  • Field options based on priority – Limit available field options based on the selected priority.

  • Restrict resolutions – Allow only relevant resolutions based on Issue Type, Status, or other criteria.

  • Control parent issue selection – Limit which issues can be linked as a parent.

  • Dynamic option filtering – Hide options based on existing selections within the same field (e.g., if two checkboxes are selected, others become hidden).

Case 1. Limit priority levels for the Bug issue type.

Supported fields

Fields that support setOptionsVisibility method:

Field type
Global Issue Create
Issue View
Issue Transition

Checkboxes

Single select

Multi select

Radio buttons

Priority

Issue type*

Affects versions

Fix versions

Parent

Resolution

* Use dedicated Hide issue types rule to modify the visibility of the issue type.

The field option is disabled if an unsupported view type is selected in the Context. However, it is possible to select an unsupported field if at least one view type that supports the field is chosen. In that case, the rule will be ignored at runtime.

Known limitation

In Issue view and Issue transition, the number of options that can be set via the setOptionsVisibility method can't be greater than 100 per one update. Therefore, the selection of options in the rule configuration had been limited to 100.

Last updated