Priority names in Jira’s Issue Navigator

While priority icons can be easily understood in most Jira instances, it is often helpful to also show the name. The default icons can be easily misunderstood by colorblind users, and new users can easily misinterpret the icons alone. The workaround is to add a single line of code to the priority column velocity template.

Warning: Direct modification of velocity template files is not supported by Atlassian. You may need to revert this change if you face a support issue which is related to it. However, we’ve never seen this cause an issue.

Backup and then edit this file:

<INSATLL-DIR>/atlassian-jira/WEB-INF/classes/templates/jira/issue/field/priority-columnview.vm

The patch is:

6c6
< <img src="$iconurl.get()" height="16" width="16" border="0" align="absmiddle" alt="$textutils.htmlEncode($priority.get().getNameTranslation(), false)" title="$textutils.htmlEncode($priority.get().getNameTranslation(), false) - $textutils.htmlEncode($!priority.get().getDescTranslation(), false)">
---
> <img src="$iconurl.get()" height="16" width="16" border="0" align="absmiddle" alt="$textutils.htmlEncode($priority.get().getNameTranslation(), false)" title="$textutils.htmlEncode($priority.get().getNameTranslation(), false) - $textutils.htmlEncode($!priority.get().getDescTranslation(), false)"> $textutils.htmlEncode($!priority.get().nameTranslation, false)

This means that you need to go to line 6 and append:

$textutils.htmlEncode($!priority.get().nameTranslation, false)

After Jira is restarted, you will now have the priority name next to the icon:


Sign-up for more tips and tricks

(1) Comments
  1. That’s very useful, thank you. I guess Atlassian wanted to save some space. But they failed to follow their own design guidelines when they did so – color is for enhancement only, not as the main way of communicating info.

Leave a Reply