Button 'Share with customer' change colour

Mike Donnarumma
Contributor
October 7, 2020

Hi,

is it possible to change the color of the 'share with customer' and 'comment internally'  buttons in Jira Service Desk?

I want to highlight the 'comment internally' button instead of the 'share with customer' button.

Thanks in advance,

Mike

4 answers

3 accepted

1 vote
Answer accepted
Alessandro Lombardo December 2, 2020

To change color of your "share with customer button" insert this script in the announcement banner:

<style type="text/css">
button.aui-button.aui-button-primary.sd-external-submit {

background-color: #d04437
</style>

This is for red, but you can use any color

Mike Donnarumma
Contributor
December 2, 2020

Tnx Alessandro, 

what do you mean with 'announcement banner'? Where I can find it?

Alessandro Lombardo December 2, 2020

It should be in the jira administration-->System-->user interface

or tap fast on your keyboard GG to search "Announcement banner"

Alessandro Lombardo December 2, 2020

let me know if it works ( I've tested it ) and eventually you may accept my answer

Mike Donnarumma
Contributor
December 2, 2020

It works!!!!!

Is it possibile to change ALSO the message? And or set background color to 'comment internally' button?

Alessandro Lombardo December 2, 2020

I don't know how to change the message, but we can change background color with this following script in the announcement banner:

<style type="text/css">
button.aui-button.aui-button-primary.sd-external-submit{

background-color:#fff;
color: #0052cc

}

#addcomment .sd-comment-container .sd-rte-bar .sd-internal-submit, .sd-comment-container .sd-rte-bar .sd-internal-submit{
background-color: #0052cc;
color: #ffff
}


</style>
Tomáš Vrabec
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.
January 6, 2023

Just info for others - this annoucmenent banner injection not working in 8.22 and above at all. 

Well, its working, but it will break the the top menu. 

0 votes
Answer accepted
Najjar _Innovura_
Atlassian Partner
October 7, 2020

Hi @Mike Donnarumma 

I am not sure if this could help, but one feature on Tinker for JSD could support you in switching the default primary comment action to Internal Comment, globally or agent-wise

It would look like this for users

https://innovura.atlassian.net/wiki/spaces/TFJ/pages/250478597/SD+Agent+Settings

Here's a link to the app listing on marketplace

https://marketplace.atlassian.com/apps/1222917/tinker-for-jsd?hosting=server&tab=overview

Mike Donnarumma
Contributor
October 8, 2020

Tnx Najjar,

I've appreciated it.

0 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2020

This is not configurable.

Mike Donnarumma
Contributor
October 7, 2020

Thanks, Jack 

so, that's it? No workaround? Any other ideas about that?

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 7, 2020

You might check addons. While I have no experience with these I found this one you might have a look at - color-workflow-actions 

the other option is to crack open the code and make changes. 

Alessandro Lombardo December 2, 2020

to change color of your "share with customer button" insert this script in the announcement banner:

<style type="text/css">
button.aui-button.aui-button-primary.sd-external-submit {

background-color: #d04437
</style>

This is for red, but you can use any color

Like Mike Donnarumma likes this
Christian Sprenger
Contributor
November 2, 2023

Thank you @Alessandro Lombardo for the script, works like a charm.
I tried this with the *internal* button (Internal Comment), but regardless what I try I was not able to figure the correct name.

Does anyone has changed the background of the internal-submit button already and can share the correct phrase please?

0 votes
Tomáš Vrabec
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.
January 6, 2023

Any ideas how to achieve this in 2023 - 8.22 +? 

Christian Sprenger
Contributor
November 2, 2023

Has it changed?
We're running 8.20.13 and it (still) works.

Suggest an answer

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

Atlassian Community Events