Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,365,242
Community Members
 
Community Events
168
Community Groups

How to make my bitbucket pipeline slack notify message into bold format

I want to make the message bold so the person will notice the word
- step:
        name: Send Notification to Slack
        script:
          - pipe: atlassian/slack-notify:2.0.0
            variables:
              WEBHOOK_URL: 'CLASSIFIED'
              MESSAGE: '<@1234>, There's an **ERROR**'

1 answer

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;
image.png
https://api.slack.com/block-kit/building

Also take a look at this response.

 

Regards, Igor.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events