Forums

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

How to find all JIRA filters that include JQL function

Mélanie Liguet
Contributor
June 12, 2023

Hi,

we synchronized jira's group with our active directory. So, I have filters that reference old groups that no longer work.

these filters no longer work, I would like to be able to identify them in order to modify them.
is it possible ? I don't have scriptrunner

 

regards,

 

2 answers

1 accepted

3 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2023

Hi @Mélanie Liguet 

That is not possible directly from the Jira interface.  You could call the REST API to get all filters, including the JQL, and then search for your text in the JSON results to find the saved filters: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters/#api-rest-api-3-filter-search-get

For example:

yourJiraUrl/rest/api/3/filter/search?expand=jql&maxResults=100

Please note this will pull back 50 filters at a time, and you can increase that to 100 by changing the maxResults parameter.  If you have many filters this could be quite tedious unless you use some automation for paging.  I suppose a single automation for Jira rule might be able to do this, although I have not tried that.

Kind regards,
Bill

0 votes
Ismael Jimoh
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2023

Hi @Mélanie Liguet 

I will suggest going through all filters in administrator view and checking from there.

There is no way for searching which filters use a specific JQL command in the application.

 

Suggest an answer

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

Atlassian Community Events