Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JQL: Filter other query

Tags:

jira

jql

I have a saved query from another user, showing all open tickets of our developers.

What I want to do is to filter this query for tickets to me:

ticket in (other query) and assignee = currentUser() 

Is something like this possible in JQL?

like image 657
Martin Avatar asked Sep 04 '12 05:09

Martin


People also ask

Can you do subqueries in JQL?

Subqueries can be used in native JQL just like the rest of JQL Search Extensions keywords. This means they integrate well with advanced search, filters, gadgets and any other Jira components that use standard JQL.

Can you filter a filter in Jira?

Configuring filters in Jira. To access your filters, navigate to Issues > Manage Filters. From there, you can edit your filter's details as well as work on filters that other users have shared with you. Users can also Manage Viewers and Editors and Manage Subscriptions for their filters.

What does !~ Mean in JQL?

The " !~ " operator is used to search for issues where the value of the specified field is not a "fuzzy" match for the specified value. For use with text fields only, i.e.: Summary. Description.


1 Answers

Use AND together with the other JQL query, for example, if the original query is:

project =  Development and status = open 

and now you wish to select the issues that belongs to you:

project =  Development and status = open and assignee = currentUser() 

If the other query is saved you could use the filter name:

filter = "Dev open issues" and assignee = currentUser() 

Or by Filter ID:

filter = "10302" and assignee = currentUser() 
like image 152
Kuf Avatar answered Sep 19 '22 22:09

Kuf