youngmon/atlassian-qna huggingface dataset:
unlock account <email_removed>
Asked by Marco:

Buongiorno,

potresti sbloccare l'account \<email_removed_for_privacy\>.  
Al momento sono registrato correttamente ma non riesco ad accedere ai vostri sistemi.

Best \& Regards

Marco


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

Your Bitbucket Cloud account was deactivated, which is the reason why you couldn't log in. I went ahead and reactivated it, could you please try logging in when you have time and let me know if it works?

Just a heads up, I removed your email address from your post to protect your privacy. There is no need to post an email address if your community question is created from an account with the same email, as Atlassian staff can see the email of your community account.

Kind regards,  
Theodora


author: Peter Van de Voorde
body: Hi [@Marco](/t5/user/viewprofilepage/user-id/5352726) ,  

Welcome to the Atlassian Community.   

For a blocked account it's best to reach out directly to Atlassian Support here: <https://support.atlassian.com>  

Cheers,  
Peter


Tags: bitbucket-cloud

cloud
Recover deleted Bitbucket Workspace
Asked by JongHun,Park:

Greetings

After an unfortunate turn of events I got my Bitbucket Workspace deleted and all its associated repositories.

This happened around today's date

Is there any way to recover them? I do not have a local copy of the source code.


Answers:
author: Theodora Boudale
body: Hi JoungHoon and welcome to the community.

I'm afraid that we cannot recover a deleted workspace.

If there were other users with access to this workspace, I would suggest asking them if they have locally on their computers a clone of this workspace's repos. If they do, you can create a new workspace and empty repos, and then the users could push to these empty repos from their local clone.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Bitbucket account admin credentials not working, when trying to clone repo via windows git bash
Asked by WhatIsTheQuestion:

I have a bitbucket account and created a repo to test how i can integrate bitbucket into my local dev setup.

I installed git on windows. Nothing else. And now I want to do a git clone from the git bash.

I use the command provided in the bitbucket repo with the https url. And I use the same password I use when logging into the bitbucket account. But ...

```
$ git clone https://WhatIsTheQuestion@bitbucket.org/WhatIsTheQuestion/bitbucket_test_repo.git
Cloning into 'bitbucket_test_repo'...
remote: Invalid credentials
```

I can also use the repo link only. Then it asks me for username and password. I tried both combinations (username+password and email+password). But ...

```
$ git clone https://bitbucket.org/WhatIsTheQuestion/bitbucket_test_repo.git
Cloning into 'bitbucket_test_repo'...
remote: Invalid credentials
?
```

I had a look at the permissions of the repo and project. There are no special permissions. The admin user (the only user) has unlimited access anyways and therefor can not be added to the permissions lists.

What am I missing? Thanks!


Answers:
author: WhatIsTheQuestion
body: Ok, I found out myself. I needed to set an app password first to make a call to bitbucket via git clone ... . Now it works. Yay!

App passwords in the atlassian documentation:

<https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>


Tags: bitbucket-cloud

cloud

login
Installing Bitbucket Migration Assistant
Asked by Sara Burns:

I am trying to install the Bitbucket Migration Assistant via UPM (is that correct) but am only seeing a button to Request. I believe I am an Administrator.

Are there detailed instructions available for Bitbucket Administrators, who have only recently taken on that role as part of the required migration to the cloud.

I have restricted experience with Bitbucket in the Developer sphere but our system was setup by external folk who are no longer available.

All assistance appreciated.


Answers:
author: Sanjen Bariki
body: Hi [@Sara Burns](/t5/user/viewprofilepage/user-id/5352276) ,

Welcome to Atlassian community!

No you can install it from the Managae Apps section Settings \>\> ADD_ONS \>\>Find new apps \>\> Install the apps ( Bitbucket Cloud migration assistant )

Please find the below documents to Install Bitbucket Migration assistant and process steps.

