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',
