Forums

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

How can I capture the previous version of an edited comment using Jira Automation?

Ivan Monma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 4, 2025

Hi everyone,

I'm trying to keep a history of comment edits in a custom field using Jira Automation in Jira Cloud.

Here's what I attempted:

  • I created an automation rule triggered when an issue is updated.

  • I added a condition to check if the comment field was changed.

  • Then I used {{changelog.comment.fromString}} to try to capture the previous version of the comment.

However, it seems that when a comment is edited, the changelog does not include the comment field, and {{changelog.comment.fromString}} is empty.
I also tested using the trigger "Comment edited", but that doesn't seem to expose the previous version either.

My goal:
To append the previous version of an edited comment to a custom field (like “Comment History”) for audit purposes.

Is there any way to do this natively in Jira Cloud?
If not, is it only possible with ScriptRunner or a Forge app?

Thanks in advance!

2 answers

2 accepted

4 votes
Answer accepted
Charlie Misonne
Community Champion
June 4, 2025

Hi @Ivan Monma and welcome to the Atlassian Community!

As you pointed out: the changelog does not include the previous version of the comment. As far as I know Jira only stores the current comment and not any of the previous versions.

That being said. Not even Scriptrunner or a Forge plugin will allow you to retrieve the comment history. Unless you start storing all the comment edits yourself in some location like a field as suggested by @arielei 

I found 2 plugins that might be interesting for your use-case:

Natalia_Kovalchuk_SaaSJet_
Atlassian Partner
June 4, 2025

Hi everyone! 

@Ivan Monma, when a comment is edited in Jira Cloud, the changelog doesn't include its previous version.

Charlie Misonne, thank you for recommending the Issue History for Jira (Work Item History) app from my team! It really can help in such a case. 

After the app is installed and comment tracking is activated, it is possible to monitor updates made to every comment in Jira. @Ivan Monma, you can see what was changed or deleted, when it happened, and who is responsible for that. The Issue History app is highly useful for auditing purposes as it tracks all the changes made to work items.

If we talk about monitoring changes in specific projects, you can use Issue History Table view. With the help of filters, it will display all changes made to work items' comments in the required project for the specified date range. For example:

jira-comment-tracking.png

When discussing tracking comment changes for a specific work item, you can utilize the Issue History Panel view. By choosing Comment with the help of the Field filter, you will get a list of changes similar to this one:

jira-comment-tracking-work-item.png

Hope this info will be useful!

Like # people like this
1 vote
Answer accepted
arielei
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.
June 4, 2025

Hey @Ivan Monma 

I suggest that you will add a custom field of type "Paragraph" , call it "Comment History"

Then, every time a comment is added / edited - copy it to that field.

 

Ariel.

Suggest an answer

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

Atlassian Community Events