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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Posting JSON payload to Bamboo queue service

Hi all.

I have a service X which - upon completion - could fire a webhook URL, thereby posting a JSON payload.

I would like to maintain the queue service REST URL (with a specific build key) as webhook and do something with the provided payload in the triggered build.

Thanks to this thread, I am aware of how one could send specific values to defined variables in the build, similar to e.g.

curl -X POST --user my-api-user:my-api-password --data 'bamboo.some_variable=some_value' 'https://my-buildserver.com/bamboo/rest/api/latest/queue/SOMEBUILD?os_authType=basic'

but can I also access the raw JSON somehow, e.g.

curl -X POST --user my-api-user:my-api-password --data '{"service_result":"bla"}' 'https://my-buildserver.com/bamboo/rest/api/latest/queue/SOMEBUILD?os_authType=basic'

The documentation says "No POST data required", but what if it's provided nonetheless? Is it ignored, or somehow accessible?

Thanks for any insight,

Harald

1 answer

0 votes
Arun_Thundyill_Saseendran
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 27, 2018

As far as I know there is no way to pass and access a JSON payload.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events