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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.