Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Notification on creating a repository?

Andy Dysart
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 15, 2019

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

1 answer

1 accepted

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events