The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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.

TAGS
AUG Leaders

Atlassian Community Events