Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to edit a comment using automation

serge calderara
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.
September 26, 2022

Dear all,

We have cases where issue are created from an external incoming email.

Then when the issue is created, users use the Reply to customer field to add comment to be send back through notification.

The thing that we need to do is that when user add comment through the Reply to Customer Tab,  we need to add to this edited field a special custom field value.

How to do that using automation in order to avoid sending comment updated event before the custom field gets combined to the user comment ?

Thanks for your help

regards

 

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
September 26, 2022

Hi @serge calderara 

I do not believe it is possible to do that with an automation rule before the comment is added.

Instead you could use a rule triggered on Issue Commented, and then use the Edit Comment action to make the change.

Kind regards,
Bill

serge calderara
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.
September 27, 2022

hello @Bill Sheboy , I have tried that by defining a below

chrome_nFb9IEG1wt.png

The comment is updated correctly but the probleme I have is that it generate 2 notifications.
The first notification when comment is added and the next when updated.

My goal is to get only the updated notification of comment to be fired as the complete comment field should contain the ThreadID custom field to be valid

Any idea?

regards

Bill Sheboy
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.
September 27, 2022

I do not believe that is possible with the built-in email handlers.  Any updates to the comments would be listed separately in the issue history.

Perhaps there is a marketplace addon with improved email handling that can perform this in one step.

serge calderara
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.
October 14, 2022

@Bill Sheboy is there a way that when we click on Reply to Customer, the comment field gets a default value already set ?

Bill Sheboy
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.
October 14, 2022

I do not know that; I am not using the service desk features of Jira.  Perhaps search in the community for that as "default comment reply to customer".

Suggest an answer

Log in or Sign up to answer