Forums

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

Automation - How to copy changes in a Custom Field Value and add it as a new Comment?

Wendy Grapentine
Contributor
November 30, 2023

I would like to set up an Automation that will automatically copy any changes to a Custom Field Value and add it as a new Comment to the ticket.
Any ideas on how to do this?


(I've seen how to do the opposite (Comment --> Custom Field Value), but, I need the opposite.)

2 answers

0 votes
Ste Wright
Community Champion
November 30, 2023

Hi @Wendy Grapentine 

Not sure of the exact need here, but you could setup a rule which comments when a field is updated, with the current and previous value?

For example...

  • Trigger: Field Value Changed
    • Field to Monitor = Field Here
  • Action: Comment on Issue
    • Comment = 

      Field Here's value has been changed.

      The previous value was {{changelog.Field Here.fromString}}

      The new value is {{changelog.Field Here.toString}}

Ste

0 votes
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.
November 30, 2023

Hi @Wendy Grapentine -- Welcome to the Atlassian Community!

What problem are you trying to solve by doing this?  That is, "why do this"?  The issue history already contains this information about the field changes.

Back to your question...

What have you tried thus far to solve this?

If you have a rule started, please post an image of your complete rule, the audit log details showing the execution, and explain what is not work as you expected.

If you have not started a rule, you could use the Field Value Changed trigger and the Comment on Issue action to log the information.  To get you started on creating your rule, please refer to these documentation and example sources:

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events