The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

John Michael Flores
September 6, 2022
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Matija Varjacic
September 8, 2022

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

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 9, 2022

Also take a look at this response.

 

Regards, Igor.

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events