according to https://confluence.atlassian.com/bitbucket/deploy-build-artifacts-to-bitbucket-downloads-872124574.html I have to create an APP Password for the repository owner in order to upload build artefacts to the download section of the repository pages.
The repository in question is "owned" by a "team".
I see how I can create an APP Password for my user but I don't find the same link/page for the team.
Is this a glitch in the UI or a missing feature or am I looking in the wrong place?
Thanks for your help.
I was able to make this 'work' by using the 'API Key' associated with the team. But not an App Password associated with my administrator account.
Still not considered safe or a good idea. as I have exposed my pipelines to my account. Being able to create a least-permissioned api key for the team is necessary to integrate various pipelines, builds to trigger other builds, etc...
Hi Dominik! Team administration changed and now you can no longer manage repositories with a team account. Now, team members use their individual Bitbucket accounts to access the team and commit changes. This was announced at Team account changes.
That team shouldn't have an email address associated to it, are you still able to log in to that team using the team's email address? If you are, please let us know the name of the team, as that needs to be fixed.
yes I know about the changes. No I cannot login as "team" (I think).
But it appears that the repository (only created a few days ago) is OWNED by the team and I guess that is the reason the build-pipeline cannot upload the build artefacts.
Or why else does uploading the files fail?
Thanks for your help & best regards,
Hi, Dominik! Thanks for the info. In this case, an App Password can be created by a user who has Admin rights over the repo or Team. If you're an admin for that team you can create an App password using your individual Bitbucket account and use it for the team. Otherwise, if you're a normal user, you'll need to contact one of the admins to follow the steps at https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html
Hope this helps!
I'm seeing the same issue, and I think the behavior changed recently because it was working a week or so ago.
curl -O -L --user User:AppPassword https://bitbucket.org/Team/Repository/downloads/X
This now always returns an HTTP 401 Unauthorized error.
Edit: This also fails for POSTs, trying to upload files.
Hi, I was wondering whether this has been resolved, a solution found.
I'm attempting to upload the results of a pipeline to downloads and all the docs I've come across suggest that I use BITBUCKET_REPO_OWNER for the user credentials (which is the team).
I'm still slightly confused as to how you can run a pipeline as a particular user (given a number of users could commit?) as in doing so doe sthis not provide access for those users to someone else's authorization?
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs