Any JIRA SQL ppl there? I need a simple query to show all stories on the board EXCEPT if they are under a particular epic (let's call it epic QA Automation). When trying 'project = RA AND "Epic Name" != "QA Automation" ORDER BY Rank ASC' , it gives me only epics as a result, not all stories under them.
A colleague helped me and it's now solved! For those interested, this is the query I used in the end: project = RA AND ("Epic Link" != RA-1111 or "Epic Link" is EMPTY) ORDER BY Rank ASC
I suspect you are wanting something like this…
"Epic Link" != “xxxx” and "Epic Link" is not empty
you need to find the epic link associated with the epic of interest here and replace “xxxx”. The is not empty is to ensure you exclude stories that don’t belong to any epic.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, let's not confuse SQL with JQL - they may be structurally similar but they have nothing to do with one another. SQL would be database queries, in general, JQL is only Jira Query Language used only by Jira and that's that - it may eventually be converted to sql somewhere down the code but they're certainly not the same thing. It's a good distinction to make - "sql" is bound to confuse people, not to be the grammar police but wanted to point that out :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.