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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I trigger a pipeline by sending a POST request to a webhook URL?

I would like to be able to trigger a pipeline to build every time I send a request to a webhook URL.

Use case:

I have a headless WordPress install that every time any content is updated, it sends a request to a webhook. Currently, it sends to Netlify to rebuild the static front-end. I would like this instead to trigger a bitbucket pipeline.

1 answer

0 votes
Dario B Atlassian Team Mar 31, 2021

Hello @nathanakrill ,

I believe the same topic has already been discussed in the below thread:

Can you please review it and confirm it answers your question?

 

Also, the complete Bitbucket Cloud REST API documentation is available at below URL:

 

Cheers,
Dario

Hi Dario, thanks for that.

While it does trigger a pipeline, I cannot use the API in that way because the format the trigger works in just uses a URL. (The plugin I am using for this is here )

I cannot do oAuth or set headers like in the example provided.

Dario B Atlassian Team Apr 01, 2021

Hello @nathanakrill ,

I have no knowledge of the tool you are using. However, I can confirm that in order to be able to call any Bitbucket REST API endpoint you must be able to authenticate your requests using one of the methods described in:

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,845 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you