In the Jira macro for confluence the priority column is abbreviated to P. I want to call all issues that have a high priority via a SQL, (yes SQL), for another macro and I am not returning any results with any of the examples below. What is the syntax for querying via SQL by priority status? Is there a document on how to query Jira values using SQL?
COUNT (CASE WHEN Priority= "Critical" then 1 ELSE NULL END) AS 'Critical',
COUNT (CASE WHEN Priority= 1 then 1 ELSE NULL END) AS 'Critical',
COUNT (CASE WHEN P= "Critical" then 1 ELSE NULL END) AS 'Critical',
Note to self, priority in the jira macro in confluence is abbreviated as P and must be written as such in a query. Column name had to go in '', status had to go in "".
This solved the issue:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.