Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Scriptrunner Behaviour to Hide 'Respond to Customer' comments only.

Using Script runner Behaviours we can hide the 'Comment' field.

In Service Management, this is made up of:

  • Respond To Customer
  • Internal Comment

For one of our transitions, we need to ensure that the agent's comments are always internal, hence the removal of the 'Respond to Customer' option.

Has anyone done this prior? or does anyone have a starting point ?

 

1 answer

3 votes

Hi @David Harkins 

 

Script runner behaviours works with fields on create/edit/transition screens. It didn't work with buttons under screens.

IMO you need to use CSS/JS to hide it. You can use it in Jira or you can use fragments in script runner:

https://confluence.atlassian.com/jirakb/how-to-hide-elements-in-jira-using-css-or-javascript-958774526.html

- https://scriptrunner.adaptavist.com/latest/jira/fragments/WebResource.html

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

635 views 5 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you