Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I exclude several stories with a specific label from the backlog of a specific board??

FelixArthur
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 2, 2020

I have two boards in a single project and I would like to segregate the backlogs of these two boards. I have several stories for this new backlog that carry a certain label and they are present in the new board's backlog. These stories are also present on the other backlog as well and I am trying to write a query that retains everything in that backlog but removes those stories that carry this specific label. 

When I write a query to exclude stories that carry this label from the backlog, the query returns no results. 

example: 

project = "Project Name" AND issuetype in (Story,Bug) AND labels != Label Name ORDER BY Rank ASC

1 answer

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
May 2, 2020

Hi @FelixArthur ,

I hope below will work.

project = "Project Name" AND issuetype in (Story,Bug) AND (labels != myLabelName or labels is EMPTY)  ORDER BY Rank ASC

Suggest an answer

Log in or Sign up to answer