youngmon/atlassian-qna huggingface dataset:
How can I delete my Bitbucket Product/Account?
Asked by Atlassian 320EAST:

How can I delete my Bitbucket Product/Account?


Answers:
author: Sebastian Krzewi?ski
body: Hi [@Atlassian 320EAST](/t5/user/viewprofilepage/user-id/1299984)

Did you check this - <https://support.atlassian.com/bitbucket-cloud/docs/delete-an-account/> ?


Tags: bitbucket-cloud

cloud
lost my google authenticator and recovery code. How to log in to bitbucket account ?
Asked by Onur Ekim:

my google authenticator codes reset without my any action . My company bitbucket admin try to access codes but failed. I dont want to open a new company mail.


Answers:
author: Syahrul
body: Hey [@Onur Ekim](/t5/user/viewprofilepage/user-id/5449538)

Welcome to the community.

Please check our guide below on how to reset your 2SV in Bitbucket:

[How to Disable/Reset 2FA on Bitbucket Cloud and Atlassian Account](https://confluence.atlassian.com/bbkb/how-to-disable-reset-2fa-on-bitbucket-cloud-and-atlassian-account-1236932929.html)

Make sure to follow the one under Bitbucket cloud.

I hope this helps.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Pipe for deploy a jar or war file in azure webapp
Asked by Andrea Calderon:

Hi,

We want to deploy a WebApp from pipelines using the JAR or WAR file that we create in target file in the pipeline process. Is possible this or we only can use a zip file?

Thanks for the help.


Answers:
author: Oleksandr Kyrdan
body: Hi [@Andrea Calderon](/t5/user/viewprofilepage/user-id/5446942)

Thanks for your question!

Currently, the [azure-web-app-deploy pipe](https://bitbucket.org/atlassian/azure-web-apps-deploy) supports only zip files:

```
- step:    name: "Build and test"    script:      - npm install      - npm test      - zip -r my-package-$BITBUCKET_BUILD_NUMBER.zip .    artifacts:      - my-package-*.zip- step:    name: "Deploy to Azure"    script:      - pipe: atlassian/azure-web-apps-deploy:1.1.1        variables:          AZURE_APP_ID: $AZURE_APP_ID          AZURE_PASSWORD: $AZURE_PASSWORD          AZURE_TENANT_ID: $AZURE_TENANT_ID          AZURE_RESOURCE_GROUP: $AZURE_RESOURCE_GROUP          AZURE_APP_NAME: 'my-site'          ZIP_FILE: 'my-package-$BITBUCKET_BUILD_NUMBER.zip'
```

For your case you could implement your [own custom pipe](https://bitbucket.org/blog/build-flexible-ci-cd-pipelines-with-custom-pipes) following this [Azure guide](https://learn.microsoft.com/en-us/azure/app-service/quickstart-java?tabs=springboot&pivots=java-maven-javase).  

Best regards,  
Oleksandr Kyrdan


Tags: azure

bitbucket-cloud

cloud

java

webapp
Remove bitbucket from Atlassian
Asked by Aniruddha:

Hi

I have Atlassian account with my organization email id but my organization does not use bitbucket through Atlassian .Infra team have hosted bitbucket on their own domain/server so when I try to Atlassian or clone my organization bitbucket it tries to go through Atlassian authentication because Atlassian and org bitbucket has same email id ( firstname.lastname@company.com). Want to know inputs on below .

1. Can I to remove bitbucket app from 'Switch to' or bitbucket product from my Atlassian account

2. Can I delete my Atlassian account associated with my org email and will that solve issue of bitbucket authentication thru Atlassian ?


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

Welcome to the community!

I'm not sure if I am getting this correctly or not, but it seems you have Bitbucket server and, at the same time, use Atlassian cloud (Confluence \& Jira). So when you clone from Bitbucket server, it tries to go through Bitbucket cloud instead of the Bitbucket server?

If yes, I am unsure if that's possible because Bitbucket server has its own platform and doesn't share the same Atlassian cloud authentication. Maybe check with your IT team to understand the behavior further.

If this is not the case, could you elaborate more on what you mean by when cloning you are redirected?

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Garbage collection request
Asked by Jim Palfreyman:

Could you do a garbage collection of workspace-id/repo (edited for privacy reasons) please?

I'm getting a warning that it's 3.1GB at your end, but it is only 337MB at mine. There are no large binaries in there.

Thanks,

Jim


Answers:
author: Ben
body: Hi Jim,

I have executed a gc on that repository - the size is now 335.9MB.

I would recommend that you and your colleagues perform a fresh clone of that repository locally so that you avoid potentially pushing back old refs.

Hope this helps,

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: atl-rvw

bitbucket-cloud

cloud
Customize look and feel
Asked by Raj Krishnasamy:

Is there a way to customize the look and feel of Bitbucket Cloud version? I am looking to customize the Header bar at the minimum or replace the standard logo with company's. It was very straightforward to do in Jira and Confluence. I don't see similar options for Bitbucket.


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

Unfortunately, customization of the Bitbucket cloud user interface is not currently possible.

However, you can upload an avatar for your workspace, repository, and project. Please note that these avatars are not displayed in the header bar but only when you access the settings. For projects and repositories, the avatars will appear in their respective lists.

To upload your avatar, go to the settings of the respective workspace, repository, or project.

If it's something that you wish to see in the future, please let me know I can help to raise a new feature request.

Regards,  
Syahrul

comments: author: Raj Krishnasamy
body: Hi [@Syahrul](/t5/user/viewprofilepage/user-id/744536) - Thanks for the response. I have already updated the workspace and project level avatars as you suggested. It would be to great to have the ability to customize header as well (similar to Jira and Confluence).

Please raise the feature request and I can follow on that.


author: Syahrul
body: Hey [@Raj Krishnasamy](/t5/user/viewprofilepage/user-id/5442681)

Sure, I have created a feature request on behalf of you at:

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

Please make sure to Vote and Watch them so that you'll received an update if we have any in the future.

Regards,  
Syahrul


author: Raj Krishnasamy
body: Thank you [@Syahrul](/t5/user/viewprofilepage/user-id/744536)


Tags: bitbucket-cloud

cloud

customize

header

look-and-feel
Is there a published roadmap for LTS releases?
Asked by Blake Duffey:

Is there a released roadmap for LTS releases? Or a regular release cadence?

Current LTS versions, per [Long Term Support releases \| Atlassian Support \| Atlassian Documentation](https://confluence.atlassian.com/enterprise/long-term-support-releases-948227420.html)

BB is 8.9

Confluence is 8.5

Jira is 9.12.x


Answers:
author: Julius Davies _bit-booster_com_
body: The policy is a minimum of one new LTS series per year, but sometimes more frequent:

<https://confluence.atlassian.com/enterprise/long-term-support-releases-948227420.html>

Policy and details {#toc-hId--382919315}
----------------------------------------

For our products, we will:

* Designate a feature release as a Long Term Support release, at least once every 12 months.

Note: I've also seen a few cases where the period between new LTS series starting was 13.5 months, but looks like they really try to get one out every 12 months.

comments: author: Blake Duffey
body: If that is the case, we should be getting an LTS for Bitbucket any day now (8.9 was released on April 12, 2023).


author: Julius Davies _bit-booster_com_
body: The newest LTS series was started the day of your comment here! :-) (8.19.0, 11-Mar-2024)


author: Blake Duffey
body: OUTSTANSTANDING!


Tags: bitbucket-data-center

bitbucket-server

data-center

server
Not receiving recovery link for bitbucket account
Asked by Aamir Hussain:

Hi I'm not receiving my password recovery link for my account (aamir.hussain@onpreo.de). Could you please check if this is put to the suppression list and remove it, if it is?


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

Welcome to the community!

I have removed your email from our impression list. Can you request the password reset again and let me know how it goes?

Regards,  
Syahrul

comments: author: Aamir Hussain
body: [@Syahrul](/t5/user/viewprofilepage/user-id/744536) Thank you so much. It works now. Got the recovery link


Tags: bitbucket-cloud

cloud
AccessDeniedException in check style
Asked by Dawid Hyzy:

I created bitbucket pipeline to run detekt with check style  

```
image: alvrme/alpine-android:android-34-jdk17

pipelines:
  pull-requests:
    '**':
      - step: # Runs the detekt gradle task
          name: Check code quality.
          caches:
            - gradle
            - gradle-wrapper
            - gradle-configuration
          script:
             - JAVA_OPTS="-Xmx2g -XX:MaxPermSize=1g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8"
             - export GRADLE_OPTS='-XX:+UseG1GC -XX:MaxGCPauseMillis=1000 -Dorg.gradle.jvmargs="-Xmx2g -XX:MaxMetaspaceSize=1g -XX:ReservedCodeCacheSize=440m -XX:+UseCompressedOops -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8" -Dorg.gradle.parallel=false -Dorg.gradle.daemon=false -Dorg.gradle.configureondemand=true'
             - ./gradlew detekt
          after-script: # Post comments based on the report xml created by running detekt command
             - pipe: atlassian/checkstyle-report:0.4.0

definitions:
 caches:
   gradle-wrapper: ~/.gradle/wrapper
   gradle-configuration: ~/.gradle/configuration-cache
```

Unfortunately, check style fails with


    Exception in thread "main" java.lang.RuntimeException: java.nio.file.AccessDeniedException: /opt/atlassian/pipelines/agent/build/.gradle/configuration-cache/eof19v0cm74wbz9wrfyaykwjt
    at se.bjurr.violations.lib.reports.ReportsFinder.findAllReports(ReportsFinder.java:51)at se.bjurr.violations.lib.ViolationsApi.violations(ViolationsApi.java:89)
    at com.atlassian.bitbucket.pipelines.checkstyle.report.Main.main(Main.java:98)


    Caused by: java.nio.file.AccessDeniedException: /opt/atlassian/pipelines/agent/build/.gradle/configuration-cache/eof19v0cm74wbz9wrfyaykwjtat sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
    at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
    at sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:427)
    at java.nio.file.Files.newDirectoryStream(Files.java:457)
    at java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:300)
    at java.nio.file.FileTreeWalker.next(FileTreeWalker.java:372)
    at java.nio.file.Files.walkFileTree(Files.java:2706)
    at java.nio.file.Files.walkFileTree(Files.java:2742)
    at se.bjurr.violations.lib.reports.ReportsFinder.findAllReports(ReportsFinder.java:28)
    ... 2 more

What am I missing?


Answers:
author: Igor Stoyanov
body: [@Dawid Hyzy](/t5/user/viewprofilepage/user-id/5213888) hi. Seems like the system is not allowing access to the files mentioned in the directory named in the error message.

Check the permissions, ownership and existence of the directory and files within it.

Regards, Igor

comments: author: Dawid Hyzy
body: This is a Gradle configuration cache file created during the

```
./gradlew detekt
```

task execution.

**.gradle** directory is not committed to the repository.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Bitbucket REST API Bug - "next" link on List Deployments endpoint
Asked by Michael Thomas:

I have been using the Bitbucket REST API to extract a list of deployments which have occurred for one of my repositories in a script which runs once per day. This script started failing on the 19th Feb 2024. On investigation, it appears that the "next" link I use to iterate over the paginated responses has started returning an invalid URL which can't be followed to get page 2-onwards of the results.

The endpoint I'm using is the [List Deployments endpoint;](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-deployments/#api-repositories-workspace-repo-slug-deployments-get) for example:

```
GET?https://api.bitbucket.org/2.0/repositories/myWorkspace/myRepository/deployments
```

The next link returns as follows:  

```
"next": "https://api.bitbucket.org/2.0/repositories/%7B{workspace-guid}%7D/%7B{repository-guid}%7D/deployments/&page=2&pagelen=10"
```

Note that the query parameters on this link look malformed, starting with an \& rather than a ?. If I hit this link as-is, I get a HTTP 400 response, but if I prepend the query string with a ? then the request works fine and I get a HTTP 200 with the next page of results.

Would it be possible for someone from the Bitbucket API team to have a look at this potential bug?


Answers:
author: Michael Thomas
body: Apologies, I didn't realise there was a separate "Submit a bug" mechanism. I have since found an existing bug for this issue:  
<https://jira.atlassian.com/browse/BCLOUD-23130>


author: Theodora Boudale
body: Hi Michael,

Thank you for reaching out and reporting this.

The bug report you shared is for a different API endpoint. I went ahead and created another one for the deployments endpoint here:

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

You can select the link **This affects my team** in the bug report to indicate you are affected by this issue. You can also add yourself as a watcher (by selecting the **Start watching this issue** link) if you'd like to get notified via email on any updates.

Our development team will post an update there when this is fixed. Please note that we don't provide ETAs and bug fixing is implemented as per our policy [here](https://confluence.atlassian.com/support/atlassian-cloud-bug-fix-policy-206865884.html).

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Rebase fast forward for update pull request
Asked by Jessy Giacomoni:

Hello  
When I create a pull request and it is behind the branch I want to merge, bitbucket only offers me to make a merge git commit.

I'd like to do a rebase fast forward instead, is that possible?

Thanks,


Answers:
author: Saxea _Flowie_
body: Hi [@Jessy Giacomoni](/t5/user/viewprofilepage/user-id/5443427) ,

This is not available, there are a few open requests about rebase support on [Bitbucket cloud Jira](https://jira.atlassian.com/browse/BCLOUD-23146?filter=98686).

[Flowie](https://flowie.app/), the addon we provide for Bitbucket cloud, adds support for rebase and bunch of other features too. Hope it helps!

<br />

<br />

comments: author: Jessy Giacomoni
body: Oh yeah ! Thank you for this add on !


Tags: bitbucket-cloud

cloud
Repository was deleted
Asked by Wouter van Rij:

Hi,

Somehow, our repository got deleted and I need it back, because I have no back-up. Is this possible in the User Interface of BitBucket?

My project and repo location is: <https://bitbucket.org/workspace-id/repo/>

thanks,

Wouter.

\[Edited to remove workspace id and repo name for privacy\]


Answers:
author: Ben
body: Hi Wouter,

Restoring a deleted repository is not possible through the UI, but I have restored this for you as it was deleted only recently and therefore we have [backups](https://confluence.atlassian.com/bbkb/does-bitbucket-backup-my-repositories-1168845079.html) available - you can find it with the following name inside that workspace:

* repo_2024-03-07--19-34-46--345154

where **repo** is the repo name.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Invitation mail to workspace stopped working recently. We have a propietary mail server.
Asked by Yudel Martinez:

Invitation mail to workspace stopped working recently. We have a propietary mail server. They were working till recently.


Answers:
author: Syahrul
body: Hey [@Yudel Martinez](/t5/user/viewprofilepage/user-id/5447572)

I have removed all bounces on your email domain from our end, and hopefully, this should now allow you to receive an invite email.

Can you re-invite your user again and let me know how it goes?

Regards,  
Syahrul

comments: author: Yudel Martinez
body: Greetings Syahrul, the issue remains. The invite is not arriving.


author: Syahrul
body: Hey [@Yudel Martinez](/t5/user/viewprofilepage/user-id/5447572)

I can confirm that there were no issues with our latest email, leading me to suspect that your user may have certain filters activated, which could potentially be sorting out our invitation emails. I recommend asking users to thoroughly check their mailbox, including the spam and other folders. If necessary, they might need to turn off any active filters temporarily.

Regards,  
Syahrul


author: Michael Yaroshefsky - Visor for Jira
body: Hi [@Yudel Martinez](/t5/user/viewprofilepage/user-id/5447572)

Welcome to the Atlassian Community.  

Sometimes email invites and notifications from Atlassian aren't delivered correctly.   

While I don't know the specific proprietary mail server you're using, this Atlassian support article may help you: <https://community.atlassian.com/t5/Jira-Software-articles/Unblocking-Office365-emails-for-Atlassian-Cloud/ba-p/1870108>  

If this doesn't work, you can try contacting Atlassian support directly.  

I hope this helps,  

Michael


Tags: bitbucket-cloud

cloud
How to change the Crucible logo and header colour?
Asked by Gsep Support:

Can someone help me to change the crucible logo and header colour?

I've tried the below stuff:

<https://confluence.atlassian.com/display/FISHKB/Customizing+FishEye+and+Crucible+Look+and+Feel>

<https://confluence.atlassian.com/display/FISHKB/Customizing+FishEye+and+Crucible+Look+and+Feel>

But nothing helps.

Thanks


Answers:
author: Piotr Swiecicki
body: You may want to take a look at <https://confluence.atlassian.com/pages/viewpage.action?pageId=634454256> document to find out how to change the logo. But keep in mind the note included on the page, such customisation is not supported.

Hope that helps,  
Piotr

comments: author: Gsep Support
body: Hi ..I tried the same but still not working.Shutdown your FishEye instanceNavigate to the following folder \<FishEye_Home\>/content/static/Under the static folder, there will be a single generated subfolder with random name, navigate into that subfolder and then navigate to 2static\\styleLook for the CSS filename that starts with "concat.style.xxxxxx.css"Backup the CSS file mentioned above.Open the file in any text editor such as Notepad++ and navigate to the bottom of the page, then add the following CSS:-.aui-header .aui-header-logo-fecru .aui-header-logo-device{background-image: url('\<URL\>') !important;}Close and save the fileNext find a compressed filename "concat.style.xxxxxx.css.gz", then backup the file and delete itStart your instance and the changes should be reflected.Any recompile needs to be done after the above changes?


Tags: fisheye-crucible-administration
Added users getting deleted automatically in Fisheye 2.10
Asked by Sharda Gupta:

Added few users in Fisheye using Crowd, appear as deleted repeatedly.

I have done "Request for Garbage Collection" as well. Does this affect user addition?

Only once I did Garbage collection and after that 2 times added user, within 30 mins all newly added users getting deleted as if not added at all.

No upgrade in Fisheye as well.

Please help...

In log, i get error as : ***INFO \| jvm 1 \| 2015/02/23 05:28:49 \| 2015-02-23 05:28:49,386 WARN - Could not import user "u190062". User already exists on ajp***

made user authentication as CROWD, instead of AJP but issue is still the same.


Answers:
author: Sarath Madap
body: Need to chcek if JIRA groups are synched with Fisheye or not:

Fisheye-\> Authentication-\> Jira/Crowd authentication-\>edit-\> next-\> select group to synch.


Tags: fisheye-crucible-administration
Is fisheye necessary for crucible?
Asked by Brian Walsh:

Setting up Jira/Stash/Crucible to integrate with Git. Do I need fisheye? I assume not, am I missing something?


Answers:
author: user1648639125013
body: Hi Brian,

Crucible can run standalone without a FishEye license present and thus without the added functionality that FishEye provides.

This omitted functionality without FishEye present is described in the following documentation;

<https://confluence.atlassian.com/display/CRUCIBLE/What+happens+if+I+decide+to+stop+using+FishEye+with+Crucible#WhathappensifIdecidetostopusingFishEyewithCrucible-HowisCruciblewithoutFishEyedifferentfromusingCruciblewithFishEye>?

Kind Regards,

Chris


Tags: fisheye-crucible-administration
Is there a way to retire old Crucible projects without deleting them?
Asked by Mui, Eddie:

Is there a way to retire or disable old Crucible projects without deleting them? I want restructure our projects without losing the review history tied to the old projects names.


Answers:
author: Maciej Swinarski
body: Hi Eddie,

The example REST was introduced in Crucible 3.5 REST Admin API, so you will have to do it manually via the Administration Project Schemes and Project screens.

The REST Admin API in 2.10 was quite minimal: <https://docs.atlassian.com/fisheye-crucible/2.10.0/wadl/fecru.html>

mac


author: Mui, Eddie
body: Hi Maciej,

Thanks for the quick response and solution.

To answer your question for clarity, I would like to allow the users to still be able to view the reviews, but not be able to create new reviews. I am planning on creating new projects that users should use going forward once the old projects are retired. I would not want them to need to see or select those old projects when creating a new review, only new active projects.

I will try your suggestion to change the permission scheme. I'm not very familiar with the REST API, but can run a few tests by manually changing the permission schemes. Is there documention on the REST API that I can download or view. We are running version 2.10.4.

Thanks,

Eddie


author: Maciej Swinarski
body: Hi Eddie,

What exactly would you like to achieve by disabling the project?

* users would still be able to view the reviews but not able to create reviews?
* users would not be able to view nor create new reviews?

Both scenarios above could be achieved by creating a custom permission scheme for "old projects".

Note: if you have many "old projects" you can modify the permission scheme via REST:

```
PUT /rest-service-fecru/admin/projects/{key}{"permissionSchemeName" : "old_project_ps"}
```

mac


Tags: fisheye-crucible-administration
Connect Jira to SVN through fisheye
Asked by Rahul Seth:

Hi Guys,

Can you please tell me the steps to connect JIRA to svn through fisheye. I read the article online but didn't understand. Please help me. Also tell me how configure fisheye. Is fisheye is similar to JIRA where I need to create my user name.


Answers:
author: rahuldanwade
body: Hi Rahul,

1.Create an **"Application Link"** Between JIRA and Fisheye.

2.Then enable Smart Commit feature in Fisheye.

3.While doing commit from SVN use **JIRA issue Key** inside your commit message(If you want to connect this commit to an issue inside JIRA ).