Query on Jira filters?

Hi, I have a confusion about the Jira filter designs, need some comments on the same

Let’s Say, There are 1000 projects in JIRA and there is a custom field ‘Team’ which has many values but one of them is 'Spartans' which is only used by Project A and Project B. And there are 2 queries.

JQL 1: Project in (Project A, Project B) AND Team = 'Spartans'

JQL 2: Team = ‘Spartans’

Logically, both the queries will return the same set of issues because for the field ‘Team’, Project A and Project B will only have the ‘Spartans’ as a value. But I would like to know if there will be a difference in terms of performance in both the queries. I am not sure how JIRA search for the issues, But in 2nd JQL will it look up all the projects? and in the same way when I have mentioned the project names will it reduce the scope of search from 1000 projects to 2 projects and reduce the response time And also helps to perform Jira better if we have too many board like these?


1 answer

1 accepted

This widget could not be displayed.

It is always best to reduce the scope as much as possible especially if the custom field Team is shared across other projects that may for some reason in the future start to use the "Spartans" value as this could then give you challenges with your filter results. 

Performance-wise a search restricted to a subset of projects should be quicker than one across all projects but this should always be validated against your particular configuration and version.


I need use two conditions and a return of the firts condition is correctly, but a second condition have a first name iquals and not exactly the fulll name of the current users.

watcher=currentUser() AND reporter != currentUser() ORDER BY updatedDate DESC

In this result grid I have correctly my watcher user (full name), but not correctly my reporter user (just first name equals).

Example for the current user "daniel.carmargo":

wather | Reporter

Daniel.camargo | Daniel.jesus




Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

216 views 3 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you