We are looking to restrict Public access to our JIRA tool, and have found: Prevent or remove public access | Atlassian Support that tells us how to do it.
Before we do it, how can I identify all those Filters that are currently set to PUBLIC? I can scroll through the Filters list page by page, but is there a JQL or API Method that I can run to return all the filters whose access is Public?
Hi @David Patrick
You can list those filters using the API:
Get details via:
- Open link from browser:
customer-domain-atlassian-net/rest/api/3/filter/search?expand=sharePermissions
- Find 'global' keyword
Those that have global are being shared with the public.
Hopefully this answers your question,
Regards,
David
thanks @David Freitez - that is exactly what I am looking for! :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just be careful. I tried this and it did not identify all the filters that were public.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can pull this from the REST API without any app. Call:
https://your-domain.atlassian.net/rest/api/3/filter/search?expand=sharePermissions
Page through the results and look at each filter's sharePermissions. A type of global means it is shared with any logged-in user (org-wide), and loggedin / anonymous-style permissions are the ones to watch. Anything with those is effectively exposed beyond a single project. You can do the same for dashboards via /rest/api/3/dashboard/search?expand=sharePermissions.
The tedious part is that the API paginates, mixes owners and permission types, and gives you raw JSON, so turning it into a clean "here is everything that is over-shared" list takes some scripting, and you have to re-run it periodically.
I built a small read-only app that does exactly this, Filter Exposure Guard. It lists every filter and dashboard with its exposure level (public, org-wide, shared, private), owner, and risk signals in one view, so you can spot and fix the over-shared ones. Sharing in case a ready-made tool is easier than the script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.