I've been using Jira automation to trigger various activities in Slack.
For example.
- Set up a new Slack channel, using conversations.create, to set up a new public channel with a name based on the Jira issue's key (#issue-ABC-1234).
- Send a message to another, existing Slack channel to notify that the new channel has been set up.
The json for step 2 looks something like this.
> {
> "channel": "#existing-slack-channel",
> "text": "@channel
> {{issue.summary}} has just been created
Join channel #issue-{{issue.key}}",
> "link_names": true
> }
The message looks like this
@channel New Issue has just been created. Join channel #issue-ABC-1234
This has been working just fine for months. The new channel name appeared in Slack as a hyperlink. This made it easy for people to see the message and join the new channel.
We recently moved to a new Slack instance and since then the channel name in the message created by step 2 is now plain text.
Tried the following...
Checked to make sure the json hasn't changed. Checked to make sure the new channel is properly set up by step 1, before moving to step 2. Tried various formats for the message, markdown, plain text. Tried wrapping the message in a block.
In all cases, the channel name in the message remains in plain text.