Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,348
Community Members
 
Community Events
176
Community Groups

JQL Query to filter out backlog in a project not using sprint functionality

I want to return issues from the Board. What is the JQL Query to filter out Backlog in a project not using Sprint functionality?  Since there no sprints for any issues, "sprint is not EMPTY" does not return any results

Thanks!

 

 

2 answers

I'm a Jira user, not a Jira expert, so I may be wrong...

My understanding of Backlog is, this is all tickets with no Sprint assigned.  If you're not using sprints, then all tickets are in the Backlog.  Similarly, "Board" is the Sprint Board, which is the list of tickets assigned to the current sprint.

Please define what you mean by "Board" vs "Backlog".  For you, what fields on a ticket control whether the ticket is a Board or a Backlog ticket?

Hi @Olga Tchuvatkina ,

In fact, the board is based on a query. As I understand, you want this query, so go to the Configuration>General and Saved Filter or Filter Query.

 

Hope it helps !

HI Thomas, thank you for getting back to me

I want to create a filter that returns unassigned tasks from all projects. The query below picks up tasks from Board and Backlog, Is it possible to filter Backlog out?

 issuetype = Task AND assignee in (EMPTY) ORDER BY updated DESC

It looks like I can do it by enabling sprints in my next-gen projects and filtering tasks with empty sprints, but is there another way that does not involve enabling new feature? Hopefully there is some JQL flag that distinguishes board from backlog

I looked through automatically saved queries but did not see any queries for next-gen projects boards. Board queries generated for classic projects were filtering only by project name so they are not really helpful for filtering out backlog. Am I looking in the wrong place?

Thanks!

Olga

Hi Olga,

 

You may use the sprint field like :

 

sprint not in openSprints () 

It should give you all issues that are not present in your active sprints, so present in the Backlog, don't you think?

 

Hope it helps !

Hi @Thomas Magny-Garcia 

Sprints are not enabled in these projects so neither Sprint is not EMPTY nor sprint not in openSprints () will work, unfortunately.  Yet there is something other than sprints that distinguishes board from backlog, since Backlog can be enabled without enabling Sprints

Thanks!

JiraNextGen.png

Like Justin Kruger likes this

@Olga Tchuvatkina I have the same question and am looking everywhere for an answer.

Any updates on this? I need this too. I have a backlog and a board, but no sprints. So when I use a sprint-related filter in my JQL then I get zero results back...

Suggest an answer

Log in or Sign up to answer