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

How to make comment field mandatory when changing a status

Hi,

We have a requirement when we want user to provide a comment before closing/cancelling a ticket. For each issue we have two options - Add internal note/Reply to customer. We want to make Reply to customer field mandatory.

 

Is this possible in next gen JSM project?

2 answers

1 accepted

0 votes
Answer accepted

Hello @Shruti Sharma,

Thank you for reaching out to Atlassian Community!

In next-gen service projects, it’s not possible to add a validator on a transition to make a field required. One of the reasons is that it’s not possible to configure screens, so since no screen shows when closing a ticket, it’s not possible to add required fields.

On the workflow, it’s possible to add rules to transitions, but the “Update request field”, “Remind people to update empty fields” and “Check a request’s field” don’t have the option to select “Comment”.

With this said, it would be necessary to use a classic project in order to add a validator to the transition to make sure agents adds a comment before closing a ticket.

If the purpose of the comment is just to inform the customer that the ticket was canceled, for example, a canned response, you can use automation to add a comment. 

If the comment that the agent would add is unique depending on each case, then the way to “force” this would be using a validator on the workflow that is available only on classic projects.

Kind regards,
Angélica

Hi Angélica, 

We're on a classic project and have attempted to use the Condition - Value Field(Where Comment != NULL) and Validator - Field Required Validator(Comment field required). 

Once updating these to the workflow one-at-a-time, it didn't make a comment mandatory when closing an issue. Could you provide any advice on to why this may be?

Thanks,

Luke

0 votes

Hello @Luke Ryan,

Thank you for reaching out to Community!

Testing on my local site, it worked adding the Condition and the Validator, but it only works if there are no comments on the ticket. Since the Condition is Comment != NULL, the transition will also only appears if no comment has been added to the ticket.

Have you tried it without the Condition and only with the Validator?

Does the transition has a screen?

Kind regards,
Angélica

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
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...

626 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