I need to write a query to get Epics and sort them with stories underneath - E1 (S1,2,3)E2(S1,2)) and so on -hopefully sort by Priority
This didn't work
project = xxxx And issuetype in (Epic,Story) Order by rank Asc,priority DESC
Hi @Saurabh -- Welcome to the Atlassian Community!
This is not as easy as it should be with Jira. JQL is not actually SQL...
There are marketplace add-ons which could help do this.
A work-around without an add-on would be to add a custom-field which is populated from either the Key for an epic or the Epic Link for a story. Then, sort with ORDER BY your-custom-field ASC, IssueType DESC, Key ASC.
Best regards,
Bill
Thanks for your response Bill-much appreciated !! I'll try this and get back.
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.