Hi all,
I was just wondering if anyone has any groovy or jelly scripts that would allow me to change all of the shared dashboards and filters - and if there's a way to restrict them by default to anything at all other than 'shared with all users'
We've got over 1200 filters and over 300 dashboards which are shared with absolutely everyone, and before fixing properly, I'd quite like to prevent our customers from seeing them all
It makes it nearly impossible for them to find the rational ones we want them to see
Oddly as a system admin I thought I would be able to tweak and change the permissions for existing filters - so I'm hoping someone has a cunningly crafted script ;)
Community moderators have prevented the ability to post new answers.
yes, a database update will do the job
table name is portalpage
please check here other involved tables and more details:
https://answers.atlassian.com/questions/133996/script-to-add-dashboard-to-others-favorites?page=1#134233
it is done via insert statements but should be work with update statement in favouriteassociations as well
the challenge was working out which creators needed to be updated ;) I've changed the owner of some of the customer-facing filters to be a specific user, which makes bulk changes easier (i.e. so I can exclude the ones that I wanted to be shared with all from the update)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
nice to hear that it was working finally
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There is now a new add-on called Prevent Anonymous Access which was developed to combat this problem in a simple and secure way. By installing this add-on the admin can be sure that only logged in users are able to interact with this JIRA. This is much simpler than removing the "share with everyone" option by patching JIRA or regular search for filters/dashboards which are shared with everyone.
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.
Personally I don't have a script for this, although it would not be hard to write one, because I'm not sure there is a real problem here.
One of my instances has at least 10x times as many filters and dashboards as you mention, and I have no idea how many are shared with everyone, but it doesn't really matter. It's not like they're forced on you, unless you're using a very old version of jira.
> It makes it nearly impossible for them to find the rational ones we want them to see
Can't you just send them the link(s)? And tell them to favourite them, or write a script to favourite them on their behalf?
I have patched jira to prevent users subscribing the jira-users group to filter subscriptions, which really is harmful, presumably you could do the same for other types of sharing if you really need to.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamie
The issue is there are certain parties that are upset that customers might be able to discern that we have many many bugs, and many many old bugs ;)
I think if I could default to not sharing with 'all users' that would be a good thing - and I suppose I could use a greasemonkey script to hide that option (as I think the greasemonkey equivalent is avaialble in my version of Jira)
I suppose the easiest thing to do, is to show people how to identify the owner - then they can contact the owner and tell them to fix it themselves ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what is the table name that holds information of custom fields in Jira? we are looking to integrate silk central with JIRA in our organisation. so we would like to know the table name that holds custom fields information in JIRA database. Needs help. Any kind of response would be appreciated.
Thanks!
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.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.