How to add $ to Jira output via SQL

Megan July 24, 2023

I am using the Jira for confluence macro to display a list of tickets and their associated value in a column we are calling Revenue. I want to use the table transformer to add a dollar sign ($) in front of the values - as Jira does not have this field formatted as currency.

 

Right now I see:

 

Key | Revenue

Ticket 1 | 124.5

Ticket 2 | 1000.0

 

I have tried utilizing Concat or Format for SQL and can't figure out how to append the '$' in front of all 

 

SELECT CONCAT('$', FORMAT('Revenue'));

2 answers

1 accepted

1 vote
Answer accepted
Katerina Rudkovskaya _Stiltsoft_
Atlassian Partner
July 25, 2023

Hi @Megan,

You may use the following SQL query:

Mon 10-1.pngMon 10-2.png


SELECT 'Key',
FORMATWIKI("$" + 'Revenue') AS 'Revenue, $'
FROM T*

Mon 10-3.png
Hope it helps your case.

0 votes
Megan July 27, 2023

 Please ignore

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events