Post a Message to Slack
The Post a message to Slack post function allows you to send a personalized custom message to your Slack room. For example, you could be notified in a Slack channel when an issue is moved to Done.
Message templating
When configuring a message template for what you want to post to Slack, you can use plain text or use the GString TemplateEngine.
The issue variable is available for you to use in your template. For example, you can call a property as follows:
"Your issue $issue has been updated."You can also do more complex calls to your object by using the <% %> notation:
"The issue $issue, which is assigned to <% out << issue.assignee %>, was updated."Use this post function
Make sure you have set up a Slack connection before you use this post function.
You can now test to see if this post function works.