Is it possible to configure Bitbucket Cloud to receive a notification (email) whenever a repository is created in a project or team?
Thanks in advance,
-andy
Hello @Andy Dysart,
Unfortunately there's no way to configure an email for this, and I didn't find any existing add-ons that would do anything similar.
There's a way to set up a webhook on repository creation, but you'd need to configure and host an app for that, so this is not an easy way. For details about integrating with Bitbucket Cloud, start at this page, webhooks are defined as modules in the app descriptor. The one for repository creation would be configured like this:
"modules": {
"webhooks": [
{
"url": "/path/in/your/app/to/handle/repo/created/webhook",
"event": "repo:created"
},
{
"url": "/path/in/your/app/to/handle/repo/imported/webhook",
"event": "repo:imported"
}
]
}
You then need to install the app to the account in question, and it'll start getting webhooks.
Let me know if you have any questions.
Cheers,
Daniil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.