# 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).

<figure><img src="https://1561395444-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOfQTst0rZQxXAZF84TB5%2Fuploads%2FMkKU5xQxxrv1hd8cjTE4%2FHide_priorities_options.png?alt=media&#x26;token=2c63850a-5fa7-4859-8cfd-eef31e274cdf" alt=""><figcaption><p>Case 1. Limit priority levels for the Bug issue type.</p></figcaption></figure>

## Supported fields <a href="#known-limitation" id="known-limitation"></a>

Fields that support [setOptionsVisibility](https://developer.atlassian.com/platform/forge/apis-reference/jira-api-bridge/uiModifications/#supported-fields-per-view) method:

<table><thead><tr><th>Field type</th><th data-type="checkbox">Global Issue Create</th><th data-type="checkbox">Issue View</th><th data-type="checkbox">Issue Transition</th></tr></thead><tbody><tr><td>Checkboxes</td><td>true</td><td>true</td><td>true</td></tr><tr><td>Single select</td><td>true</td><td>true</td><td>true</td></tr><tr><td>Multi select</td><td>true</td><td>true</td><td>true</td></tr><tr><td>Radio buttons</td><td>true</td><td>true</td><td>true</td></tr><tr><td>Priority</td><td>true</td><td>true</td><td>true</td></tr><tr><td>Issue type*</td><td>true</td><td>false</td><td>true</td></tr><tr><td>Affects versions</td><td>false</td><td>false</td><td>true</td></tr><tr><td>Fix versions</td><td>false</td><td>false</td><td>true</td></tr><tr><td>Parent</td><td>false</td><td>false</td><td>true</td></tr><tr><td>Resolution</td><td>false</td><td>false</td><td>true</td></tr></tbody></table>

\* Use dedicated [hide-issue-types](https://docs.forgappify.com/field-rules/rules/hide-issue-types "mention") rule to modify the visibility of the issue type.

{% hint style="info" %}
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.
{% endhint %}

## Known limitation <a href="#known-limitation" id="known-limitation"></a>

In **Issue view** and **Issue transition**, the number of **options** that can be set via the [`setOptionsVisibility`](https://developer.atlassian.com/platform/forge/apis-reference/jira-api-bridge/uiModifications/#known-limitation) method can't be greater than **100** per one update. Therefore, the selection of options in the rule configuration had been limited to 100.
