Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


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
Community Members
Community Events
Community Groups

how to send custom variables to a Slack Webhook?


I have a slack webhook that receives as a parameter an attribute,

example: { "text": "Build success"}

how can I send this variable using bitbucket pipeline?

They do not mention that point in the official documentation


Captura de Pantalla 2021-06-23 a la(s) 03.14.50.png


Pipeline file:

Captura de Pantalla 2021-06-23 a la(s) 03.16.03.png

1 answer

0 votes
Halyna Berezovska
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 29, 2021

@jamerquiroga we are sending  'text' field  on our own, so I guess you should specify as MESSAGE variable 'build success'.

This is actually strange, your pipeline looks valid. I tried this and succeeded in the case if $build_status var in pipeline has string type. Like $build_status=success or $build_status = 0.

But pipeline says the MESSAGE (text) is empty. Check if you have passed MESSAGE in the last execution indeed, because failure message does not correspond to what you have in pipeline shared.

Try also to go with MESSAGE: '"your message $build_status"'  (find this in readme as advanced example

^^ This will help us to understand the root cause, because for now, I don't see why pipeline would fail.

Regards, Galyna

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events