- Jira 8 Administration Cookbook(Third Edition)
- Patrick Li
- 59字
- 2021-06-24 13:38:58
How it works...
In our script, we use jQuery to select the Team custom field, based on its element ID, and remove the option with the value -1 (which is the None option) with the #customfield_10103 option[value="-1"] selector.
We use the Atlassian JavaScript (AJS) namespace (AJS.$), which is the recommended way to use jQuery in Jira.