Forums

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

How can i get value of last updated or edited comment using automation

Rai, Jagrit April 17, 2023

how can i update lastupdatedComment custom field with latest edited comment using automation

1 answer

1 vote
Mark Segall
Community Champion
April 17, 2023

Hi @Rai, Jagrit 

I'm assuming lastUpdatedComment is a custom field you're trying to populate every time a comment is added/updated.  Assuming your lastUpdatedComment field is a paragraph field with set to wiki renderer, you could do something like this:

  • TRIGGER: Issue Commented (Leave default of All Comments)
  • ACTION: Edit Issue (lastUpdatedComment)
    • Created on {{now.shortDateTime}} by *{{comment.author}}*
      _{{comment.body}}_

This bolds the author and italicizes the comment body, but you can adjust for whatever formatting works for your needs.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events