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

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.

主站蜘蛛池模板: 吴忠市| 砚山县| 江都市| 黔西| 嘉祥县| 临夏市| 柘荣县| 郁南县| 教育| 苍梧县| 丰顺县| 仙游县| 尚志市| 遵化市| 鹿泉市| 托里县| 佛山市| 洪湖市| 博白县| 黑龙江省| 林西县| 监利县| 安岳县| 阿拉善左旗| 左贡县| 林州市| 洱源县| 台江县| 玉溪市| 禹城市| 鸡西市| 蕉岭县| 通山县| 韶山市| 合山市| 安溪县| 宣城市| 梨树县| 嵊州市| 南投市| 鲁甸县|