Forums

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

Issue Filters for Board - Combining Two Advanced Queries

Tori Cook
Contributor
January 14, 2021

Hi there,

 

We're using the advanced search query for our board. I want to combine two advanced queries together but I'm not sure of the appropriate syntax to do so.

 

Here's our first query:

project in (x1, x2, x3) AND issuetype in (Bug, Story, Feature, "New Feature", Enhancement) AND priority != "Not Prioritized" ORDER BY Rank ASC

 

And a sample second query:

project in (x4) AND issuetype in (Bug, Story, Feature, "New Feature", Enhancement) AND status= "Selected for Development"

 

In the second example, I only want to bring in issues with a specific status from one board into another.

 

What is the best way I can combine these into one query?

 

1 answer

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
January 14, 2021

try this....

issuetype in (Bug, Story, Feature, "New Feature", Enhancement) and (project in (x1, x2, x3) AND priority != "Not Prioritized") OR (project in (x4) AND status= "Selected for Development")

Tori Cook
Contributor
January 14, 2021

Got it, thank you! That worked! 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events