Forums

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

Jira Automation for editing private filters

Sanam Malleswari
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.
October 10, 2024

Hi,
I just want to edit the private filters in Jira cloud. For example there were 100 filters and in each filter having different JQL queries like below

 

project = MNOP  AND status = closed 

I want to check 100 filters and where status is closed and it should be update to cancelled.

These all filters are private filters, so filter owner should change to Jira admin name and Jira admin need to edit the filter and again previous owner should add.

Anyone please help on this? Any suggestions to achieve this

2 answers

2 accepted

1 vote
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.
October 15, 2024

Hi @Sanam Malleswari 

That is possible to do with an automation rule, in chunks of up to 100 filters at a time...AND I would expect this to be problematic.  Perhaps just identify the filters and produce a list of users / owners so they can work on them.

 

The approach is to use the Send Web Request action to call the REST API endpoint for searching filters, using the new and experimental override parameter of overrideSharePermissions to see the private ones.  Only a user with Jira Site Admin or higher permissions can use that parameter and get results.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-filters/#api-rest-api-3-filter-search-get

Kind regards,
Bill

0 votes
Answer accepted
Marc - Devoteam
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.
October 10, 2024

Hi @Sanam Malleswari 

This can't be automated.

You can look at a 3rd party app like; Optimizer for Jira 

They can find all your filters, including Private.

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