I'm trying to JQL query all items in our Backlog (in order to embed into Confluence). I've looked around and don't see anything straight-forward about this. Is there a specific field associated with the backlog that I can query? This query below actually worked, but it seems like there should be a simpler way to pull this.
project = *project name* AND issuetype in (Task, Bug, Story, Improvement, Enhancement) AND (sprint is EMPTY OR Sprint not in (openSprints(), futureSprints())) AND resolution = Unresolved and status != Closed
Also, we manually sort our issues in the Backlog - how can I have the embedded Backlog show in the same order across Jira and Confluence?