Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Possible to hide "Share with customer" button using ScriptRunner?

Tobias Lindell February 23, 2024

Other ways of doing this is also appreciated of course.

2 answers

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 23, 2024

@Tobias Lindell Welcome to the Atlassian Community

Since you are on server you could use CSS to hide this.  If you can share with me the HTML element I can help you with the CSS.  You can get the HTML by inspecting the element on the page.  You can share a screenshot of it and I can then write the CSS for you.

Tobias Lindell February 27, 2024

Thank you Brandt, appreciate that. Screentshot attached:

div.png

Tobias Lindell February 27, 2024

Please note btw that this button/functionality appears in other places as well;

div2.PNG

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 27, 2024

If you want to hide the button identified in the screenshot below, then you will need to use the following CSS.

.sd-external-submit{display:none;}

This is the CSS you would need to use.  It will hide the button on all service desks throughout your entire instance when you apply it via the announcement banner.

Capturebutton.PNG

Tobias Lindell February 29, 2024

Ok, thanks Brant! Is there anywhere else I can put the CSS except in the announcement banner?

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 29, 2024

@Tobias Lindell that is the only way I know to do it without editing Jira files or using an app.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 23, 2024

Welcome to the Atlassian Community!

I'd like to be able to say you can do this with Scriptrunner's fragments, but I am not sure that the "share" button is a single element on its own, if you use fragments to hide it, then you may hide more than you actually want to.

Tobias Lindell February 27, 2024

Hi Nic, which fragment would you suggest hiding?

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
9.12.2
TAGS
AUG Leaders

Atlassian Community Events