Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Jira issue macro priority name

Hi, is there a possible way to show priority names in table column of Jira issue macro, instead of just showing the icon?

1 answer

Hi @Hanief Mumtazul Anwar ,

There is such workaround with the help of the Table Filter and Charts for Confluence app and its Table Transformer macro.

Wrap your Jira Issues into the Table Transformer macro body and use a custom SQL preset to create a new column with conditional statuses:

Tue 2-1.png

Tue 2-2.png

SELECT *,
CASE
WHEN T1.'P' LIKE "Major"
THEN FORMATWIKI("{status:colour=Red|title=High}")
ELSE FORMATWIKI("{status:colour=Green|title=Low}")
END AS 'Priority New'
FROM T1

Here I used only one priority type cause it's an example but you should list all of them and choose any lozenge colors and names as you need.

Tue 2-3.png

If you don't need the old 'P' column and/or want to change the columns' order, just list the required column names after the SELECT instead of the *: SELECT T1.'Key', T1.'Created', etc.

Hope this helps your case.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,685 views 7 31
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you