The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira issue macro priority name

Hanief Mumtazul Anwar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 30, 2021

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 30, 2021

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.

TAGS
AUG Leaders

Atlassian Community Events