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!