We have Pivotal Tracker integration set up, and it is working ok except for new branches. In that case, the webhook request body JSON is missing a field that Pivotal Tracker requires.
Specifically, the "owner" object in the request JSON is missing the "nickname" field, and it includes the deprecated "username" field which is supposed to be gone as of April 19 2019 according to the bitbucket webhook docs.
Pivotal support suggested that there may be a setting in our bitbucket team profile or something that could be causing this. Does anyone know?
@yoshiotu It's a little confusing but repository owners can be either of type `team` or of type `user`.
User objects no longer have usernames and instead have nicknames (not unique)
Team objects still have usernames and don't have nicknames.
Because of this, it's best practice to really use UUIDs to identify repository owners since they both have this property.
Hopefully Pivotal can get their app updated. Do you mind linking to a page with information about the integration?
Thank you. That all makes sense. Here is the Pivotal Tracker documentation:
https://www.pivotaltracker.com/help/articles/bitbucket_integration/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.