How to show priority names in Jira issues list macro?

Hi,

what key must i enter in the Jira Issues List macro in confluence to show up the priority name instead of the icon?

I tried priority.name but this was a silly guess, i guess.

3 answers

Hello Martin,

You might be able to accomplish that by customizing the JIRA Issues Macro look for the .vm files, and uploading the resulting .jar to Confluence plugins folder - you can use this KB as aid.

Editing Confluence JAR Files

The vm file that needs to be updated is templates\extra\jira\staticJiraIssues.vm in "confluence-jira-plugin-5.6.12.jar".  

The lines I deleted:

#elseif( $col.equals('priority') && $item.getChild('priority').getValue())
<img src="$!xmlXformer.findIconUrl($item.getChild($col.key))" alt="$generalUtil.htmlEncode($!item.getChild($col.key).getValue())" class="icon" />
  1. Shutdown Confluence
  2. Create WEB-INF\classes\templates\extra\jira 
  3. Copy updated staticJiraIssues.vm file to WEB-INF\classes\templates\extra\jira 
  4. Start Confluence

Hi all,

sth new here? I am trying to display an two dimensional Jira Filter within Confluence, but Priorities are not shown coreectly, instead it is all irrelevant ..... although Priority is filled correctly within Jira. image.png

 

PS I need an ootb solution as I am working i a big company .... Admin Ways are very long .....

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Confluence

Three common content challenges + how to manage them

An efficient enterprise content management system, or ECM, is a must-have for companies that create work online (cough   cough, all companies). If content calendars, marketing plans, and bu...

86 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you