The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Webhook push event payload only contains latest commit

Lam Nguyen
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!
July 8, 2024

When working with BB push event payload (webhook), if a push event contains multiple commits, only the most recent commit shows up under 'changes' section.

I'm using bitbucketserver0721 so I wonder if it's by-design or I'm missing something here? The newer documentation does mentioned there are max 5 commits associated with the push event can show up, but this doc doesnt have that

 

 

https://confluence.atlassian.com/bitbucketserver0721/event-payload-1115665959.html?utm_campaign=in-app-help&utm_medium=in-app-help&utm_source=stash#Eventpayload-repositoryevents

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Kuğbe
Contributor
July 8, 2024

Hi @lamhng 

Welcome to the community!

When using Bitbucket Server push event webhooks, based one my experience, only the most recent commits may appear in the payload, which is by design to keep it manageable.

By using the REST API or adjusting your Bitbucket Server settings, you can effectively handle multiple commits in push event payloads.

Hope this helps(:

TAGS
AUG Leaders

Atlassian Community Events