官术网_书友最值得收藏!

How to do it...

Proceed with the following steps to add JavaScript to custom field description:

  1. Log into Jira with a user that has a Jira administrator's permission.
  2. Navigate to Administration > Issues > Custom Fields.
  3. Click on the Edit link for the custom field.
  4. Enter the following JavaScript snippet into the Description text box, and click on Update. You will need to substitute it in your custom field's ID:
<script> 
 AJS.$('#customfield_10103 option[value="-  1"]').remove(); 
</script>

The following screenshot shows that the Team custom field:

As you can see, the None option is no longer available.

主站蜘蛛池模板: 盘山县| 安福县| 顺义区| 桐城市| 牙克石市| 民乐县| 普陀区| 富宁县| 喀喇沁旗| 大姚县| 湟源县| 巩义市| 梓潼县| 孟连| 洛浦县| 琼海市| 彰化市| 东海县| 鱼台县| 夏河县| 法库县| 丹棱县| 鸡西市| 铁岭市| 忻州市| 青田县| 象山县| 万安县| 平定县| 平邑县| 鄂温| 五家渠市| 理塘县| 大悟县| 平潭县| 漾濞| 赣榆县| 泽普县| 莒南县| 城市| 随州市|