How to bulk edit created user filters?

Henry Muaja
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 23, 2024

Let's say my team has 90+ Filters created and want to update the Editor permission by adding a user or group. Instead of editing each filter one-by-one, is there a way to bulk edit it?

1 answer

1 accepted

1 vote
Answer accepted
Hans Polder _Devoteam_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 23, 2024

Hi @Henry Muaja ,

Welcome to the community!

You could use a combination of API calls and a (for instance) Python script to achieve this. This is not natively possible in Jira GUI itself.

  1. Using this API, Get all filters, use the 'overrideSharePermissions query parameter to get all filters, even the ones you are not owner of
  2. Using this API, add the desired group or user > keep in mind you can only do this for filters that you are Owner of.

 You might have to use this API to change the filter owner to yourself to be able to change all filters. 

 

Honestly, if this is a one time thing and if you're not accustomed to working with scripts, you're probably better off just spending the 30 minutes and adding the desired groups/users in one go. If this is going to happen more frequently, you should consider looking into scripts. You can and should definitely leverage AI (like ChatGPT, or another) to help you create the scripts (as I've done myself recently), but you still need to run it and need to have applications installed for that as well.

Henry Muaja
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 24, 2024

Hi @Hans Polder _Devoteam_ 

Thank you for welcoming in the community and for the answer.

Great tips - Will definitely look into the script solution.

Suggest an answer

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

Atlassian Community Events