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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,129 views 17 14
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