How to hide the Export buttons in Jira server

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

Problem

Jira users are able to export either a search result or an individual issue because of the Export button. To restrict the users from exporting data from this feature in Jira, it is possible to hide this button and prevent it from appearing on the page.


Environment

This workaround has been tested in Jira 7.1.9 and Jira 7.5.0, however there are differences between these versions regarding the workaround.

Workaround

The button can be hidden with a custom CSS script in the announcement banner.

  • To hide the export button on Issue Navigator page

    <style type="text/css">
    div.saved-search-operations ul.operations li:nth-child(2)
    {display:none;}
    </style>
  • To hide the export button on Issue View page

    <style type="text/css">
    div.toolbar-split-right ul.pluggable-ops li:nth-child(2)
    {display:none;}
    </style>

Put both one above the other if you want the button of both pages removed. 

IMPORTANT: If the workaround above didn't work for the button on Issue Navigator page on your Jira version, especially if it's around Jira 7.5, try the following CSS in the announcement banner:

  • To hide the export button on Issue Navigator page on higher Jira versions

    <style type="text/css">
    div.saved-search-operations button.header-views
    {display:none;}
    </style>

Note:

This approach is only able to hide these button from the page.  It does not prevent users from using the REST API to potentially obtain this same data in another method or format.


Last modified on Oct 31, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.