Is there a way to perform mass change owner operations on Shared filters ?


I have few hundreds of shared filters in JIRA that are open to anyone.  Which basically exposes the filters to even not logged in users. However, the data is not visible, unless they login.


Now we are trying to mask all these filters from non-logged in users.

Is there a quick way to do this, without changing the same one by one ?


2 answers


This functionality is available in ScriptRunner for JIRA plugin. Script runner has built in script which allows you to change ownership of filter in bulk.

This functionality allows you ro transfer ownership from one owner to another so you need to perform the activity by searching filters on the basis of current owner.

In my case.. I was upgrading and moving JIRA to new server. So we dumped the data and edited the XML file ( in the dumped .zip file) and imported the data.


While doing that we changed the Public to a project Specific access. this resolved the issue.

Again, not a great solution, as we are hard coding project and ownership to a specific account.


One can write further search and replace based on patterns. You should know little more data and its values.

this worked fine. Specifically people who no longer in the company / disabled accounts owning these Queries.

Now I have suppressed all the externally visible queries to project specific access.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

134 views 0 3
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