youngmon/atlassian-qna huggingface dataset:
Bitbucket Cloud API Repository Owner Type Values
Asked by Anthony Vel?zquez:

Hey All,

I'm looking at building an integration against the Bitbucket REST API and I could not find the answer to this in the docs. Specifically, when looking at the [list of repositories for a workspace](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get), I see repositories have an "owner" object. That Owner object is guaranteed to have a field "type." In my testing I see all my repositories have a type of "team" but what are the other possible values for that field? Would like to make sure I understand the different values that could be populated there.

Thanks for any help!


Answers:
author: Saxea _Flowie_
body: Hi [@Anthony Vel?zquez](/t5/user/viewprofilepage/user-id/5424941)

I think it can be "user" for [personal](https://confluence.atlassian.com/bbkb/difference-between-shared-and-personal-workspaces-1141477191.html) workspaces.

comments: author: Anthony Vel?zquez
body: Ah, the fact that it's now deprecated makes a lot of sense for why I couldn't get it to be anything besides, "team." Thanks so much!!


Tags: bitbucket-cloud

cloud
I'm getting the error "We can?t log you in now"
Asked by Isikawa, Eliana:

Hello,

I'm getting the error "We can't log you in right now. Please contact your administrator. Give them this error identifier: ee07d693-ad7e-9ebe-16ace4e85aad".

Last access was a long time ago.


Answers:
author: Ben
body: Hi Eliana,

Are you referring to Bitbucket Cloud or Bitbucket Server/Data Center (Stash)? I cannot see any Bitbucket Cloud subscription for your organisation.

Cheers!

- Ben (Bitbucket Cloud Support)


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This is what it says it is - you need to talk to the admins. However, with that error identifier, you probably need to talk to the system administrators, who are Atlassian, not your organisation.

You will need to raise this with Atlassian at <https://support.atlassian.com/contact>


Tags: bitbucket-cloud

cloud
Our repository is locked
Asked by Marek Kyjovsk?:

Hello,

our repository \*\*REDACTED\*\* is locked from last week and we are not able push any of new commits.

Here is the log:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master
POST git-receive-pack (22065 bytes)
remote: error: cannot lock ref 'refs/heads/master': Unable to create './refs/heads/master.lock': File exists. 
remote: 
remote: Another git process seems to be running in this repository, e.g. 
remote: an editor opened by 'git commit'. Please make sure all processes 
remote: are terminated then try again. If it still fails, a git process 
remote: may have crashed in this repository earlier: 
remote: remove the file manually to continue. 
Pushing to https://bitbucket.org/**REDACTED**
To https://bitbucket.org/**REDACTED**
! [remote rejected] master -> master (failed to update ref)
error: failed to push some refs to 'https://bitbucket.org/**REDACTED**'
```

I found the same issues, where Atlassian admin intervention was necessary:

\*[https://jira.atlassian.com/browse/BCLOUD-15209\*](https://jira.atlassian.com/browse/BCLOUD-15209*)

\*[https://jira.atlassian.com/browse/BCLOUD-15516\*](https://jira.atlassian.com/browse/BCLOUD-15516*)

\*[https://jira.atlassian.com/browse/BCLOUD-7702\*](https://jira.atlassian.com/browse/BCLOUD-7702*)  

Could you please help with that?  
It's getting to be critical for us.

Thank you.


Answers:
author: Ben
body: Hi [@Marek Kyjovsk?](/t5/user/viewprofilepage/user-id/5424475)

I have raised a support ticket on your behalf, as you have access to a Standard workspace meaning that you are entitled to Standard-level support from our team.

I will communicate with you further on the support ticket, please check your email inbox.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
How can I link Bitbucket Cloud to our Active Directory
Asked by Sdboutin:

Hi,

I would like to know how we can link our Bitbucket Cloud with our Active Directory as we currently do with Jira. We do have the Atlassian Access subscription.

Thank you very much  
Have a nice day


Answers:
author: Odd_lynice
body: Hi [@Sdboutin](/t5/user/viewprofilepage/user-id/5424553)

What you are after is currently not available in Bitbucket Cloud - [Unified user management](https://www.atlassian.com/wac/roadmap/cloud/Unified-user-management-for-new-cloud-migrators?tab=compliance&search=user%20management&p=494802e0-bb) will be rolled out to Bitbucket Cloud by Q1 2024 for new customers migrating to Bitbucket Cloud and subsequently this functionality will be available to all Bitbucket customers to have by Q4 2024.

More Details can be found in [Unified User Management is coming soon to Bitbucket Cloud](https://bitbucket.org/blog/unified-user-management)

Hope that answers your question.

Theodore


Tags: bitbucket-cloud

cloud
Setup an additional SSH key in pipeline
Asked by Andrei Henea:

Hi everyone,

I have a SSH Key setup in my repository for which the deploy on the remote server works fine.

Now I'm trying to set a new SSH key to deploy the changes on a new server. I followed the instructions in the documentation below but I can't get it work. Pipeline fails with "Permission denied (public key)" error.

<https://support.atlassian.com/bitbucket-cloud/docs/use-multiple-ssh-keys-in-your-pipeline/>

The private key has been correctly encoded and added as a secure variable, no doubt about this.

The public key is installed on the remote host on \~/.ssh/authorized_keys

I'm not sure about the "my_known_hosts" file. I've generated this file on the local machine by specifying the correct host and I committed to my repository. The public key in "my_known_hosts" file is different than one from "\~/.ssh/authorized_keys".

In the remote server I don't have any "know_hosts" file and I'm not sure if I should have.

Any help would be greatly appreciated


Answers:
author: Patrik S
body: Hello [@Andrei Henea](/t5/user/viewprofilepage/user-id/3357941) ,

thank you for reaching out to Community!

Could you add the following ssh command in your pipeline, run it again, and share with us the full log output?

```
ssh -Tvvv <user>@<host>
```

This will include verbose logs in the SSH command which will include additional information that can help on the investigation, such as which key SSH is trying to use, and also if your server's fingerprint were correctly validated in the known_hosts file.

When sharing the logs here, please make sure to sanitize any sensitive information (IP address, username, repository, etc) as this is a public forum :)

Thank you, [@Andrei Henea](/t5/user/viewprofilepage/user-id/3357941) !

Patrik S


Tags: bitbucket-cloud

cloud
Movement of code base from VSCode to BitBucket repos
Asked by HANAMANT KULKARNI:

Hi Team,

We are trying to put our code base from VSCode to BitBucket repos.  
We explored, we installed plugins in VSCode. We tried Cloning but it seems Commit is running since yesterday and internet is working.

Pls. let us know steps to put our code from VSCode to Bitbucket repository using Command Line like git bash.  
Your pointers or references will help.


Answers:
author: Charlie Misonne
body: Hi [@HANAMANT KULKARNI](/t5/user/viewprofilepage/user-id/5422342)

"Commit is running since yesterday". A commit is something that happens on your local PC. It's only after committing that you push to the remote repo.  
So if committing is not working something must be wrong with the PC configuration.

Have you tried this without plugin and with Git Bash already?

First of all you need to make sure you local directory with your code is a Git repo, then you "stage" everything for commit and you commit.

    git initgit add --allgit commit -m "Initial Commit"

Now you can push this to Bitbucket (or any other Git provider). Copy the GIT URL from the repository you created in Bitbucket Cloud. (the clone link)

    git remote add origin <Bitbucket Cloud Repo URL> git push -u origin <branch name>

Do you get errors?


Tags: bitbucket-cloud

cli

cloud

gitbash
I keep getting an error when trying to log into bitbucket that stats "We couldn't log you in."
Asked by Tony Salah:

Error message when I try to login to bitbucket from an invite from our tech team: "We couldn't log you in. You may run into this issue when you use specific browsers or add-ons that hide the referrer header ..."

I saw on some community threads that some folks has a community account was marked as inactive and once Atlassian marked it as active they were able to log in


Answers:
author: Syahrul
body: G'day, [@Tony Salah](/t5/user/viewprofilepage/user-id/5424019)

Welcome to the community.

It appears that your account was in a dormant stated due to inactivity. I have reactivated your account. Could you try to log in again and let me know how it goes?

Regards,  
Syahrul

comments: author: Tony Salah
body: Thank you ... that worked. Then I discovered my invite was now expired so had a new one sent to me. That worked but now I keep getting the following error:

Resource not found {#toc-hId--385665070}
----------------------------------------

Return to the previous page or go back to your [dashboard](https://bitbucket.org/).

Please help as I just want to get access to our company's (Heka Health) bitbucket account

Regards,

Tony


author: Syahrul
body: Hey [@Tony Salah](/t5/user/viewprofilepage/user-id/5424019)

It seems you have access to the workspace. Could you confirm if you still have an access issue with me?

Try navigating to the list of workspaces: <https://bitbucket.org/account/workspaces/> and open the workspace you wish to view. Select the repository to see the list of repositories you have access to.

Let me know how it goes.

Regards,  
Syahrul


author: Tony Salah
body: Thank you. I see the 1st image when I see the click your link to my workspaces, but if I click the Heka Health workspace or the "Repositories" menu button I get the same error shown in the 2nd image

![image.png](https://mail.google.com/mail/u/0?ui=2&ik=4e0cdc7709&attid=0.1&permmsgid=msg-a:r6111742069427115100&th=18d9bc9bdef8ed2f&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ8bouZ5OIqwmqN-yWoHsgL2YPoY9xI5iO-UVncQhd3SxvysWDDm_lG960Gs3GSvm7A_7wF59gJoXEaFOiLosRJ80UrxJLw-OhPGd2Bv8zeD5mz78B-hzGw-9wI&disp=emb&realattid=ii_lsihqkls0)

![image.png](https://mail.google.com/mail/u/0?ui=2&ik=4e0cdc7709&attid=0.2&permmsgid=msg-a:r6111742069427115100&th=18d9bc9bdef8ed2f&view=fimg&fur=ip&sz=s0-l75-ft&attbid=ANGjdJ8jYRgDGipH1lyuNcTfs5p39C8FfwrfgQRcDxdDfD1OY0eI7SCecj8uA2OA03Xp8MtWkbr2tNxQw3WCUXADzPBgpVPmiQdRiwsL5LR3XZ4dGHuaWUJaerhc1_0&disp=emb&realattid=ii_lsiht6ja1)


author: Syahrul
body: Noted, [@Tony Salah](/t5/user/viewprofilepage/user-id/5424019)

It appears that you are currently in the workspace. However, the workspace administrator has not provided you with repository access.

Please get in touch with the workspace admin and ask them to add you to the right group with access to the repository.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Number of files pushed in a single commit
Asked by Gokul Rajan:

Hello Team,  

I am trying to push multiple files into bitbucket cloud repository. When I try to add files more than 100 units, I am getting 400 Bad request.  

curl -X POST --header "Authorization: Basic \<Auth key\>=" --header "Content-Type: multipart/form-data" --form "message=Commiting 1000 \* 1MB files" --form "branch=main" --form "testFiles//file_100.txt=@"testFiles/file_100.txt";filename="file_100.txt"" --form "testFiles//file_10.txt=@"testFiles/file_10.txt";filename='file_10.txt'" --form "testFiles//file_11.txt=@"testFiles/file_11.txt";filename='file_11.txt'" --form "testFiles//file_12.txt=@"testFiles/file_12.txt";filename='file_12.txt'" --form "testFiles//file_13.txt=@"testFiles/file_13.txt";filename='file_13.txt'"   
...  
...  
--form "testFiles//file_98.txt=@"testFiles/file_98.txt";filename='file_98.txt'" --form "testFiles//file_99.txt=@"testFiles/file_99.txt";filename='file_99.txt'" --form "testFiles//file_9.txt=@"testFiles/file_9.txt";filename='file_9.txt'" "<https://api.bitbucket.org/2.0/repositories/v-test/test/src>"  

Response:   
\<!doctype html\>

\<html lang="en"\>

\<head\>

\<title\>Bad Request (400)\</title\>

\</head\>

\<body\>

\<h1\>Bad Request (400)\</h1\>\<p\>\</p\>

\</body\>

\</html\>

<br />

<br />

May I know the limitations in bitbucket cloud on number of files committed and removed in single commit request.  

Also are there any recent changes regarding these limits as I remember committing more than 300 files in a single request.  

Please help me in understanding this.  

Thanks in advance.


Answers:
author: Patrik S
body: Hello [@Gokul Rajan](/t5/user/viewprofilepage/user-id/5260273) ,

Thank you for reaching out to the Community!

This limitation seems to be applied when committing through the API only.

In this case, if you would like to upload that many files at once, I would suggest cloning the repository locally and using git to commit and push your changes, as git will be able better manage the commit of multiple files.

Would it be possible for you to try pushing from your local using git instead of the API and let us know how it goes?

Thank you, [@Gokul Rajan](/t5/user/viewprofilepage/user-id/5260273) !

Patrik S


Tags: bitbucket-cloud

cloud
RESOURCE_EXHAUSTED: gRPC message exceeds maximum size
Asked by Corey Mahoney:

Hello,

Anyone experience the below message when accessing the commits on a repository? We just moved from Bitbucket 7.21.18 on Windows to Bitbucket 8.17.0 on Linux. Since then we get this error on some repos. Is there a way to increase the message size?![RepoCommitError.png](https://community.atlassian.com/t5/image/serverpage/image-id/304684i03110EC352376FED/image-size/large?v=v2&px=999 "RepoCommitError.png")

Thanks,

Corey


Answers:
author: Corey Mahoney
body: I contacted Atlassian support and this fixed the problem.

Adding the following configuration parameter "plugin.bitbucket-git.mesh.grpc.max-message-size=6242880" to the $BITBUCKET_HOME/shared/bitbucket.properties and restarting Bitbucket should increase the size limit to 6m from the default 5m size.

```
?
```

```
plugin.bitbucket-git.mesh.grpc.max-message-size=6242880
```


Tags: bitbucket-server

server
Can FishEye have two repositories pointing to the same perforce server and paths?
Asked by Eric Castle:

We are indexing a large perforce depot and it looks like it will take a month or more just to complete the indexing. In the meantime we want to add another repository that points to the same perforce server but only 2 specific depot paths and start the changelist at one very recent so the teams can use Crucible for current checkins.

What will happen when the large repo indexing finally catches up and now for the 2 paths in the new repo, the same changelists are also being indexed in the large repo? Is this ok or will it run into trouble?

I guess this boils down to can we have more than one repository in FishEye pointing not only to the same perforce server but also the same depot paths on it?

Thanks,

Eric


Answers:
author: Nick
body: Hi Eric,

Yes, that is a valid approach and FishEye will handle that fine.

Ensure that you have 'store review content' enabled on the project, so that when the larger repo does catch up, and you switch to that and disable the smaller repos, your review content will remain in tact.


Tags: fisheye-crucible-administration
Fisheye look and feel
Asked by Fabio Racobaldo _Herzum_:

Can I customize Fysheye look and feel? Any documentation about how do that?


Answers:
author: Fabio Racobaldo _Herzum_
body: I just found a support issue [](https://jira.atlassian.com/browse/FE-2474)<https://jira.atlassian.com/browse/FE-2474>and voted up.


Tags: fisheye-crucible-administration
FishEye/Crucible license - number of users
Asked by Noam Diamant:

Hi,

We are currently using Jira (self hosted, not on-demand), and are about to purchase FishEye and Crucible licenses.

Since only developers will be using FishEye and Crucible, we don't need as many users for it as we need for Jira.

I wanted to make sure we can purchase FishEye and Crucible licenses with a smaller number of users from the Jira licanse, since I know some add-ons require to purchase the same amount of users.

Thanks


Answers:
author: Nick
body: HI Noam,

FishEye and Crucible licenses can be bought completely separately from each other and in fact from JIRA licenses.

ie. you can have an unlimited JIRA license instance connected to a 25 FishEye license instance, and even a 100 Crucible license instance if you wish.

There is a neat option in FishEye, when you configure the authentication mechanism (can be to your JIRA instance if you wish) to allow a user to be added to FishEye only when that user logs in to FishEye. This means, you can connect FishEye to a JIRA instance that has 1000 users, and only have the 25 users who log in to FishEye consume your user-count.

comments: author: Kevin Villalobos
body: Hi Nick,

Where i can check this configuration since i have admin permissions but i didn't configure it and i neither the admin. I am part of the BI team and i should extract data from the DB.
EyeQL error parsing query: unexpected char: 0x6E2F
Asked by feng qin:

Hi,

I am using EyeQL "select revisions from dir "/" where on branch DomesticSearchBranch/????" and "DomesticSearchBranch/????" is the branch name which contains chinese characters, but i got a error

"**Search error:**

error parsing query: unexpected char: 0x6E2F" ,Ox6E2F is the unicode of '?'.


Answers:
author: CelsoA
body: Hi Feng,

Maybe this KB can help you:

[](https://confluence.atlassian.com/pages/viewpage.action?pageId=376832337)<https://confluence.atlassian.com/pages/viewpage.action?pageId=376832337>

Please give a try in the steps there and let me know how it goes.

Regards,

Celso Yoshioka
custom email notification for crucible for overdue assignments
Asked by Ming Ho:

I can't seem to find a way to email users about their overdue review assignments or unclosed reviews. Is there a way for an administrator to schedule a weekly notification to team leads or individuals regarding their outstanding reviews in crucible?


Answers:
author: Felipe Kraemer
body: Hi Ming,

According to [this document](https://confluence.atlassian.com/display/CRUCIBLE/Using+Review+Reminders), Crucible should automatically send reviewers a reminder email one working day before the deadline.

Maybe **Preset Reminders** are what you're looking for? But this must be configured for each review, meaning that it's currently impossible to configure a batch process to run on a weekly basis on all your reviews at once in order to send reminders.

As far as I see, this is not ideal for you, so I have created a new issue in our development issue tracker to ensure our development team is aware of what you need:

[](https://jira.atlassian.com/browse/CRUC-6787)<https://jira.atlassian.com/browse/CRUC-6787>

I would suggest adding any comments to the issue above as well as [voting](https://confluence.atlassian.com/display/JIRA/Watching+and+Voting+on+an+Issue) on the issue to create it's popularity and likelihood of being implemented in a future release.

For more information on how Atlassian implements new features and improvements please see the following document:

[](http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy)<http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>

My apologies that we don't have a solution for you at this time.

Kind regards,  
Felipe Kraemer  
Atlassian Support

comments: author: Ming Ho
body: thanks. that is exactly what i am looking for. sometime, one reminder is not enough. i preference is for admin to be able to set up some sort of filter which will individuals that their reviews have been inactive for over 1 week (for example).


author: Tini Good
body: I strongly agree.
Fisheye license issue
Asked by Jim Brown:

I have recently renewed all my Atlassian licenses:
\<th width="50%"\>Product\</th\>\<th\>Name\</th\>\<th width="13%"\>Support Expires\</th\>\<th width="15%"\>Support\</th\>

|--------------------------------------------------------------|----|-------------|------------------------------------------------------------------------------------|
| **Crucible 5 Users: Starter License**                        | HQ | 25 Apr 2015 | [Request Support](https://my.atlassian.com/products/requestsupportaccount/2594047) |
| **FishEye (10 committers, 5 repositories): Starter License** | HQ | 25 Apr 2015 | [Request Support](https://my.atlassian.com/products/requestsupportaccount/2594046) |
| **JIRA 10 Users: Starter License**                           | HQ | 16 Mar 2015 | [Request Support](https://my.atlassian.com/products/requestsupportaccount/2538609) |
| **Stash 10 Users: Starter License**                          | HQ | 16 Mar 2015 | [Request Support](https://my.atlassian.com/products/requestsupportaccount/2538608) |

but when I log into Fisheye I get the following message:

You have 17 days before your maintenance expires. You can renew your license at [](http://www.atlassian.com/fisheye/renew)<http://www.atlassian.com/fisheye/renew>

Not quite sure what needs to be done.

HQ


Answers:
author: gustavo_refosco
body: Hi Jim,

Please go to **FishEye's Administration \>\> System Info (under System Settings) \>\> Edit License** and check if your FishEye/Crucible license matches the renewed license you have at <https://my.atlassian.com>

In case it does not match, replace it by the renewed license you have at your <https://my.atlassian.com>


Tags: licence
Daemons for Crowd, Fisheye and Bamboo
Asked by Andy Li:

Hey guys,

What does Atlassian recommend in running these processes as daemons?

Currently I'm using start-stop-daemon in a script like this.

```
FISHEYE_PATH="/opt/fisheye/fecru-3.2.0/bin"case "$1" in    start)        start-stop-daemon --start --quiet -c crucible -g crucible --exec $FISHEYE_PATH/start.sh        ;;    stop)        start-stop-daemon --start --quiet -c crucible -g crucible --exec $FISHEYE_PATH/stop.sh        ;;    *)        echo "Usage: $0 {start|stop}"        exit 1        ;;esac
```

Is there anything wrong with this?


Answers:
author: FelipeA
body: Hi Andy,

There's no problem running it like that. As a sample here's the script shipped with Atlassian Confluence:

```
#!/bin/bash# Confluence Linux service controller scriptcd "/opt/atlassian/confluence/bin"case "$1" in    start)        ./start-confluence.sh        ;;    stop)        ./stop-confluence.sh        ;;    restart)        ./stop-confluence.sh        ./start-confluence.sh        ;;    *)        echo "Usage: $0 {start|stop|restart}"        exit 1        ;;esac
```

Best regards,

Felipe Alencastro


Tags: bamboo

crowd
svn pre-commit code review
Asked by wenjin:

hello,

So far, I know how to create patch files for pre-commit code review in crucible. But we can still commit the code to svn repository if the code is not reviewed. I want the codes in svn repository are all reviewed. The codes not reviewed can not commit to svn repository. Should I write svn pre-commit hook? Please help me with this problem. Thanks


Answers:
author: Midori
body: Your use case is not totally clear, but it sounds as you were to check if the commit message contains a code review number.

If that's some formatted expression (like "FOO-123"), then you can automate this with the [Commit Policy Plugin](https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.jira-commit-policy-plugin/server/overview). It has a condition that requires the commit message to match a regular expression, and you can use this to enforce entering the expression!


author: wenjin
body: Do you use "grep" in pre-commit.bat to catch the key code review number? Is that review number linked to crucible? Can you show me your pre-commit hook? Thank you very much.

I do not know how to add the link number of crucible in our svn log.


author: Norman Abramovitz
body: Yes, I would write a svn pre-commit hook because that is the only way to handle all different types of clients.


Tags: fisheye-crucible-administration