Email notification subject with Status and Priority:
cd /opt/atlassian/jira/atlassian-jira/WEB-INF/classes/templates/email/subject
cat issueassigned.vm
$issue.statusObject.name
$issue.priorityObject.name
($issue.key) $issue.summary
Customized Description:
Description field with template as below:
Symptoms :
--------------
Procedures :
--------------
Details:
---------
Steps:
cd
/opt/atlassian/jira/atlassian-jira/WEB-INF/classes/templates/jira/issue/field
cp description-edit.vm org_bk_description-edit.vm
cat description-edit.vm
#customControlHeader ($action $field.id
$i18n.getText($field.nameKey) $fieldLayoutItem.required $displayParameters
$auiparams)
## setup some additional parameters
$!rendererParams.put("class",
"long-field")
$!rendererParams.put("rows", "12")
$!rendererParams.put("wrap",
"virtual")
#macro(
setDescription )
Symptoms :
--------------
Procedures :
--------------
Details:
---------
#end
##
let the renderer display the edit component
#if
($description=="" || !$description)
#set
($description = "#setDescription()")
#end
$rendererDescriptor.getEditVM($!description, $!issue.key,
$!fieldLayoutItem.rendererType, $!field.id, $field.name, $rendererParams,
false)
#customControlFooter ($action $field.id
$fieldLayoutItem.getFieldDescription() $displayParameters $auiparams)
Restart JIRA service
service jira stop; service jira start:
No comments:
Post a Comment