JIRA7.13描述默认值设置

在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


JIRA7.13描述默认值设置_第1张图片

你可能感兴趣的:(JIRA7.13描述默认值设置)