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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,928
Community Members
 
Community Events
177
Community Groups

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

@Sebastian Krzewiński 

I am looking to hide the customer comments section on a Transition Screen

so that the agent can only add an internal comment, so the highlight section should not be available:

Screenshot 2022-02-03 184011.jpg

Hi @David Harkins 

 

You can achieve this by using workaround from this issue (https://jira.atlassian.com/browse/JSDSERVER-1733) but you need to remember that this is global change. 

 

Unfortunately Atlassian split JSDSERVER-1733 and part connected to comment field on transitions screen was moved to https://jira.atlassian.com/browse/JSDSERVER-7166 and it is in gathering information status. 

 

I didn't find any app that will help with that.

 

Regards,

Seba

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events