Download page Creating clickable links to the Jira issues.
Creating clickable links to the Jira issues
Use case
You need to count the number of issues by status and make reference to JIRA.
Solution
Switch the page to the edit mode.
Insert the Table Transformer macro and paste the table or the macros outputting tables within the macro body.
Select the macro and click Edit.
In the Presets tab select Custom transformation and click Next.
Enter the following SQL query:
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