youngmon/atlassian-qna huggingface dataset:
how to migrate from SVN to Bitbucket directly without creating local git repo
Asked by shobhitha padival:

Hi All,

I have to migrate to bitbucket from SVN, I have admin access to bitbucket but i am not allowed to create a local git repo due to business constraints. Please help me with the steps.

Thanks in advance


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

Welcome to the community.

We have a comprehensive guide on how to migrate from SVN to Git that I highly suggest you review at:

[Migrating SVN to Git](https://www.atlassian.com/git/tutorials/migrating-overview)

Regards,  
Syahrul

comments: author: shobhitha padival
body: Hi Syahrul,

Yes i have gone through this guide, but my requirement is different.. i cannot create a local git and give connectivity to SVN and git because of business rules. Thats why i wanted to know if there is a way to directly import SVN dump into bitbucket , if so, please help with the steps.

Thanks


author: Syahrul
body: Hi [@shobhitha padival](/t5/user/viewprofilepage/user-id/5551445)

Unfortunately, there is no direct way to convert SVN to Git through a web-based platform. You will need to convert them locally before pushing the Git repository back to Bitbucket.

Regards,  
Syahrul


author: shobhitha padival
body: :( thanks for clarifying.


Tags: bitbucket-cloud

cloud
repository variables access for non admin
Asked by cyril:

Hello,

I would like to have the possibility of giving users or groups that do not have admin rights access to repository variable settings.

Is it possible!?

Kind regards,


Answers:
author: Aron Gombas _Midori_
body: I don't think so.

What is the use case? Does "access" mean "read" or "write" here?


Tags: bitbucket-cloud

cloud
changes not reflecting in UI even after the deployment pipeline is successful.
Asked by Hariharan Sarangabany:

The app deployment pipeline is executed in Bitbucket. The application has been deployed into production using the pipeline, the execution of the pipeline and deployment is successful but the changes made into the application is not reflecting in the UI of the application. it's taking at least 2 to 3 days to reflect on the UI of the application. Can someone provide a solution or workaround to rectify this. That would be helpful.

Thanks!


Answers:
author: Mark C
body: Hi [@Hariharan Sarangabany](/t5/user/viewprofilepage/user-id/5551309)  

Welcome to the community.  

Would you be able to confirm what is the application you're deploying? Is it a website or a Docker container?  

Regards,  
Mark C

comments: author: Hariharan Sarangabany
body: Hi Mark,

It is in Azure container registry.

Thanks.


author: Hariharan Sarangabany
body: And it is a docker container.


author: Mark C
body: Hi [@Hariharan Sarangabany](/t5/user/viewprofilepage/user-id/5551309)  

Thanks for that information.  

Could you confirm if you are using a Pipes script to deploy?  

Regards,  
Mark C


author: Hariharan Sarangabany
body: Hi Mark,

We are using YAML script to deploy.

Regards,

Hariharan S


author: Mark C
body: Hi [@Hariharan Sarangabany](/t5/user/viewprofilepage/user-id/5551309)  

In your YAML script, are you using Pipes script such as this one? - [https://bitbucket.org/product/features/pipelines/integrations?search=Azure\&p=atlassian/azure-aca-deploy](https://bitbucket.org/product/features/pipelines/integrations?search=Azure&p=atlassian/azure-aca-deploy)  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Too many IPs required for BitBucket webhooks
Asked by tm56:

We're moving an app to a shared, secured server, protected by a firewall.

We need to allow BitBucket's webhook incoming push requests through this firewall, which offers only 20 IP rules.

BitBucket's webhook requests come from no less than [34 different](https://support.atlassian.com/organization-administration/docs/ip-addresses-and-domains-for-atlassian-cloud-products/#AtlassiancloudIPrangesanddomains-OutgoingConnections) IP addresses!

Even if we combine them with CIDR, this would still use up a lot of slots, and wouldn't leave enough rules available for the other required allowed IPs.

Is there no better way to allow these webhook incoming requests, using up less IP slots?

If not, this would mean we need to set up a pipeline for this specific app. This is quite a chore, we'd be happy to skip.

Thanks


Answers:
author: Ben
body: Hi [@tm56](/t5/user/viewprofilepage/user-id/5551347)

With constant uptime/reliability in mind - it is recommended to whitelist all of these IP addresses, as we use multiple distributed servers to deliver content/connectivity to our platforms.

I would suggest either considering an upgrade of your firewall, or preparing a Pipeline to handle this connectivity.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud

push

webhook
Not receiving email to complete verification process
Asked by Neil Cao:

I cannot receive email to complete verification process when I want to enable Two-step verification.


Answers:
author: Neil Cao
body: Resolved.

comments: author: Ben
body: Hi Neil,

I'm glad you have received this email. I did notice some bounce errors returned from your mail server that are worth investigating on your end:

* 421 4.4.0 \[internal\] no mail servers for this domain could be reached at this time

If you encounter future issues with receiving or locating any emails sent by us, please refer to the following article for troubleshooting steps:

* <https://confluence.atlassian.com/bbkb/email-notifications-not-working-1224343600.html>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
User git activities
Asked by Chiqui Sison:

Is there a way to get logs/record of user activities preferably git operations


Answers:
author: Patrik S
body: Hey [@Chiqui Sison](/t5/user/viewprofilepage/user-id/1931534) ,

thank you for reaching out to the community!

If you're looking for audit logs related to git operations under your workspace, I'm afraid that's not yet available, but we do have a feature request opened with our development team to implement this functionality:

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

However, if you're actually interested in insights/reports on the productivity of users in your workspace (number of commits, team activity, etc), while that functionality is not natively available yet, there are a series of apps in the Marketplace for that purpose that you may want to check:

* [Marketplace - Bitbucket Cloud - Reports](https://marketplace.atlassian.com/search?category=Reports&hosting=cloud&product=bitbucket)

Thank you, [@Chiqui Sison](/t5/user/viewprofilepage/user-id/1931534) !

Patrik S

comments: author: Chiqui Sison
body: Hi, thank you for the prompt response.

As for git operations activities, can details be retrieved via REST API?

Thank you.


author: Theodora Boudale
body: Hi Chiqui,

It is not possible to get logs of clones or pushes via API either.

Please make sure you add your vote to the feature request that Patrik provided by selecting the link **Vote for this issue**.

You can also add yourself as a watcher by selecting the **Start watching this issue** link, if you'd like to be notified via email on updates.

Implementation of features is done as per our policy [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) and any updates will be posted in the feature request.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

not-applicable

user-management
Can I Change the Owner of a Workspace?
Asked by BackInSoo:

Hello,

We would like to change the owner of the Workspace that our group is currently using. The current owner wishes to leave our group, but they cannot do so because we cannot find a way to change the Workspace owner (main administrator). Could you please provide assistance on how to proceed with this change?

Thank you.


Answers:
author: BackInSoo
body: A solution for this issue has been found. No response is needed.

Thank you.


Tags: bitbucket-cloud

cloud

not-applicable

user-management
Bitbucket secured env variables not being passed into windows runner
Asked by Nathan Zipf:

Hi guys, i am struggling with implementation of a windows private runner for deployment of azure resources.

The runner is configured per the bitbucket documentation and the pipeline connects to it fine.

I have 3 environment variables that I use to connect to azure via cli:

AZURE_APP_ID  
AZURE_PASSWORD -- secured env variable  
AZURE_TENANT_ID  
When i run the command to connect to azure via cli, it fails because the AZURE_PASSWORD is empty:   

az login --service-principal --username=$env:AZURE_APP_ID --password=$env:AZURE_PASSWORD --tenant=$env:AZURE_TENANT_ID  

When i write the output of the variables, it seems to confirm this.   

Write-Output $env:AZURE_APP_ID -- displays variable correctly  
Write-Output $env:AZURE_PASSWORD -- displays $echo:AZURE_PASSWORD, indicating it is null  
Write-Output $env:AZURE_TENANT_ID -- displays variable correctly

When i run the command directly within the windows VM, it works properly.  
Please advise, is there anything else i can do to test whether the secured variable is actually passed into the private runner? I am ok to echo to log if required - i will use a test secret.


Answers:
author: Patrik S
body: Hey [@Nathan Zipf](/t5/user/viewprofilepage/user-id/5406008) ,

and welcome to the Community!

In order to protect the value of Secure variables from being shown in the logs, Pipelines automatically masks secure variable values from the logs:
> If a value matching a secured variable appears in the logs, Pipelines will replace it with $VARIABLE_NAME.  

Reference: [Secured-variable-masking](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/#Secured-variable-masking)

This would explain why when you tried to print the secure variable value, it just printed the variable name instead. This does not mean the variable is empty, it's just the masking pipeline is executing to hide the actual value from the logs.

The issue in this case might be the token is not valid, or if you copy/pasted the value into the variable, it may contain a trailing/leading space that is making it invalid.

As you mentioned using a test token to confirm if the value is correct and if it's being passed to the pipeline, I would create that same variable again without using the *Secure* option and then print it in the logs.

You can then check if the value is correct and if the azure commands succeeds. Once that is confirmed, you can rotate your token and create a new secure variable with the new value.

I hope that information helps! Let us know in case you have any questions.

Thank you, [@Nathan Zipf](/t5/user/viewprofilepage/user-id/5406008) !

Patrik S


Tags: bitbucket-cloud

cloud
Authenticating with `FIREBASE_TOKEN` is deprecated
Asked by John:

I have a self-hosted server, and I'm trying to deploy, and I'm getting this error.

+ firebase appdistribution:distribute app/build/outputs/apk/qa/release/app-qa-release.apk --app $FIREBASE_APP_ID_QA --release-notes-file "app/src/main/play/release-notes/en-US/default-internal.txt" --groups android-testers  
2
? Authenticating with `FIREBASE_TOKEN` is deprecated and will be removed in a future major version of `firebase-tools`. Instead, use a service account key with `GOOGLE_APPLICATION_CREDENTIALS`:  
3
i uploading binary...


Answers:
author: Ben
body: Hi [@John](/t5/user/viewprofilepage/user-id/5529807)

Jumping in here as I've noticed you have not yet received a response from our community.

Whilst I cannot provide Firebase support specifically, I found a helpful article online that covers GitLab which can be applied largely the same to Bitbucket Cloud:

* <https://medium.com/@sky.tienyu/how-to-deploy-firebase-in-gitlab-ci-using-a-service-account-key-b2a459b63db9>

Essentially, you will need to create an SA key in Firebase and store it as a [repository variable](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/) in Bitbucket Cloud so that it can be referenced in your YML, the script for decoding/formatting to JSON can be copy pasted in your script portion of your YML config.

If you are still having issues, I'd recommend reaching out to the Firebase community on Github:

* <https://github.com/firebase/firebase-tools/issues>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud

deployment

firebase
Cannot authenticate from Fisheye to Jira
Asked by Brian Pang:

**Authentication failed!**

An error occurred while trying to obtain an access token. For application link "Jira (1110876a-431e-3e0f-a0cd-32e9918d52d3) <https://jira.ruckuswireless.com> jira"

**OAuth Problem Details**

* javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: timestamp check failed


Answers:
author: Robin Earl
body: Hey, [@Brian Pang](/t5/user/viewprofilepage/user-id/772546)

With the information you provided this is generally (lightly stating without having all the info on your setup), caused by either the root certificate authority or the issuing certificate authority does not exist in the key-store and is having issues creating/validating the cert chain.

Take a look at some of these articles to see if it gets you moving in the right direction:

<https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html>

<https://confluence.atlassian.com/adminjiraserver073/running-jira-applications-over-ssl-or-https-861253906.html>


Tags: atlassian-support

jira
Expected FS format between 1 and 7, found format 8
Asked by Joshua Barker:

Trying to use file access to add a repository for my svn server and am getting Expected FS format between '1' and '7'; found format '8' on Fisheye 4.7.


Answers:
author: Kyle Rosier
body: I'm hitting the same problem with FishEye 4.7.2. It looks like FSFS format 8 is the latest version which supports Subversion 1.10+. Source: [https://www.visualsvn.com/support/topic/00135/.](https://www.visualsvn.com/support/topic/00135/)

comments: author: Kyle Rosier
body: I updated to FishEye/Crucible 4.8.0 and I no longer see the SVN error. It appears that the latest version of FishEye supports FSFS format 8 (Subversion 1.10+).


author: Claus k?ll
body: We have the same problem ... can somebody from atlassian give some feedback please !
Issue : Upgrading existing licensed cruicble server with additonal Fish eye license
Asked by Gopinath:

Hi ,

We have 25 users Crucible license and recently purchased 5 user Fisheye license.

Since we have already configured 23 Users Crucible and when we tried add license for Fisheye we get warning message that

"You have exceeded the maximum number of users for Fisheye. Details."

Since i added i get accesstype as Fisheye \& cruicible , i dont have seperate AccessType for Cruicble so i can not add separate access type for Crucible and Fish eye and hence i am unable to use fisheye license along with cruicible.

Kindly help in solving this issue?

PFA the warning message and access![WarningMessage.JPG](/t5/image/serverpage/image-id/47969i3E0A7638FD3E12BD/image-size/large?v=v2&px=999 "WarningMessage.JPG")![AccessType.JPG](/t5/image/serverpage/image-id/47970i5D7164E6821B961E/image-size/large?v=v2&px=999 "AccessType.JPG")type screenshot.


Answers:
author: Ben Stuart
body: Hello,

According to [FishEye FAQ](https://www.atlassian.com/licensing/fisheye):

"If using Crucible along with Fisheye (in all cases), your Fisheye license must have an equal or greater number of users in order to be compatible with Crucible."

I would recommend you remove the license or purchase a larger fisheye license.

I hope this helps!

comments: author: Gopinath
body: Hi Ben,

Appreciate your response. But below is my current scenario so please advice

I first purchased 25 users Crucible license and started using it. Later I found that FishEye was not part of the Crucible, So I have now purchased 5 FishEye license for reporting capability.

Now it is not possible to re-purchase the Crucible/FishEye again as we already have these licenses. Please suggest how we can combine these and use it.

Is there a way to revise the license so that we can use both Crucible and FishEye together without a new purchase.

Please advise.

Thanks,  
Gopi


author: Ben Stuart
body: Hey Gopi,

Yes, I completely understand. I believe that our Customer Advocates can help sort out your licenses and get them consolidated. Can you please open a request here:

<https://www.atlassian.com/company/contact/purchasing-licensing>

There isn't much I can do in the community for that. :)
How to prevent 'Click to load diff' during review?
Asked by Kara Craig:

Our users have been experiencing this feature when scrolling through changes in a Crucible review, the content disappears and a link appears to "Click to load diff"

We are running Version:4.5.3 Build:20180321104931

Can someone explain (1) why this is happening, and (2) if we can prevent it somehow?

Thanks,

Kara


Answers:
author: Truss Robinson
body: I've had a user report this for the first time today - were you ever able to find a reason why and/or a fix?

comments: author: Kara Craig
body: Unfortunately, not yet.
Path of config.xml
Asked by falkeckert:

Hello,

we have an issue with the path of the config.xml.

We set the FISHEYE_HOME parameter to the data directory. When we start the application with ./fischeye/bin/startup.sh the config.xml in the data directory is loaded. When we start it with /etc/init.d/fisheye the config.xml in the installation-directory is loadead. How can we set the path of the config.xml?

Best regards

Falk


Answers:
author: Ben Stuart
body: Hey Falk,

You should have $FISHEYE_HOME defined in the service script itself.

<https://confluence.atlassian.com/fishkb/how-to-start-fisheye-and-crucible-at-boot-time-223216848.html>


author: john smith
body: *config* .*xml* . Each WebLogic Server domain contains a central *configuration* file called the *config* .*xml* , which is stored in the *config* directory. Both the Admin Server and the Managed Servers derive their run-time *configuration* information from the *config* .*xml* file.

If anyone searching government jobs visit here [Career jobs 360](https://careerjobs360.in/) for the latest information
Fisheye Crucible and multifactor authentication
Asked by Matthew_Miling:

Hello

We've got a Jira Cloud subscription but I'm also running Fisheye+Crucible in AWS. My understanding is that it is not possible to use Jira Cloud for authentication of users into Crucible, so I must provision users in Crucible separately from Jira.

One challenge is that I have our Crucible hosted on the internet because I want it to have an application link to Jira Cloud.

Is it then possible to enable multifactor in Crucible so that we can authenticate users there because I must host it on the internet? I'd prefer that for security.

Thanks


Answers:
author: Daniel Eads
body: Hey Matt,

As you've mentioned, it isn't currently possible to use Jira Cloud as the identity provider for the Server versions of our products.

What I'd suggest in this case is determining if you have an identity provider (IdP) available somewhere like ADFS, Okta, Bitium, etc that support SAML. There are [several SAML plugins for Fisheye available on the Atlassian Marketplace](https://marketplace.atlassian.com/search?product=fisheye-crucible&query=saml). Using a SAML plugin, user authentication for Fisheye would happen through your SAML IdP. The IdP would then enforce any multi-factor authentication policies you want to set up.

As an added benefit of using a SAML provider with MFA, you can also get single-sign-on with any other applications using that SAML identity provider. Hope that helps point you in a good direction!

Cheers,  
Daniel


Tags: 2-factor-authentication

jira-cloud
Project and Repository Restrictions in Fisheye/crucble 4.4.6
Asked by Sandhya:

Hello All,

We have list of projects and Repositories in fisheye/crucible

How we can restrict the below access levels

1) Application Level access

2) Project Level Access

3) Repository Level access

How we can restrict the project to only particular users/group

ex: Test project:

Test_group -

test-user1

test-user2

And the Test Project should be visible to only Test_group ,test-user1,test-user2

no one should access this project.

how we can achieve these restrictions based on Repositories and Projects.

Kindly guide me.


Answers:
author: Ben Stuart
body: We have pages on each of these topics below.

**Global Permissions:**

<https://confluence.atlassian.com/fisheye/global-permissions-960155573.html>

**Project Permissions:**

<https://confluence.atlassian.com/crucible/projects-in-crucible-298977335.html>

<https://confluence.atlassian.com/crucible/permissions-in-crucible-298977338.html>

**Repository Permissions:**

<https://confluence.atlassian.com/fisheye/managing-your-repositories-960155450.html>

I hope this helps!

comments: author: Sandhya
body: Hello Ben Stuart,

Good Day!

Thanks for your information.

Could you guide me in this requirement please

How we can restrict the project to only particular users/group

ex: Test project:

Test_group -

test-user1

test-user2

And the Test Project should be visible to only Test_group ,test-user1,test-user2

no one should access this project.

how we can achieve these restrictions based on Repositories and Projects.

Thanks,

Sandhya
Deleting a Crucible Review In Draft Mode with REST API
Asked by Dennis Fong:

I'm not sure if this is a recent change since I believe this was working before. I want to delete a Crucible review in draft mode via REST API. I was able to delete a draft with the REST endpoint

```
/rest-service/reviews-v1/{id}/transition?action=action:deleteReview
```

However, the response i get now when trying to transition a review in draft to delete is

```
"{"code":"Authorization","message":"You can't do action:deleteReview in state Draft"}"
```

If I transition the review to abandon first then attempt to delete, the error I get is

```
{"code":"Authorization","message":"You can't do action:deleteReview in state Dead"}
```


Answers:
author: lance_lyons
body: Hi, Did you every figure this out. I have the same scenario

\<?xml version="1.0" encoding="UTF-8" standalone="yes"?\>\<error\>\<code\>Authorization\</code\>\<message\>You can't do action:deleteReview in state Dead\</message\>\</error\>


Tags: api

rest-api
Is there a syntax highlight definition file for GO language?
Asked by Kevin Thomas:

I am trying to find out if there is syntax highlight definition file for GOlang.


Answers:
author: ?ukasz Chrobak
body: I wrote one:

<https://gist.github.com/Lukasz032/4d4b2d863da267b4ecc054a7dd45cd8c>


author: Ben Stuart
body: Hey Kevin,

I haven't been able to find any. It seems like a controversial topic on reddit as to whether it's even necessary for GO. You can definitely create your own tho. We have a guide here:

<https://confluence.atlassian.com/fishkb/defining-your-own-syntax-highlighting-in-crucible-or-fisheye-225120620.html>

Hope this helps!