What is the version of Bitbucket that is supported?

I followed the instructions for setting up source control. When I use the instructions for Setting Up the Bitbucket Connection I do not see a trigger for Commit comment created. In the API response it seems to be looking for a different hook. The hooks seem to be different in the API calls than what TDX is expecting. This is at the end of the API responses from TDX:

Supported events are 'repo:push' and 'repo:commit_comment_created'

I'm wondering if something changed in step 8. The events listed is missing Commit comment created and there is no option for to Choose from a full list of triggers. Also the payloads seem to be different than expected for Push.

  • The event hook for Push is "repo:refs_changed" but TDX is looking for "repo:push"
  • The hook for Comment added is the closest thing I could find to Commit comment created but I think they are different events.

We are using Bitbucket 7.x which seems to the same events across all incremental versions. Is 7.x not supported or am I just missing something? Thanks for your help.

Asked by Jason Raveling on Mon 3/7/22 10:14 AM
Sign In to leave feedback or contribute an answer

Answer (1)

This answer has been marked as the accepted answer
Mark Sayers Mon 3/7/22 11:39 AM

Hello Jason,

Are you using a self-hosted Bitbucket server instance?

Sincerely,
Mark Sayers
Sr Support Consultant, CS

1 of 1 users found this helpful.
Yes. It is self hosted. - Jason Raveling Mon 3/7/22 12:23 PM
An engineer *did* poke around bitbucket server documentation and saw the following webhook documentation for the most recent version of bitbucket server (7.21): https://confluence.atlassian.com/bitbucketserver/manage-webhooks-938025878.html

It has both repo push and repo comment added to commit listed as valid webhook triggers.

However, since the setup article at https://solutions.teamdynamix.com/TDClient/1965/Portal/KB/ArticleDet?ID=49694 *does* mention that login is needed at https://bitbucket.org/ , I believe this means that only the cloud version of Bitbucket is supported for the integration at this time.
- Mark Sayers Mon 3/7/22 12:32 PM
I just decided to create a free account on Bitbucket.org and took a look at the web hook options. The event options to choose from are all different so it seems that the self hosted version is not supported.

I did not setup or configure our instance so I suppose its possible that it was configured to not allow these, but I doubt that. It seems to be mostly a standard setup. So I'll have to wait for our license to end.

Thanks for your help.
- Jason Raveling Mon 3/7/22 12:45 PM