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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,457,461
Community Members
 
Community Events
176
Community Groups

How can my bitbucket account automatically accept repository invitations?

Edited

Hello,

Is there a way to automatically (or programmatically) accept invitations to new repositories?

I would like people to be able to add a given Bitbucket user to their repository, so that my service can access the source code via this account, and publish the releases to an application store.

On GitHub, I can access the list of invitations via an API call, and accept them via another.
For my use case, the ideal would be a checkbox on my user profile (such as Automatically accept all repository invitations), or similar API calls, but I could find neither (yet).

A similar question has already been asked two years ago, but still has no answers.

2 answers

0 votes
Norbert C Atlassian Team Feb 11, 2022

Hi @madprog 

Thank you for contacting Atlassian Support, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community.

Unfortunately it's not possible to accept the invitations via the website or via API, the only way to accept invitation is via email.

Currently we have a feature request for this as you can see in the link below:

BCLOUD-21449 - Accept Invitations in User Interface

Our development team will give a first-hand update on that ticket if there's any progress made so I would suggest keeping a watch and vote for it.

Do note however that there's no ETA on enhancement request, and all enhancements are implemented with this policy in mind: Implementation of New Features Policy

Please let us know if you need any further assistance.

Best Regards,
Norbert
Atlassian Bitbucket Cloud Support

0 votes
Pramodh M Community Leader Feb 07, 2022

Hi @madprog 

Welcome to the Community!!

There is no API at the moment!!

Earlier endpoints are deprecated (https://support.atlassian.com/bitbucket-cloud/docs/invitations-endpoint)

Please check with Atlassian Support on what they are really doing with APIs

Here's the last update from them on the same

https://developer.atlassian.com/cloud/bitbucket/announcement-06-08-18-new-v2-apis/

Thanks

Hello Pramodh,

I have seen the 1.0 invitations endpoint, but from what I have understood it only manages the invitations from the inviter's point of view, and only in order to create new invitations via a POST.

I have tried to invite a user, and the `GET /1.0/invitations` returns an empty JSON array for both the inviter and the invitee, so I guess that I cannot use this.

Thank you for your answer, though :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events