Forums

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

bitbucket ci event webhook doesnt return the pullrequest

Ron Yehuda
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 1, 2021

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
Atlassian Team members are employees working across the company in a wide variety of roles.
August 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
AUG Leaders

Atlassian Community Events