I have an automation to post a Slack message in a channel when a field is changed on a ticket.
The Slack webhook was generated through the Slack Apps API
This is the Slack Message action:
The priority for <{{issue.url}}|{{issue.key}}> - *{{issue.summary}}* was changed to {{issue.priority.name}}.
{{initiator.displayName}} gave this reason:
{{issue.comments.last.body}}
Everything pulls in perfectly except for {{issue.comments.last.body}}. It comes in as blank in Slack instead of putting the last comment.
Are there extra permissions I need to add to the Slack App for it to post the comment?
The syntax seems to be correct.
Have you tried using the smart value {{issue.comments.last.body}} out of Slack integration (example: in an internal comment) to see if the issue is happening on the smartvalue itself or on the integration?
Would you be able to place a screenshot (please hide API keys/authorization parameters) of your automation?
Thanks!
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.