I've been searching a way to remove Share with customer button in service desk issues.
According to this post (https://jira.atlassian.com/browse/JSDSERVER-4591) there should be a module in Service Desk add-on named "cr-share-request module" which I can't find.
I won't be able to deploy the service desk add-on with that button enabled because it may cause internal comments to be shared with customers by mistake.
Since the above post didn't worked, lets not take a chance to disable such modules and try. It might lead to other issues.
There wont be any KBs on this. Please refer to these scripts.
Also make sure you provide your Div Class name of View/Edit Screen and other IF conditions if needed, so that it wont run all time or affect other issue screens.
Here’s how it works:
Open UPM (Manage Add-ons), select “All Add-ons” and search for “JIRA Service Desk” add-on (not "Service Desk Internal Base Plugin" which you've used).
Expand it and click “x of y modules enabled” to show every single module of the add-on. Now, search for the module “cr-share-request” and disable it. If you can't find it, you're searching the wrong add-on.
We also need to either disable the "share with customers"-button, or change that the internal comment button is the default button. If someone has a way to do this (like a ready script code), please share it with us. I was able to change the order for the comment tabs with https://community.atlassian.com/t5/Jira-Service-Desk-questions/Default-Service-Desk-Comments-to-Internal/qaq-p/268822.
Hello Atlassian Community! I'm Teresa, the Product Marketing Manager for Jira Service Desk Server at Atlassian. Curious about the latest updates in the Jira Service Desk Server...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs