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,298,083
Community Members
 
Community Events
165
Community Groups

bitbucket ci event webhook doesnt return the pullrequest

Edited

Hi, new here :)

we are implementing a notification mechanism triggered by webhooks,

commonly, when a build system\ci tool updating its status on a commit, 
a webhook get triggered with the event payload.

as in the docs:
https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/#Build-status-updated

there are 2 events:

repo:commit_status_created payload

repo:commit_status_updated

but unlike github/gitlub , bitbucket doesn't adds the pullrequest,
if the commit is part of a pull request.


how can i tell what is the pull request id from those ci events ?
dont webhooks should be triggered for pipelines events? 

1 answer

0 votes
Caroline R Atlassian Team Aug 10, 2021

Hi, @Ron Yehuda! Welcome to the community! 

Indeed, Bitbucket doesn't add the pull request if the commit is part of a pull request. In this case, would you like me to create a feature request to request the implementation of this field to the payload?

If you are not familiar with our Feature Request Policy, you can read more about it here

Please, feel free to share any additional questions regarding this subject.

Kind regards,
Caroline

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,222 views 2 9
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