- step: name: Send Notification to Slack script: - pipe: atlassian/slack-notify:2.0.0 variables: WEBHOOK_URL: 'CLASSIFIED' MESSAGE: '<@1234>, There's an **ERROR**'
I don't think you can.But you can use PAYLOAD_FILE variable to add json that contains slack block kit blocks. Then you can use markdown.
- pipe: atlassian/slack-notify:2.0.0 variables: WEBHOOK_URL: $WEBHOOK_URL PAYLOAD_FILE: payload.json
Example;https://api.slack.com/block-kit/building
Also take a look at this response.
Regards, Igor.
It looks like you're new here. Sign in or register to get started.