Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Are there event handlers in bitbucket cloud?

Peter_Borgstedt
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!
August 22, 2019

Is there any way a possibility to retrieve events for when a project have changed name, or when a user group have changed name or even a repository? 

There's webhooks for retrieving events concerning the repositories, but seems like you have to put a webhook on each repository, there's no global webhook that just run for all. That could at least cache renaming repositories, but does not look like there are anything for projects, users groups and so on.

In bitbucket server they seem to have custom event handlers that might do the trick, but we're running on the cloud.

Is there something simular? Like a global hook you can use?

1 answer

0 votes
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 23, 2019

Hello @Peter_Borgstedt,

You can subscribe to higher level webhooks as well as cover the whole account without needing to register a webhook for every repository in it. This can be done by creating and hosting a Connect App — you can define all or some events that you want your app to be notified about in its descriptor. The app will receive similar webhooks, but there's a bit broader kinds of events, like you can listen to user:account_property_changed and project:updated which aren't available for manually registered repo-level webhooks.

However, I don't think there's any webhook for user group change, unfortunately.

Let me know if you have any questions.

Cheers,
Daniil

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events