Hello,
We want to edit the second latest comment in multiple issues via automation rules.
In the edit comment action, we have only first comment, last comment & trigger comment option.
So i think we have to use some smart value to identifiy the second latest comment.
I tried this value, but the rule is failing stating " Error editing comment - smart-value did not resolve into a number."
{{issue.comments.getFromEnd(1).body}}
Can someone help on how to retrieve the second last comment for editing.
thank you for your question. You should be able to access the second latest comment via the following smart value:
{{issue.comments.reverse.get(1).body}}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.