My company has only one workspace. There are multiple projects within this workspace. There are 7 people who are part of the admin group and have the permission to create repos in any of the projects.
I want to enable notification so that i get notified when a new repo gets created. Notification can be on email or on Slack.
Thanks
Varsha
you can setup email notifications from settings if you have admin permissions like below.
also you can go through the below knowledge documentation for more things
https://confluence.atlassian.com/bitbucket/manage-email-notifications-325321743.html
For Repository notification below url.
https://confluence.atlassian.com/bitbucketserver/repository-notifications-949754838.html
https://confluence.atlassian.com/bitbucketserver/notifications-776639933.html
Vikram P
These notifications are all on the repos that you are watching. And for pull requests etc.
I want to be notified when a repo is created in one specific project within my workspace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to create a webhook in your workspace to get notification whenever any new repo is created, if you have admin permissions.
Follow below steps:
1) Go to your workspace
2) Open settings on your work space
3) On left panel you have the webhook
4) configure the webhook -- Event as "create repository",
preferred commination channel url to which you want to get notification
5) secret key
Let me know, if it worked.
Vikram P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
webhooks option is available only after selecting a repo. I want that option at the project level. I do not see that option at the workspace level
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the webhook option is available on repository level in UI
try this API for creating webhook on workspace level
Just trying to understand, why do you want a notification, instead you can restrict users with permission's on your workspace right.
Vikram P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes Vikram, i have already done that. But there are 5 projects and 7 admins. One particular project is critical and all 7 admins have been instructed not to create new repos in this project. But it is not possible to rely on human memory :-) Hence the notification requirement. Will check the link as well. Thanks
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.