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
Community Members
Community Events
Community Groups

Hide Comments Field on Transition Screen with script runner (Service Desk)

Hi Everyone,

I have a custom "Closure Notes" field on a transition screen ("Complete Issue") which appears as expected on the popup screen when the transition is executed,  but I'm trying to hide the standard "Comments" field as it's not required.  I've tried using a Behaviour and Script Field but I can't get either to work.

Clearly, I'm missing a step somewhere, so does anybody have an example/walkthrough or video of how to properly set this up?  

Any help would be gratefully received!



2 answers

I managed to find the solution myself and feel suitably stupid for it! 

For anyone having a similar issue, on the Behaviour definition, when adding the mapping the following selections apply:

  • "Use project/issuetype mapping" - Behaviour is applied to the main Jira interface for the Project(s) you select.
  • "User Service Desk mapping" - Behaviour is applied to the Customer Portal for the Project(s) you select.


Hope this helps someone else down the line ;o)

Hello Andy,

I have currently the same concern as you. Could you please share us the script you used?




Hi Florian,


Apologies for the slow reply, but I've only just received the notification from Atlassian that your post had been left!

It was actually quite straight forward with the Behaviors in that I made the Comments hidden and added the "when" condition of "Workflow Action" and selected the transition screens I wanted to hide the field on.  ie, only hide it when certain transition screens are shown rather than trying to hide it all the time and make exceptions.  This allows for a much cleaner transition screen where you can make other fields mandatory.

I've attached a screenshot of what I have setup.

Hope it helps!








Hi Andy,

No problem and thanks a lot for your answer :)



Hi @Andy Janes ,

But this is not working on bulk edit screen. I am trying to hide the field everywhere, except one workflow action. But it visible in the bulk edit issue screen.



@Andy Janes Thank you, thank you!!! I was trying to hide the comment on a transition screen to be used by an agent in a Jira Service Desk project. I had selected the Service Desk mapping, and couldn't figure out why it wasn't working to hide the comment. Changed the mapping to Jira project and it now works perfectly!

@Andy Janes I second Patty's comment! Thank you so much for posting this! I was tearing my hair out trying to figure out why this wasn't working so this post saved me so much wasted time(and hair!). The documentation makes it seem like you must use the service desk mapping if you're doing this in service desk. I would never have thought to change the mapping to project/issue type mapping!


I am trying to do this exact thing but it wont work, all my config looks good. Can you help?

I have double checked the transition id is correct and workflow



I got it working by changing the mapping to "project/issue type" mapping and NOT "service desk" mapping

Not sure why the correct JSD mapping would not work, ,maybe because transition screen is considered core Jira and this is not the portal screen? 

But all good! =) 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

386 views 0 7
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