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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

253 views 11 10
Join discussion

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