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

How to get the json payload when a PR is made to a repo?

Arvind Singh November 11, 2019

I need the json payload which is triggered when a PR is made to a repo. Need it to integrate with some other third party tool.

1 answer

1 accepted

0 votes
Answer accepted
Leo
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 11, 2019

Hi @Arvind Singh ,

you can try out Webhooks in BitBucket for PR opened event

you just need to provide webhook URL in bitbucket repo settings and select the event for which you need payload from BB.

Refer this URL for more details about webhooks;  https://confluence.atlassian.com/bitbucketserver/managing-webhooks-in-bitbucket-server-938025878.html

 

BR,

Leo

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events