youngmon/atlassian-qna huggingface dataset:
error when login (Re-Activate)
Asked by mfaster:

Hi, {#toc-hId--352442255}
-------------------------

i am getting following error when login to bit bucket account.

"You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again."

please help me reactivate

thank you


Answers:
author: Theodora Boudale
body: Hi [@mfaster](/t5/user/viewprofilepage/user-id/5544144) and welcome to the community!

Your Bitbucket Cloud account was indeed in a dormant state. I went ahead and reactivated it. Could you please try logging in when you have some time, and let me know if the issue is resolved?

Kind regards,  
Theodora


author: Nicolas Grossi
body: [@mfaster](/t5/user/viewprofilepage/user-id/5544144) Welcome! Are you trying to log in after a long time without doing it ?

Nicolas


Tags: bitbucket-cloud

cloud
How many workspace are allowed in free account
Asked by SandeepSingh R:

How many maximum workspaces I can create in free account


Answers:
author: Ben
body: Hi [@SandeepSingh R](/t5/user/viewprofilepage/user-id/5269410)

There is no limit to the number of workspaces that can be created for any plan (including Free), although we generally recommend using projects to separate departments/teams rather than separate workspaces.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: SandeepSingh R
body: But i am unble to add members even i make wp1 : 5 users

wp2 : 5 users

Cannot add to wp3


author: Ben
body: Hi [@SandeepSingh R](/t5/user/viewprofilepage/user-id/5269410)

The "create workspace" option has been removed from the Bitbucket Cloud UI, as [new workspaces are now managed through Atlassian Admin](https://bitbucket.org/blog/unified-user-management-is-generally-available-for-new-bitbucket-cloud-workspaces).

You'll need to create a new workspace through Atlassian Admin by following the steps contained in the below documentation:

* <https://support.atlassian.com/bitbucket-cloud/docs/create-your-workspace/>

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
We couldn't clone the repository. Try rerunning the pipeline.
Asked by Sajith Madurachchi:

Hi all,

I'm getting this error randomly while trying to run bitbucket pipelines using linux shell runner. Sometimes this can be resolved by re running pipeline but occasionally had to rebase the repository. I went through previous discussion about the same topic but Atlassian engineers haven't mentioned any reason or solution for the specific matter. Hence reposting the issue.

cheers!


Answers:
author: Theodora Boudale
body: Hi Sajith and welcome to the community!

There are multiple different things that may cause this error. Possible reasons could be:

* The depth of the clone in this step may not be big enough for Pipelines to reset to the build's commit
* If the build runs on a self-hosted runners and the host machine is behind a firewall, not all of Bitbucket's IP addresses may be whitelisted
* The remote repository has broken tree entries

This is not an exhaustive list, and we cannot provide a solution without knowing what is causing the failed clone.

If you open on Bitbucket's website the page of a build that failed with this error and then expand the **Build setup** section in the log, is there a more informative error message there? Could you post the content of the **Build setup** section here (sanitize private/sensitive data first, if any)?

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
How can I migrate my Bitbucket 5.7 server to Bitbucket cloud
Asked by Ulrich van Staden:

I would like to port all repositories and user accounts


Answers:
author: Aron Gombas _Midori_
body: [@Ulrich van Staden](/t5/user/viewprofilepage/user-id/5543677) Atlassian provides tools and guides for that migration: <https://www.atlassian.com/migration/resources/bitbucket-migration-assistant>

Note that this guide is for Data Center. If you are still on Server, you can obtain a Data Center trial license, and install that to your Bitbucket. The 30 day long trial period should give you enough time to complete the migration.

comments: author: Ulrich van Staden
body: Ok, that might work thanks, Yes I am currently on version 5.7 of BitBucket server, so I might have to try the trial path. I will test this thanks.


Tags: bitbucket-cloud

cloud
How to run self-hosted runner on ipv6-only host?
Asked by Ed Santora:

I'm trying to set up a self hosted runner on an ipv6 only instance. I can successfully pull/push branches to bitbucket from the host. But when I run the runner, I keep getting

\`java.net.SocketTimeoutException: connect timed out\` errors and the Workspace runner always shows as \`UNREGISTERED\`

Is there some special runner configuration I have to update to get it to work over ipv6?

Has anyone else run across this or found a solution?

Thanks!


Answers:
author: Syahrul
body: G'day, [@Ed Santora](/t5/user/viewprofilepage/user-id/5543228)

Welcome to the community!

Unfortunately, runner only supports IPv4 at this moment. We do have an existing feature request that I highly suggest you **Vote** on and **Watch** so that you'll receive an update in the future if we have any updates at:

\* <https://jira.atlassian.com/browse/BCLOUD-22315>

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Unable to clone git repo on remote server
Asked by Bryan Cruz:

Coming back to bitbucket after a while.  

I setup a new repo, got a remote server and added an ssh key for the sudo user (not root), then added the access key in Repository Settings -\> Security -\> Access keys.

I go to remote server, \`eval (ssh-agent -s)\`, then add the only key I have to the \`ssh-add\`, make sure it's there by \`ssh-add -l\` and lastly try to clone with \`sudo git clone git@bitbucket.org:namespace/repo.git\`, but I always get the "Permission denied (public key)" error. Am I missing something?

Any help is appreciated, thanks!


Answers:
author: Theodora Boudale
body: Hi Bryan and welcome to the community!

You can use a config file to specify that this key should always be used for SSH operations to Bitbucket Cloud.

The content of that file could look as follows:

```
Host bitbucket.org
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_ed25519
```

where **\~/.ssh/id_ed25519** should be the path to the private key file and the private key's name.

The location of this file is **\~/.ssh/config** and you can create the **config** file if it doesn't exist already in **\~/.ssh**.

However, you are executing the clone command with sudo and you also mention the sudo user (not root). Sudo is not a user, it just executes commands as root, so I'm not sure what you mean by that last part.

The path of **IdentityFile** in the **config** and also the location of the **config** file should be the ones of the user you are executing the clone command with.

If you're still experiencing issues, you can run the clone command as follows to get more verbose output:

```
sudo GIT_SSH_COMMAND="ssh -vvv" git clone git@bitbucket.org:workspace-id/repo.git
```

The output will show which files are being offered and which **config** is applied. You could also post the output here (after sanitizing the repo URL) so I can take a look.

Kind regards,  
Theodora


author: Nicolas Grossi
body: [@Bryan Cruz](/t5/user/viewprofilepage/user-id/5543212) Welcome you might misconfigured the ssh key on your related environments, please review that properly.

Nicolas

comments: author: Bryan Cruz
body: [@nico](/t5/user/viewprofilepage/user-id/4082984) thank you so much for the reply!. Just to make sure there are not weird env situations, I tried recreating the key with:

```
ssh-keygen -t ed25519 -b 256 -C "sameemailforbitbucketaccount@gmail.com"
```

<br />

then adding it to the ssh agent with ssh-add

```
ssh-add ~/.ssh/id_ed25519
```

went to Access keys again, deleted the old key and added the new one from:

```
cat ~/.ssh/id_ed25519.pub
```

<br />

then trying the clone again:

```
sudo git clone git@bitbucket.org:namespace/repo.git
```

Is there something that seems out of place here?

There definitely something I'm missing, I just can't seem to figure It out.


Tags: bitbucket-unknown-hosting-type

unknown-hosting-type
This is my act how do you see it
Asked by Anthony Chiemerie:

good or dad![Snapchat-1320166200.jpg](/t5/image/serverpage/image-id/335422i5D3D98AF57684C83/image-size/large?v=v2&px=999 "Snapchat-1320166200.jpg")


Answers:
author: Nicolas Grossi
body: [@Anthony Chiemerie](/t5/user/viewprofilepage/user-id/5513134) Welcome! How can we assist you ?

Nicolas


Tags: bitbucket-cloud

cloud
Hi Team how to restore delete project/repository in new Bitbucket account
Asked by Arya Dynamics:

Hi Team,  

We are new to bitbucket code repository. As I have singup they have given me options to create project \& git repository but to naming inconsistency I ended up to delete the project \& git repository both now I am not able to create a new one  

How I can recreate project \& code repository ?   

Regards  
Arya Dynamics


Answers:
author: Syahrul
body: G'day, [@Arya Dynamics](/t5/user/viewprofilepage/user-id/5542944)

Welcome to the community!

You should be able to create a new workspace, but you won't be able to use the same name because the name is currently in use and will only be available after 30 days from when you deleted the workspace.

I hope this helps.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Clonning bitbucket repo in jenkins job fails sometimes
Asked by daviti_kenkadze:

Clonning repository in jenkins job has problem.

hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- git@bitbucket.org:companyname/sis-deployment-scripts.git +refs/heads/\*:refs/remotes/origin/\*" returned status code 128: \[2024-07-12T16:18:58.323Z\] stdout: \[2024-07-12T16:18:58.323Z\] stderr: Connection closed by 185.166.142.21 port 22 \[2024-07-12T16:18:58.323Z\] fatal: Could not read from remote repository.

Clonning sometimes works, sometimes doesn't. Your server has problem.

I've added this below with port 443 and without in \~/.ssh/config.

Host bitbucket.org

HostName bitbucket.org Identity

File \~/.ssh/id_rsa

Also, changed git@bitbucket.org:companyname/deployment-script-configs.git to ssh://git@altssh.bitbucket.org:443/companyname/deployment-script-configs/.


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

Welcome to the community!

Can you raise a support ticket with us on our [Support portal](https://support.atlassian.com/contact/#/) so we can troubleshoot the issue further?

Thanks!  
Syahrul  


Tags: bitbucket-cloud

cloud
Unable to view SVN commits in Crucible Dashboard
Asked by Pratik Waghela:

Hi Team,

I have followed all the steps which were explained in "<https://confluence.atlassian.com/crucible/starting-to-use-crucible-298977370.html>" however, when I am committing anything in my src, am unable to see it on my dashboard.

NOTE: I am using subversion (SVN) as a repository and have installed Crucible mentioned in the official site.

Also when I goto Repositories --\> My Repository --\> Repository Status, looks all good. (See snapshot **1st Repository.JPG**) but when I goto Test connection, It shows the below message:

" Fisheye and Crucible: Administration

Repository URL <https://subversion.chgfe.biz:8443/svn> does not match URL returned from the repository: <https://subversion.chgfe.biz:8443/svn/cct>" (snapshot **2nd Test connection.JPG** )![Repository.JPG](/t5/image/serverpage/image-id/38084i404250850B699A9F/image-size/large?v=v2&px=999 "Repository.JPG")![Test Connection.JPG](/t5/image/serverpage/image-id/38085i310BC8F061FDA89F/image-size/large?v=v2&px=999 "Test Connection.JPG")


Answers:
author: Pratik Waghela
body: Team, Resolved.. Changed the root URL and now it is working
I can not find the watch icon under tools in Fisheye
Asked by shahrooz nematipoor:

Hello.This is rather frustrating.  
I can not find the watch icon under tools in Fisheye.  
Because I want to let the project managers to get notification when a developer commits in the repo.  
Any help is appreciated.


Answers:
author: Felipe Kraemer
body: Hello [@shahrooz nematipoor](/t5/user/viewprofilepage/user-id/2309489),

Can you please check if repository watches are enabled, by following [this document](https://confluence.atlassian.com/fisheye/watches-960155543.html)?

In addition to that, so as to view the Watch option under Tools menu in a repository activity stream you must first [configure SMTP](https://confluence.atlassian.com/fisheye/configuring-smtp-960155604.html).

Please let us know if this helps!

Regards,

Felipe
History searching, viewing line counts
Asked by nagaraju:

History searching, viewing line counts are taking time in fish eye


Answers:
author: Felipe Kraemer
body: Hi [@nagaraju](/t5/user/viewprofilepage/user-id/2316594),

Can you please provide more details about the problem and about your instance? For example:

* Which Fisheye version is being used?
* Has this problem always happened, or has it started happening recently? If the later, what were the most recent configuration changes that took place?
* Does the problem happen when you search code from any repository or just from specific repositories?
* Do you see any errors in the application logs when the problem is replicated?
* When the problem happens, do you notice any CPU or memory usage spikes in the server hosting Fisheye?
* How long do you need to wait until you're able to see line counts?
* Which URL is presented in the web browser when you replicate the issue? This will help us reaching a similar URL in local instances and trying to replicate the issue.

Regards,

Felipe
can we write custom rules for code review in crucible?
Asked by Prashant Mali:

Is there any way to add our custom rule to review code. for example :Before the reviewer starts looking into code there should be some comments from the tool regarding basic hygiene


Answers:
author: Felipe Kraemer
body: Hello [@Prashant Mali](/t5/user/viewprofilepage/user-id/286095),

As can be seen at [Editing a project](https://confluence.atlassian.com/crucible/editing-a-project-298977543.html), it is possible to define **Default Review Objectives**, in which you can specify some text that will appear by default in all reviews created in that project, in the "Review objectives" field.

Maybe you can use this field for writing some comments regarding basic hygiene?

Regards,

Felipe
No Crucible review found!
Asked by danielsandy:

Crucible review is created in the Jira ticket, but in pull request it show there is no crucible review associated.

Error : No Crucible review found!


Answers:
author: Felipe Kraemer
body: Hey [@danielsandy](/t5/user/viewprofilepage/user-id/1183153),

Please note that there is no native way of making Crucible reviews show up in Bitbucket Pull Requests.

As it looks like you're facing an error message somewhere inside Bitbucket Server when you try to view information from Crucible side, it likely means this functionality is being provided to you by a third-party app. Do you have any third-party app installed in Bitbucket Server side that reads information from your Crucible instance?

Regards,

Felipe


Tags: bitbucket

pull-request
Connecting Git Repository
Asked by Jose Rodr?guez:

Can I connect to a Git repository on Azure Devops?


Answers:
author: Felipe Kraemer
body: Hi [@Jose Rodr?guez](/t5/user/viewprofilepage/user-id/1808178),

It should be possible to do that, once the [repository URL is provided in one of the formats accepted by Fisheye](https://confluence.atlassian.com/fisheye/git-960155459.html#Git-Gitrepositorieshostedelsewhere).

I hope this helps!

Felipe
Quality Gating
Asked by kanav002:

Is there a way to block code reviews if test conditions in the pipeline fail? This would make sure that the developer doesn't call a code review until they have addressed all issues in the automated testing stages.


Answers:
author: Felipe Kraemer
body: Hi [@kanav002](/t5/user/viewprofilepage/user-id/2267726),

Thanks for clarifying. Currently it is not possible, via web interface, to block Crucible code reviews from being created or worked on if test conditions in the pipeline fail.

If you [create reviews from the command line](https://confluence.atlassian.com/crucible/creating-reviews-from-the-command-line-335479612.html) though, it is possible to customize the Crucible Python script, making it check for these automated test results someway when it is executed (maybe via some REST API provided by your automation tool?), and block the code review creation if any of the automated tests have failed.

Just please bear in mind that [customizations are not supported by Atlassian](https://confluence.atlassian.com/support/atlassian-support-offerings-193299636.html), so if you face any problems using the Crucible Python script after customizing it your best option is to ask for help in Atlassian Community website.

Regards,

Felipe

comments: author: kanav002
body: Thank you Felipe that was helpful!

Besides using customized scripts for gating, do you know if Atlassian supports any other services for CI/CD gating of code reviews?

Nick


author: Felipe Kraemer
body: Hi Nick,

I believe Atlassian Bamboo is a great solution for that. With Bamboo you can checkout the repository source code, perform the automated tests and, if they are successful, run a [script task](https://confluence.atlassian.com/bamboo/script-289277046.html) that calls Crucible Python script in order to create the review.

Cheers,

Felipe


author: kanav002
body: Hi Felipe,

Thank you again! That was very helpful.

Nick


author: Felipe Kraemer
body: Hi [@kanav002](/t5/user/viewprofilepage/user-id/2267726),

This question was created in Fisheye/Crucible space but you have mentioned 'pipelines', which is a Bitbucket Cloud feature.

Therefore, we would like to confirm if, by 'code reviews' you are referring to Crucible reviews or to Bitbucket pull requests.

Can you please clarify that?

Regards,

Felipe

comments: author: kanav002
body: Hi Felipe,

I was referring to Crucible reviews.

Thanks,

Nick
connecting to git repo error
Asked by Viswanadh koppolu:

I am getting errors while connecting to my local repo

Error testing connection.  
Error talking to repository:   

<br />

at com.atlassian.fisheye.git.GitScmConfig.testConnection(GitScmConfig.java:120)  
at com.cenqua.fisheye.RepositoryConfig.testConnection(RepositoryConfig.java:390)  
at com.atlassian.fisheye.spi.admin.impl.DefaultRepositoryAdminService.testConnectionFor(DefaultRepositoryAdminService.java:964)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Connection failed.


Answers:
author: Felipe Kraemer
body: Hi [@Viswanadh koppolu](/t5/user/viewprofilepage/user-id/2265889),

The error message does not tell us much on what exactly is happening.

Please make sure that you have Git installed in the machine hosting your Fisheye instance.

If you had to install Git, please make sure that Fisheye was restarted afterwards.

Also, you might need to configure the [Git client executable](https://confluence.atlassian.com/fisheye/git-client-960155485.html) in Fisheye.

I hope this helps!

Felipe

comments: author: Viswanadh koppolu
body: Thanks for the reply, I figured the problem. Fisheye was not able to see git executable. I have added it to path and it works fine now.
Subversion 1.10.x LTS
Asked by Dennis Jakobsen:

Will crucible support the new LTS branch of SubVersion in the next release?

Do you have a chart of intended support for known VCS'?


Answers:
author: Felipe Kraemer
body: Hello [@Dennis Jakobsen](/t5/user/viewprofilepage/user-id/709828),

The suggestion to support SVN 1.10 is being tracked at [FE-7067](https://jira.atlassian.com/browse/FE-7067). This suggestion was not implemented yet.

For further information on how Atlassian approaches implementation of new features and improvements, please have a look at [Implementation of New Features Policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

We suggest you to ad that issue to your watch list, vote on it in order to increase its visibility to the development team, and also leave any feedback you might have there.

Regards,

Felipe

comments: author: Dennis Jakobsen
body: We switched to Git


author: Felipe Kraemer
body: Hi [@Dennis Jakobsen](/t5/user/viewprofilepage/user-id/709828),

Thanks for letting us know. That sounds like a good plan.

If my answer was helpful, may I ask you to vote on it and also mark it as accepted?

Cheers,

Felipe
FishEye and crucible consumes more cpu
Asked by kumaran85:

Hai Team,

Crcucible and fisheye installed on same server with 4 cores amd 15 gb ram. we're getting

more cpu alerts on this server. How to mitigate this issue?

When I use this command shows below output.

jstack -J-d64 -m pid

0x00007fc0fcb0e3f8 __pthread_cond_timedwait + 0x128  
0x00007fc0fbc586ef _ZN13ObjectMonitor4waitElbP6Thread + 0x28f  
0x00007fc0fba68342 JVM_MonitorWait + 0x182  
0x00007fc0e5cdfd68 \<Unknown compiled code\>


Answers:
author: Mirek
body: If talking about Fisheye/Crucible and performance.. there might be one affecting repository that is big and scanning is stuck somewhere. I suggest you to check all repositories and verify that first.

You can check this articles if you want to learn more about memory usage and performance tuning

<https://confluence.atlassian.com/fisheye/how-fisheye-uses-memory-960155711.html>

<https://confluence.atlassian.com/fisheye/tuning-fisheye-performance-960155706.html>

<https://confluence.atlassian.com/fisheye/improve-fisheye-scan-performance-960155798.html>
Excluding tags from git repository indexing
Asked by wjtucker:

I want to exclude tag indexing in FishEye for git repositories. I was looking at <https://jira.atlassian.com/browse/FE-6261> and trying to add the --Xdisable-tags option to the command line options but get an Unrecognized option: --Xdisable-tags error. I'm on Version:4.2.1 Build:20161109135523 2016-11-09. I realize that these options may be removed or changed in any future release. Just wondering if this is the case or I'm doing something wrong. What are the options to exclude tags from git repository indexing.


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Could you provide the full line for run fisheye ?

I mean after run fisheye you fetch run command using command like

```
ps aux | grep java
```

Cheers,

Gonchik Tsymzhitov

comments: author: wjtucker
body: This is the output.

/software/java64/jdk1.8.0_45_nosupport/bin/java -Xms512m -Xmx60000m -Dfisheye.library.path= -Dfisheye.inst=/upapps/svn/data/fisheye_inst/ -Djava.awt.headless=true -Djava.endorsed.dirs=/software/svn/fisheye/fecru-4.2.1/lib/endorsed -jar /software/svn/fisheye/fecru-4.2.1/fisheyeboot.jar start

I'm setting the args in the fisheyectl.sh file --

FISHEYE_CMD="$JAVACMD -Xms512m -Xmx60000m -Dfisheye.library.path=$FISHEYE_LIBRARY_PATH -Dfisheye.inst=$FISHEYE_INST -Djava.awt.headless=true -Djava.endorsed.dirs=$FISHEYE_HOME/lib/endorsed -jar $FISHEYE_HOME/fisheyeboot.jar"

But whenever I add --Xdisable-tags as an option

FISHEYE_CMD="$JAVACMD -Xms512m -Xmx60000m --Xdisable-tags -Dfisheye.library.path=$FISHEYE_LIBRARY_PATH -Dfisheye.inst=$FISHEYE_INST -Djava.awt.headless=true -Djava.endorsed.dirs=$FISHEYE_HOME/lib/endorsed -jar $FISHEYE_HOME/fisheyeboot.jar"

FishEye will not start and I get this error-

Unrecognized option: --Xdisable-tags  
Error: Could not create the Java Virtual Machine.  
Error: A fatal exception has occurred. Program will exit.


Tags: git

tag