Good day community,
Taking in consideration the following tutorial link:
Creating clickable links to the Jira issues
I know is possible to create Jira links to the issues based after the following query in Table transformer:
SELECT
'Status',
FORMATWIKI("["+ COUNT(*) +"|" +
"https://jira.stiltsoft.com/issues/jql=issuekey%20in%20(" +
ARRAY(T1.'Key') + ")" + "]") AS 'COUNT'
FROM T1 GROUP BY T1.'Status'
UNION ALL CORRESPONDING
SELECT "Total" AS 'Status',
FORMATWIKI("["+ COUNT(*) +"|" +
"https://jira.stiltsoft.com/issues/?jql=issuekey%20in%20(" +
ARRAY(T1.'Key') + ")" + "]") AS 'COUNT'
FROM T1
Now - I would like to know if we can write a query after calculations, because for example when I want to make a sum or group some values, the linkage is disappearing, for example here:
Thanks!
Hi @Matias G Labrana ,
As you've mentioned the Table Transformer macro, we suppose that you are talking about our Table Filter, Charts & Spreadsheets for Confluence app.
The described example works with a Jira Issues table where each ticket (KEY-1, KEY-2 and so on) is placed into a separate row. Later these rows are grouped by statuses, and the ranges of grouped keys are taken as arrays to form the ending of the Jira link.
In your example you just sum the already grouped tickets. And it is expected behavior that the result number can't have any link.
So, you may just use an external SELECT
SELECT *
FROM
(SELECT * FROM T*)
and look into this simplified example of creating clickable links.
We mean, that in the internal SELECT you perform the calculations and in the external SELECT you take the required Jira link from your Jira (all the issues in these three statuses) and "put it on the calculated number".
If you need further assistance, please refer to our support portal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.