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

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.

主站蜘蛛池模板: 海伦市| 鄂尔多斯市| 日土县| 伊金霍洛旗| 介休市| 栖霞市| 林州市| 余江县| 延吉市| 呈贡县| 修水县| 元氏县| 保山市| 建阳市| 北宁市| 綦江县| 玉树县| 土默特左旗| 黔西县| 临漳县| 上虞市| 株洲县| 白银市| 江源县| 康定县| 榕江县| 吴旗县| 宜阳县| 常德市| 阳信县| 德化县| 永川市| 商城县| 星子县| 鄂尔多斯市| 嘉荫县| 桐乡市| 永济市| 拜泉县| 龙海市| 鄂温|