- Jira 8 Administration Cookbook(Third Edition)
- Patrick Li
- 119字
- 2021-06-24 13:38:56
How to do it...
Jira uses Velocity templates to render custom fields. These templates are mostly HTML, with some special symbols. You can find all these files in the JIRA_INSTALL/atlassian-jira/WEB-INF/classes/templates/plugins/fields directory, and the edit view templates are in the edit subdirectory:
- Open the edit-select.vm file (located in the previously mentioned directory) in a text editor, and remove the following code snippet:
#if (!$fieldLayoutItem || $fieldLayoutItem.required == false) <option value="-1"> $i18n.getText("common.words.none")
</option> #else #if ( !$configs.default ) <option value=""> $i18n.getText("common.words.none")
</option> #end #end
- Save the file and restart Jira. Make sure you do not change any other lines.
You can remove the None option from other custom field types, such as multi-select, by editing the appropriate file (for example, edit-multiselect.vm).
推薦閱讀
- CompTIA Project+ Certification Guide
- 治理轉(zhuǎn)型視域下我國地方政府績效評估實證研究
- 兒童青少年與家庭社會工作評論
- 人杰地靈?!:論美國等國人才輩出及近代中國數(shù)學落后的原因
- 《中國社會科學》2021年度好文章
- 2016國家西部開發(fā)報告
- 三維虛擬空間學習績效評估
- 科技服務(wù)與價值鏈協(xié)同業(yè)務(wù)科技資源
- 協(xié)商與對話:信息化時代中國治理變革的新路向
- 社會共識的形成
- 社會發(fā)展 共創(chuàng)未來:聯(lián)合國社會發(fā)展世界首腦會議文件選編
- 中國人行動的邏輯
- 華大講堂(2015)
- 大學生社會主義核心價值觀培育研究
- 容忍比自由更重要