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

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

0 votes
Kuğbe 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(:

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events