Hi,
We have structure plugin and many teams have created massive structure drawing many projects into it. Whenever anyone try to export data from those structures, the performance of the whole instance gets a hit. So, we were thinking of disabling export on Structure. I think there is no easy way. So, has anyone done so or any other suggestions to disable the export option from the structure view? Thanks.
Just FYI, our Jira version is 7.x and planning the upgrade to 8.x soon. Nevertheless, I am interested to know if there are any possibilities.
Hi @Rekha Priyesh ,
The option to disallow exporting structures is not present in Structure's global configuration page.
However, there are a couple of workarounds for achieving what you need, although neither of them are elegant or specially recommended.
I've tried these methods with Jira 8.6.1 and Structure 6.0.
Workaround 1. Disable the module which provides the export to excel functionality
Go to the Manage Apps page, expand Structure plugin and click on the modules link:
Once you can see all module, look for (Ctrl + F) the excel-export module, hover the mouse over it, and click on the Disable button that will be shown on the right side:
On disabling that module, users clicking the export to excel button will find a dead link.
Workaround 2. Hide the Export button by adding CSS or JavaScript to Jira's Announcement Banner
The second hacky workaround consists of following the steps described on this page for injecting either CSS or JavaScript code into the Announcement Banner order to hide the Export button.
In my case, the button has the id s-tb-export-selector, not sure if that's the same id in your version.
So, I've had to add the following CSS code in order to remove the Export button:
<style type="text/css">
#s-tb-export-selector {
display: none;
}
</style>
You may check the id of the Export button by right clicking on it > Inspect element:
Hope it helps.
Great answer, Ignacio!
Thanks a bunch.
Mario O.G
[ALM Works]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you, @Mario O.G !
I'll never forget how you showed me the power of Structure formulae, master! :)
From that point on, I've studied Expr language and used it a lot!
It's amazing what can be done with this tool and a little bit of imagination.
Best regards!
Ignacio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the kind words, @Ignacio Pulgar! You're awesome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Ignacio, that's a good idea. But, getting our PO accept a solution where the users are lead to a dead link might be hard as he cares a lot for usability. But, it still helps with our performance issues. So, I will try them out. Appreciate your time :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rekha,
Sorry to hear about the trouble!
You can disable the Export to Excel feature by opening:
Administration > Add-ons > Manage add-ons - scroll down to Structure
Click on + xx of xx Modules Enabled, and search (Command/Ctrl+F) for module "servlet:Excel Export." Once you found it, click "Disable."
As for the reported behavior, it would be helpful if we could take a look at some logs to see what happens when one of your team members try to export a large structure to excel.
I see that we have an improvement in our backlog that relates to a similar scenario, but it would be nice if we could investigate the details of your case to see if it matches.
If you wish, you can open a support ticket with us by signing up for an account through our customer portal or by shooting an email to support@almworks.com
All the Best,
Mario O.G
[ALM Works]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mario, I will contact you through you portal for further support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.