Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

deactivating the export button in "Search Issue"

Juliane Di Lascio
Contributor
October 20, 2013

we want to hide or deactivate the Export-Button in the Search for Issue area.

Does anybody know if this is possible?

2 answers

1 accepted

0 votes
Answer accepted
Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2013

There is a system plugin called Issue opertions under that there are modules for exporting results to excel , rss ,word ,etc . You can disable these modules .

Or you can simple write a javascript which will remove this export button from the page .

Try the below script in the announce ment banner . Please test on a test environment before applying to live

<script type="text/javascript">
AJS.$(function(){
          AJS.$('span').each(function(){
                if(AJS.$(this).html() =='Export'){
				AJS.$(this).remove()
				
                }
			})
	})
</script>

Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2013

do not disable all plugins only the modules which are of type search-request-view

Juliane Di Lascio
Contributor
October 20, 2013

do you mean the plugin: Issue Operations Plugin ?

And do you know which functionality will be hidden if we deactivate this one plugin? (It sounds like more functionalities than only export functionality..)

Juliane Di Lascio
Contributor
October 20, 2013

I am not sure to understand you correctly. I could deactivate the plugin (about the plugin-interface from JIRA). If I have to disabel only types of search-request-views, where can I do this? Do I need for this java script? (For me it would be more easy to make a setting then change the java...)

Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 21, 2013

PAste the above javascript in the announcement banner it will hide the Export button . Dont forget to test on a test environment first .

0 votes
Juliane Di Lascio
Contributor
October 21, 2013

I could deactivate the export-kinds about the plugin Issue Views Plugin. After this the button Export don't content any entry. But is there a way to hide this button about another plugin?

Suggest an answer

Log in or Sign up to answer