* **[Bitbucket Migration assistant JAR](https://marketplace.atlassian.com/apps/1226610/bitbucket-cloud-migration-assistant?tab=overview&hosting=server)**
* **[Document for Migration Resources](https://support.atlassian.com/migration/resources/)**

Kindly check and let me know If you have any slight doubts.

**Please accpet the answer If it helps you ?.**

Regards,

Sanjen Bariki

comments: author: Sara Burns
body: Thank you Sanjen. Turns out the license update had not been applied to Bitbucket due to an internal issue. Also I was Admin not SysAdmin, which is the required level I believe. When I followed your instructions I needed to select "By Atlassian" to get the Bitbucket Cloud Migration Assistant to appear in the list.

Once visible it now had an Install button, which I could click, rather than the Request button that I had seen before.

Took a while to work this all out as the old license expired only a couple of months before the Migration Assistant was first released. The license had been updated on Confluence so I didn't look at Bitbucket, expecting it to be the same, as I was assured that it was licensed. Just not applied.

I shall now proceed with the migration testing.

Sara


Tags: bitbucket-server

migration-customer-care

server
Create repository
Asked by cewebab:

Hello, I've been using Bitbucket for more than 10 years and really enjoy it. But returning after a year something is wrong.

First of all I would like not make a public question. When I get help from you I will remove this question.

Second, I need to login on each service.

The real issue. I returned to Bitbucket to create a repository. I see the big blue CREATE button but it only give me an option of creating a Snippet. What is this?

There seems to be an authorization issue but I cannot add myself as admin to my on project or repositories.


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

Welcome to the community!

Based on your description, you don't have admin access to the workspace; hence, you can't create a repository or perform any other administration task.

You will have to reach out to the workspace admin to grant you administrator permission in this case.

To list out the workspace you have access to, please click the avatar icon on the top right corner \> All workspace or access it directly at: <https://bitbucket.org/account/workspaces/>

If you see \*Managed\* on the right side under the action tabs, you have admin access to the workspace. Clicking manage should allow you to view the administrator page. If nothing, then you don't have administrator access, which is why the create button only shows snippets when you are viewing the workspace.

I hope this helps.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Tags and commits
Asked by Joao Pedro Correia:

Good afternoon!  
Can I use a pipeline to prevent a commit from being made or something specific, for example in bitbucket cloud there is no validation for tags, so for example I want to prevent commits on a tag, to leave it immutable or even prevent its deletion, we know that git has a feature called git hook, can I implement this within the pipeline so that it blocks any commit before interacting with the repository?


Answers:
author: Syahrul
body: Hey [@Joao Pedro Correia](/t5/user/viewprofilepage/user-id/5348574)

I'm not getting your goals here, so I would appreciate it if you could give more context.

That said, in Bitbucket cloud, you can't directly use a pipeline to prevent a commit from being made or enforce Git hooks to block commits at the server level. Bitbucket cloud doesn't provide server-level Git hook capabilities like some other Git hosting services do.

You can take some alternative approaches to achieve similar outcomes using the following features:

* [Branch restrictions](https://support.atlassian.com/bitbucket-cloud/docs/configure-a-projects-branch-restrictions/)
* [Webhook](https://support.atlassian.com/bitbucket-cloud/docs/manage-webhooks/)

I hope this helps.

Regards,  
Syahrul

comments: author: Joao Pedro Correia
body: <https://confluence.atlassian.com/bitbucketserver/using-repository-hooks-776639836.html#Usingrepositoryhooks-Defaultpre-receivehooks>

<br />

I would like something like a pre-recive that analyzes before entering the cloud, similar to the link above, but I haven't found this functionality.


author: Joao Pedro Correia
body: Is it possible to use branch restrictions on TAGs, such as stopping the name, being immutable, not allowing deletion?


author: Syahrul
body: Hi [@Joao Pedro Correia](/t5/user/viewprofilepage/user-id/5348574)

It's not possible to use git hook in Bitbucket cloud or tags restriction. We do have an existing feature request on this at:

* [Git server-side "pre-receive" hook](https://jira.atlassian.com/browse/BCLOUD-10471)
* [Restrict tags](https://jira.atlassian.com/browse/BCLOUD-10967)

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
How to upload maven artifacts to my repo?
Asked by Dev Ops:

I have a pom parent project on BitBucket (BB). I am using BB pipeline to Build and Test (mvn install) the project. I have another jar project that uses the previous pom project as parent but I cannot build this project since in the new container it loses the awereness of the parent pom project. So Ideally I need to push my pom artifact into BB so the jar project can pull it. Any suggestions on how to setup my pipeline, pom.xml and BB to achieve this if at all possible. Thank you.


Answers:
author: Theodora Boudale
body: Hi [@Dev Ops](/t5/user/viewprofilepage/user-id/4340297)!

It's not clear if the pom project and the jar project are part of the same Bitbucket repo. If they are, and if you have one pipeline with multiple steps, you can share files produced in one step with the following steps by using Bitbucket artifacts:

* <https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/>

If you want to share files between different pipelines of the same repo or between pipelines of different repos, you could use an API call to upload a file to the **Downloads** section of the repo (in the step that produces this file):

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-downloads/#api-repositories-workspace-repo-slug-downloads-post>

Then, with a curl or wget command, you can download the file in the second pipeline.

Please keep in mind that if you use our API to upload a file to the **Downloads** section and a file with that name already exists there, then it will be replaced by the new file you upload.

Please feel free to reach out if you have any questions!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Pipeline really slow since yesterday
Asked by hendrawankuncoro:

The pipeline previously run less then 10 minutes, since yesterday it run almost an hour.  
Where no significant changes in the pipeline codes.

![image (9).png](https://community.atlassian.com/t5/image/serverpage/image-id/288714i0EE155D308F2714D/image-size/large?v=v2&px=999 "image (9).png")


Answers:
author: Syahrul
body: Hey [@hendrawankuncoro](/t5/user/viewprofilepage/user-id/2407888)

There could be several reasons why the build slowed down, for example:

1. **External Dependencies:** Your pipeline might rely on external dependencies, such as third-party services, databases, or APIs. If these services are experiencing slowdowns or outages, it can affect your pipeline's runtime.
2. **Resource Constraints:**High memory consumption within your build or services container. This is typically the issue with code changes that can cause the services to use more memory and slow down the whole pipeline build.

However, it's hard to say what the issue is without reviewing your pipeline build, so could you please verify with me if the new build is still slow? If yes, we can create a support ticket to investigate further.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
No 2AF authorization and recovery codes
Asked by Dmytro Smishniy:

I just created a bitbucket account and enabled 2FA authorization. But I deleted an application on my mobile with authorization by accident. So, now I haven't access to my account. No recovery codes or SSH keys were saved. I clicked on "Forgot code?" and asked for recovery email, but didn't rececive one after almost after a day. What should I do now?


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

I can see in our system that we sent a 2FA recovery email to your email address on Friday. Your email address is not in any of our suppression lists and all the emails we have sent show to have been delivered.

Please make sure to check your Spam folder and if there are any filters that would prevent our emails from showing in your Inbox.

If you still haven't received anything, please feel free to let me know and I can send another 2FA recovery email since more than 24 hours have passed since your recovery request.

Kind regards,  
Theodora


author: Anderson Botega
body: wait 24 hours.


Tags: bitbucket-cloud

cloud
How to gracefully skip deployment without marking the deployment as successful?
Asked by Abdillah:

BitBucket deployment correlates with JIRA card. So, when deploy using pipeline, the card status reflects the step failure/successful result. On the other hand, I need a way to skip deployment altogether, because some commits' requirement (e.g. incomplete commits).

By exiting with \`exit -1\`, this will stop the pipeline entirely. By exiting with \`exit 0\` it marked the deployment as successful. How to skip this deployment and take a middle road to still continue the pipeline AND marked the deployment step as skip?


Answers:
author: Theodora Boudale
body: Hi [@Abdillah](/t5/user/viewprofilepage/user-id/2595765),

I'm afraid that this is not possible at the moment. A pipeline step needs to be completed successfully for the next steps to be executed.

We have a feature request for what you are asking:

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

You can see here the latest update by one of Bitbcuket's Product Managers regarding this feature:

* [https://jira.atlassian.com/browse/BCLOUD-20833?focusedId=3342917\&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-3342917](https://jira.atlassian.com/browse/BCLOUD-20833?focusedId=3342917&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-3342917)

You can add your vote to this feature request to express your interest and you can also add yourself as a watcher if you'd like to be notified via email on updates.

In the meantime, one thing you could do is create a separate custom pipeline for each deployment environment and execute the one(s) you want manually:

* <https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/#Custom--manual--pipelines>

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


Tags: atl-pipelines

bitbucket-cloud

cloud

deployment
i want to setup bitbucket pipeline in existing project. how i achieve that
Asked by abhay Marwade:

I have a project repository on Bitbucket with approximately 600 branches, including features and hotfix branches. I've recently created a new pipeline in Bitbucket to scan the code using SonarCloud. I've also created a `bitbucket-pipelines.yml` file in the master branch. My goal is to apply this pipeline configuration to all existing branches. Currently, the `bitbucket-pipelines.yml` file is only in the master branch. When I make changes in the master branch, the pipeline is triggered, but it doesn't trigger when I make changes in any other branch. Can you please provide a solution for this issue?


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

The bitbucket-pipelines.yml file needs to exist on every branch that you want to run a pipeline. If you want to run a pipeline for every existing branch, you will need to commit and push the file to every branch.

If you want the exact same pipeline to be executed for every branch, you can use the same **default** definition in every yml:

* <https://support.atlassian.com/bitbucket-cloud/docs/pipeline-start-conditions/#Default>

Please feel free to reach out if you have any questions!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
When the token contains a '/', we encounter a 'bad/illegal format' error.
Asked by Rithesh Mahesh:

When the token contains a '/', we encounter a 'bad/illegal format' error. How can we handle this situation or modify the token to prevent this error?  

Error  
1fatal: unable to access 'https://{{user_name}}:ABCDEFG/123kdndfor+@stash.xyz.com/stash/{{project_name}}/{{repo_name}}.git/': URL using bad/illegal format or missing URL


Answers:
author: Christian Glockner
body: Hi Ritesh,

Have you tried using **%2F** in place of the slash?

Cheers,  
Christian  

Premier Support Engineer  
Atlassian


Tags: bitbucket-server

server
Pull request to develop showing changes that is not mine
Asked by tasken_emauricio:

Hi everyone!

I'm trying to create a pull request here, but some strange is happening...

First, I create a hotfix branch from master, I committed my changes, and then opened two pull requests, one for master and one for develop.

For master, everything is ok and only my changes appears:

![1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/288571i71DB6F7DBC8A4D63/image-size/large?v=v2&px=999 "1.PNG")

However, for develop, others changes appear that are already in develop and they interfere on the pull request analysis:

![2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/288572i798666C69E347E0C/image-size/large?v=v2&px=999 "2.PNG")

How can I avoid this problem? :(


Answers:
author: tasken_emauricio
body: Hi [@Mark C](/t5/user/viewprofilepage/user-id/1210823)

We use this merge strategy:

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/297061i6E50CD63CE2C08D0/image-size/large?v=v2&px=999 "Capture.PNG")

But, sometimes when de PR contains a conflict is necessary resolve the conflict and merge by Source Tree. I don't now what merge strategy Source Tree uses.

Thank you !

comments: author: Mark C
body: Hi [@tasken_emauricio](/t5/user/viewprofilepage/user-id/4206493),

It is possible that a different merge strategy was used for master and develop, hence, you're getting a different result.  
For example, the "squash" merge strategy was used for master and "merge commit" was used for develop.

For that, you can try using one merge strategy for both branches to get the same result (e.g. merge commit strategy).

Regards,  
Mark C


author: Mark C
body: Hi [@tasken_emauricio](/t5/user/viewprofilepage/user-id/4206493),

Thank you for reaching out to the community.  
Would it be possible for you to confirm what merge strategy the team is using to merge pull requests?

Regards,  
Mark C


Tags: bitbucket-cloud

cloud

pull-request
All repositories list and member list of bitbucket users
Asked by gs51:

Hello Team, please help and share the all repositories list for sheet and member list


Answers:
author: Ben
body: G'day gs51!

You can export a list of your users against a workspace in the UI by navigating to **Workspace Settings \> User Directory \> Export button**(only a workspace admin can perform this).

If you need a list of your repositories, you can leverage our [/2.0/repositories API](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get) - you will need to first configure an [App Password](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/) to use for authentication purposes and then execute a cURL command in the format below:

```
curl -X GET --user <username>:<AppPassword> --url https://api.bitbucket.org/2.0/repositories/<workspaceID>
```

**NOTE:** you will need to replace username, AppPassword, workspaceID with actual valuers (without the \<\> symbols)

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Plans for improving the permission management in Crucible
Asked by Xabier Davila:

Hi,

Do you have any plans in your roadmap to improve the permission management in Crucible?

At this point, we're managing projects and repositories visibility by:

# Creating an AD group to manage access to the Crucible/FishEye project

# Creating a new permission schema for each project and assigning the above group to the \*Create\* and \*View\* reviews

# Changing the permissions for the repo, so only the AD group can see that.

Thanks

<br />


Answers:
author: Felipe Kraemer
body: Hi Xabier,

We are always willing to improve our products, and a list of feature / improvement requests not implemented yet can be found [here](https://jira.atlassian.com/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+%3D+CRUC+AND+text+%7E+permission+AND+status+in+%28Open%2C+%22Needs+Triage%22%29+AND+issuetype+in+%28Improvement%2C+%22New+Feature%22%29).

Is there something specific you're looking for?

If you prefer, you can create a new improvement request in our development issue tracker: <https://jira.atlassian.com/browse/CRUC>

Cheers,  
Felipe Kraemer


Tags: permission
Users and Groups in FishEye
Asked by Vladimir Belorusets:

JIRA has a role of a Project Administrator. He can assign users/groups to the Users (read) and Developers (read/write) roles.

In FishEye, a project is equivalent to a repository.

Is it possible to create a user in FishEye, like a Project Administrator in JIRA, who can create groups and assign members to those groups for **one** repository only? Unlike FishEye admin, this is just one repository admin.


Answers:
author: Douglas Fabretti
body: Hi Vladimir.

Currently there is no such feature, I did a research in our <http://jira.atlassian.com> and wasn't able to find any related *Feature Requests*.

There is already a JAC opened for that:

<https://jira.atlassian.com/browse/CRUC-833>

I suggest you to watch and vote on it so you can get updated about any changes.

Sorry for not being able to help you at this time.

Best Regards,  
**Douglas Fabretti**   
**Atlassian Support**


author: Felipe Kraemer
body: Hi Vladimir,

You can define a user as administrator in FishEye by going to FishEye Administration \> Security Settings \> Administrators.

Any administrator in FishEye is able to create groups and associate other users with this newly-created group. To do so, please go to FishEye Administration \> Security Settings \> Groups.

Then, to restrict access to a repository only to this group created above, you can go to FishEye Administration \> Repository Settings \> Repositories, click on the repository name, click on the Permissions tab on the left side, disable the "Use repository defaults" option, and select only that specific group.

Please let us know if you need further clarifications.

Cheers,  
Felipe Kraemer

comments: author: Vladimir Belorusets
body: Hi, Felipe:

Let me restate my question.

In JIRA, we have a Project Admin role. A FishEye administrator is equivalent to a JIRA administrator.

Is it possible to create a role of a Repository Admin who can create groups and assign members to them just for that repo he is admin for? FishEye admin is an admin for **ALL** repos which differs from what I'm asking.