I'm looking at the BB cloud event payload for "pull request updated" (https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/#Updated.2) and am trying to figure out if there is something in the payload that provides the data on what fields actually changed? The docs are not very specific about this, for pullrequest it just says "The updated pull request. See the Pull Request entity sample."
So in other words if someone edited the PR title or changed the target branch, how can I tell from the payload that these were the actual PR fields that got changed? Unless I'm missing something, the webhook appears to be sending the entire pull request payload and not just the "changed" fields.
Is there something I'm missing here?
Hello @Steve Muskiewicz ,
Thank you for reaching out to Atlassian Community!
I'm afraid that at this moment, the Pull Request Updated event will indeed send the entire pull request payload to the destination, and not just the fields that were changed. As I understand it would be great to be able to identify what fields were actually updated, I went ahead and created the below feature request :
I would suggest you add your vote there since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.
Let me know in case you have any questions.
Thank you @Steve Muskiewicz ,
Kind regards,
Patrik S
Thanks @Patrik S ! I appreciate the feature request, I will go ahead and vote for it and would encourage anyone else looking for this feature to do so as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.