Jira 8 Administration Cookbook(Third Edition)
上QQ阅读APP看书,第一时间看更新

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.