I would like to copy the latest comment which is in the ticket to a custom field whenever comment is added can this be done via project automation or with any other add-on?
I am Marlene from codefortynine.
Your use case is possible with our Jira cloud app Dynamic Custom Fields for Jira. With our app you can use Jira expressions to create computed custom fields.
As you can see in the screenshot, you can create dynamic custom fields that will show the latest comment. On the right side you have a preview of the field.
This is the expression I used for this field:
issue.comments.length ? issue.comments[issue.comments.length-1].body.plainText : ""
If you have questions or feedback about our app, or if you need help in creating a custom expression, don't hesitate to reach out to us.
Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...