在jira安装目录下找到: /opt/atlassian/jira/atlassian-jira/WEB-INF/classes/templates/jira/issue/field/description-edit.vm
修改,在这一行:$!rendererParams.put("wrap", "virtual") 下面加如下代码:
#if($description == '')
#set ($description = 'Put stuff here:')
#end
下面是显示多行的代码:
#if($description == '')
#set ($description = "[Prerequisite]\
1.\
[Step]\
1.\
2.\
3.\
[Actual Result]\
1.\
2.\
3.\
[Expected Result]\
1.\
2.\
3.")
#set ($description = $description.replace('\',' '))
#end
网友评论