My client requested a feature/plugin where the admin can disable the issue export functionality for all projects.
Core idea:
The custom app should provide an admin screen which serves to activate / deactivate the restrictions as outlined below. Application administrators and system administrators should be able to switch the restriction on or off - for the entire platform and all projects on it.
Currently I have implemented a workaround:
CSS in the announcement banner and is certainly not safe.
Single issue:
div.aui-toolbar2-secondary {display:none}
Bulk issue:
div.saved-search-operations button.header-views {display:none}
What would be possible solution ?
Are there any api available to control the export functionality?
Write a new plugin?
Use scriptrunner fragments to hide the export button ?
is it possible to disable export for every in jira cloud ?
Hello guys,
It took me quite some time , but I have found a way how to disable and enable the export functionality
After a long research I found under the system plug ins of atlassian: called "Issues View Plugin"
When disabling it the export buttons are not present anymore.
via the universal plugin manager rest api allows you to enable and disable plugins with the key
https://ecosystem.atlassian.net/wiki/spaces/UPM/pages/6094960/UPM+REST+API
instead of writing a plugin , I used scriptrunner web item + dialog ... so basically I've got a button -> on click it calls the get api and stores the values and displays it on the dialog with 2 radio buttons ( enable , disable). Then I've wrote a javascript which performs the put call for enable or disable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry to answer a question with a question, but why does your client want to disable the export feature? The ability to get Jira's data out in some format or another is nothing different than that what the user can do via the web interface, except on a larger faster scale.
The export feature isn't some sort of backdoor that provides access to any data that is somehow normally blocked from the user's access. Why is it considered that exporting the same data as something else, like a CSV etc, is somehow 'bad' and should be stopped?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sunny Ape valid question. Well the client is very certain , that the users are still able to screenshot the page or via other mechanism. Their argument was -> their have got more than 6 mil issues (most of them are very sensible data), they want to prevent that someone is able to get everything by just "one click". Don't get me wrong i agree with you :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, thanks for the reply. Sometimes the measures that companies take to prevent something are the catalyst for nefarious users to develop a work around.
At least with the CSV export feature, that action is logged against the user's ID, so you know they did it. If a user resorts to using a browser side utility to convert the tabular data on the web page into CSV or similar, you have no idea it is happening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Writing a new plugin would be your safest and most painless bet.
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.