youngmon/atlassian-qna huggingface dataset:
It seems like Bitbucket is really slow
Asked by omir:

Anyone else having the same issue? On the bitbucket.org website and sourcetree it seems like ages before anything loads.


Answers:
author: Nikola Perisic
body: Hello [@omir](/t5/user/viewprofilepage/user-id/4683438)

There is an active incident from Atlassian status page:

![Screenshot 2024-02-22 at 09.54.15.png](https://community.atlassian.com/t5/image/serverpage/image-id/308041i8E23FE4436D81D3E/image-size/large?v=v2&px=999 "Screenshot 2024-02-22 at 09.54.15.png")

You can visit this page: <https://bitbucket.status.atlassian.com/> and click on Subscribe to get informed about the active incident - click Subscribe within the incident rectangle.


author: Sebastian Krzewi?ski
body: Hi [@omir](/t5/user/viewprofilepage/user-id/4683438)

Looks like bitbucket have issues today - <https://bitbucket.status.atlassian.com/>

You need to wait till Atlassian fix this.

Regards,

Seba

comments: author: omir
body: Hi [@Sebastian Krzewi?ski](/t5/user/viewprofilepage/user-id/1561725)

Thanks for letting know. I checked the status before asking this question and all was showing like "operational" and green. But, I see they now have changed the status. Will have to wait. Thanks anyway!


author: Alexander Berthold
body: No update for \>1h now, builds are not starting, UI generally totally unresponsive.

comments: author: Alexander Berthold
body: It starts to really hurt us. Now we're approaching 3h of a de facto total outage of bitbucket UI + pipelines, without a sign of any improvement or priority :(


author: james_cooke
body: Is this fixed for you yet? Atlassian say the incident is resolved but our pipelines still won't work. I've raised a ticket but this is becoming really painful.


author: jds
body: Still an issue even though the incident is marked as resolved.


author: james_cooke
body: They have now changed the service status for this problem


Tags: bitbucket-cloud

cloud
User has two accounts - Bitbucket sync issue
Asked by Alyssa Shane:

Hello! Our usual procedure for adding a new user to Bitbucket is not working properly. In the past, when the new employee's email is created in Google, they are automatically added to Atlassian as a user and receive an invite. The person responsible for Bitbucket is then able to also see the new employee as a user in Bitbucket and from there will add the new employee to the correct group so they will then have the correct access. HOWEVER, this time, we could see the new employee in Atlassian under the users and he received the invite so he can access Jira and Confluence, but he never showed up in Bitbucket. Could a sync be broken? Did we reach a limit of some kind? Is there a way to push a connection? (It doesn't help that I have never been able to access Bitbucket myself...the 2-step has never worked for me but I have been able to rely on other to manage that side from a user and operations standpoint.)

Unfortunately, we then decided to try manually inviting the new employee to Bitbucket and he has now informed us that he sees TWO accounts. One being the one that was automatically created when his email was created in Google and the other being the account connected to the invite manually generated to Bitbucket. We need just one login/account.

Please help us fix this issue! Ideally, we need instructions on how to delete the manually created account, push a sync between Bitbucket and Atlassian and get him added via our usual process to Bitbucket...unless there is another way to fix this that we don't know.

Please note...I am not an IT person so I ask that you please use layman's terms when responding. THANK YOU!


Answers:
author: Patrik S
body: Hello [@Alyssa Shane](/t5/user/viewprofilepage/user-id/5435569) ,

and welcome to the Community!

I noticed you have opened a support ticket with us regarding this issue, as you have an active Bitbucket subscription.

In this case, I would suggest focusing the investigation on the support ticket to avoid any confusion that may arise from discussing the same issue in multiple places.

Once the issue is resolved in the support ticket, feel free to share the solution here in the community if you feel comfortable with :)

Thank you, [@Alyssa Shane](/t5/user/viewprofilepage/user-id/5435569) !  
Patrik S

comments: author: Alyssa Shane
body: Thank you Patrik! The employee was able to cancel one of the accounts. So, I believe for that new employee, we are fine. I would still like help from Support to figure out why his account didn't show on Bitbucket when we were trying to add him as it should have popped over from Atlassian and didn't. I will write to Support to update them though.


Tags: bitbucket-cloud

cloud
Cache keys in self-hosted runners vs cloud
Asked by Marcus:

Hi,

we're trying to integrate self-hosted runners in our pipeline. We want to have a pipeline, where some steps are running in the cloud and some others are running on the self-hosted runners.

Now we're getting a problem with the caches. The self-hosted runners are sometimes not recognizing the present caches.

After some investigation, i figured out, that they're using different cache keys, for the same cache,

We have a pipeline with two steps, which are using the same cache and where both steps are working on the same code base.

The cache definition is like the following:  

```
nodemodules:
    key:
        files:
            - package.json
            - package-lock.json
    path: ./node_modules
```

Now in the first step (which is running on self-hosted) the log looks like this:

```
Cache "nodemodules: ./node_modules": Downloading
Cache "nodemodules: ./node_modules": Cache key 4f895c8d9628eef36867e7a299148ebeca2a53daa0a6f15355712ba0943d3b30
Cache "nodemodules: ./node_modules": Not found
```

And in the second step (which is running in the cloud) it looks like this:

```
Cache "nodemodules: ./node_modules": Cache key 2cb96d3f4711e32b5e18aa68998f0d648d6992a89c6ac4f968870e7916f985f8
Cache "nodemodules: ./node_modules": Downloading
Cache "nodemodules: ./node_modules": Downloaded 261.8 MiB in 7 seconds
...
```

Can you explain this? Am I doing something wrong?


Answers:
author: Patrik S
body: Hello [@Marcus](/t5/user/viewprofilepage/user-id/4658707) ,

thank you for reaching out to Community!

We would like to ask for a few more details about your environment, so I will be raising a support ticket for you. You should be receiving an email with the link to the support ticket soon, but in case you don't receive it, please let us know so we can share it here (the ticket is only visible to you and Atlassian staff).

Thank you, [@Marcus](/t5/user/viewprofilepage/user-id/4658707) !

Patrik S


Tags: bitbucket-cloud

bitbucket-pipelines

bitbucket-runners

cloud
how to publish maven library for android using bitbucket or bitbucket piplines
Asked by Yuvrajsinh Jadeja:

Hello there i want to publish my android library on maven which is hosted on bit-bucket,

I am doing this using bit-bucket pip-line but getting errors like below

*bash create-settings.sh*  
*`+ bash `[create-settings.sh](http://create-settings.sh/)*  
*2*
*`bash: `[create-settings.sh](http://create-settings.sh/)`: No such file or directory`*  
*3*  
can I publish my library from directly android studio same as like using GitHub we can do it? assemble - publish (and repository published on GitHub) or we need to do it only using pipelines?  
can i do it like below using bit-bucket or need use other approach   
[link](https://www.youtube.com/watch?v=h5awdxf4k2I)


Answers:
author: Patrik S
body: Hello [@Yuvrajsinh Jadeja](/t5/user/viewprofilepage/user-id/5434191) and welcome to the Community!

I'm not very familiar with the maven repositories configuration itself, but I found the following article with step-by-step instructions on how you can publish your maven libraries to a bitbucket repository :

* <https://jeroenmols.com/blog/2016/02/05/wagongit/>

I would suggest trying the instructions outlined in that article as it may help with the configuration required to publish your packages/libraries.

Thank you, [@Yuvrajsinh Jadeja](/t5/user/viewprofilepage/user-id/5434191) !

Patrik S


Tags: android

bitbucket-pipelines

cloud

maven
Can't log into Bitbucket on any browser
Asked by Tom:

Fixed, thanks!


Answers:
author: Laurie Sciutti
body: Hi [@Tom](/t5/user/viewprofilepage/user-id/5434445) and welcome to the Community! Your account may be inactive so you'll need Atlassian Support assistance. Maybe [@Patrik S](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4603309) or [@Theodora Boudale](https://community.atlassian.com/t5/user/viewprofilepage/user-id/818086) can assist.

comments: author: Jayanth Kumar E
body: Yes, there are no network or browser-related problems with this. It appears that there is a problem with your authentication token on your profile.


author: Patrik S
body: Hello [@Tom](/t5/user/viewprofilepage/user-id/5434445) ,

As correctly stated by [@Laurie Sciutti](/t5/user/viewprofilepage/user-id/1137433) , your account was in an inactive state due to a long period of inactivity.

I went ahead and set it to active again, so you should be able to log in as usual.

Could you confirm if you are able to login to Bitbucket now?

Thank you, [@Tom](/t5/user/viewprofilepage/user-id/5434445) !

Patrik S


author: Jayanth Kumar E
body: [@Tom](/t5/user/viewprofilepage/user-id/5434445) there are no network or browser-related problems with this. It appears that there is a problem with your authentication token on your profile.


Tags: bitbucket-cloud

cloud
Support for variables from UI in shared pipelines
Asked by Martin Davidson:

In the new shared pipelines feature, this [article](https://bitbucket.org/blog/share-ci-config) describing it says:

***Note:** There is a known limitation with using variables in Custom Pipelines that utilize a shared pipeline configuration. If a repository imports a shared pipeline configuration and uses it as part of a Custom Pipeline, variable values specified at runtime via the UI will **not** pass to the pipeline execution. Instead, the default values specified in the exported Pipeline configuration will be used instead.*

Is there a feature request to remove this limitation?


Answers:
author: Patrik S
body: Hello [@Martin Davidson](/t5/user/viewprofilepage/user-id/4947824) ,

thank you for reaching out to Community!

We do have an open feature request with our development team to implement the ability to use variables in custom Pipelines that utilize shared pipeline configuration:

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

Thank you, [@Martin Davidson](/t5/user/viewprofilepage/user-id/4947824) !  
Patrik S

comments: author: Martin Davidson
body: Thank you Patrik, I will follow up there.


Tags: bitbucket-cloud

cloud
Clone repository with repository token
Asked by Oleh735:

Hi! I have a problem (Authentification failed error)with clonning repository using Http access token genereted on repository level(token has repository admin permission)

Syntacsis which i use  
"https://{UserName}:{encodedToken}@git.somehost.net/scm/{project-name}/{repo-name}.git"  
**When i use my personal token it's working!**  
What could be the problem? And what username should i use for repository token?


Answers:
author: Patrik S
body: Hello [@Oleh735](/t5/user/viewprofilepage/user-id/2555539) ,

thank you for reaching out to Community!

The syntax to clone a repository using an access token is slightly different than the one you shared in the description.

Following is the correct syntax you can use to authenticate the clone operation with a Repository Access Token :

```
git clone https://x-token-auth:<TOKEN>@bitbucket.org/<workspace>/<repository>.git
```

You just need to replace the field \<TOKEN\> with your actual token generated in the repository, and also provide the \<workspace\> and \<repository\>. The \<token\> does not need to be encoded, it's the raw value of the token you received when creating it in the UI.

Thank you, [@Oleh735](/t5/user/viewprofilepage/user-id/2555539) !

Patrik S


Tags: clone

cloud

token
My account and repos have gone
Asked by Russ Michaels:

I just discovered today that links to my git repo no longer work and when I try to login to bitbucket my account no longer exists and it promted me to create a new one, which I had to do in order to post this.

Here is the url

<https://bitbucket.org/russmichaels/whmcs_account_statement/overview>

I haven't logged in to my account for years, so have they deleted it due to lack of use?

Any way to get my repo back?


Answers:
author: Theodora Boudale
body: Hi Russ,

We do not delete Bitbucket accounts that have not been used for a long time.

The Atlassian account of the user associated with the workspace you shared was deleted, which resulted in the workspace and repo deletion. If an Atlassian account is deleted from <https://id.atlassian.com/manage-profile/account-preferences>, then the linked Bitbucket account and its personal workspace will be deleted as well.

If you did not delete the Atlassian account, then someone else must have logged in to the account and deleted it.

I'm afraid that we cannot recover repositories of deleted workspaces.

Kind regards,  
Theodora


author: Jayanth Kumar E
body: Hey [@Russ Michaels](/t5/user/viewprofilepage/user-id/5435041) ,  

The restoration may be possible if the repo was deleted within the last 7 days, else we are unable to recover any content that was deleted past 7 days, as per:

* <https://support.atlassian.com/bitbucket-cloud/docs/does-bitbucket-backup-my-repositories/>

comments: author: Russ Michaels
body: i have no idea when it was deleted or any way to find out, a sI mentioned, I have not logged in for a long time.

Can you at least tell me why you deleted my account and repositories?


author: Jayanth Kumar E
body: Hey,  
No, I did not remove your account. I am a community member attempting to help you understand what may have happened. Maybe [@Patrik S](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4603309) or [@Theodora Boudale](https://community.atlassian.com/t5/user/viewprofilepage/user-id/818086) can assist.


author: Russ Michaels
body: ok, when you said "we are unable to recover any content that was deleted past 7 days, as per:", it gave the impression you worked for bitbucket.


Tags: unknown-hosting-type
I have been looking to configure the bitbucket pipeline for my automation tests for .net framework
Asked by Prince Dhiman:

Hello,

I'm going to setup my bitbucket pipeline for the following config:

- .net c# framework

- restsharp for API testing

- reporter mocha

please share the sample config code.


Answers:
author: Theodora Boudale
body: Hi,

If you run Pipelines builds on Atlassian's infrastructure, these builds run in Docker containers. For every step of your build, a Docker container starts (the build container) using the image you have specified in your bitbucket-pipelines.yml file. The repo is cloned in the build container, and then the commands of the step's script are executed. When the step finishes that Docker container gets destroyed.

The commands in a step of your bitbucket-pipelines.yml are Linux commands or commands from different command-line tools. If the Docker image you use as build container has the tools you need preinstalled, you can use their commands in your yml file. Otherwise, you will need to add commands in your yml file that install these tools before you use them. We support public and private Docker images including those hosted on Docker Hub, AWS, GCP, Azure and self-hosted registries accessible on the internet.

You can check the documentation of the tools you listed here for instructions on how to install them (if they are not already preinstalled in the image you use as a build container) and how to use them.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Reliable "Waktu Solat" Sources Needed for Kedah, Malaysia
Asked by falcon watch:

Hello Bitbucket community,

I'm currently developing a prayer time service specifically for Kedah state, Malaysia. Any suggestions for trustworthy sources of prayer time data for this region?

I've elaborated on this project in a recent post on a site specializing in Malaysian prayer times: <https://waktusolatnow.com/kedah/kdh04/>. Your recommendations would be very helpful!

Thank you for your input!


Answers:
author: Syahrul
body: Hey [@falcon watch](/t5/user/viewprofilepage/user-id/5434569)

Welcome to the community!

A quick search on Google points me to Jakim API, which you can use to fetch Prayers time. They are sourced directly from JAKIM, so they are the 'most' reliable. Check them out at:

[Jakim API](https://gist.github.com/lomotech/b25cde7118adf5e7a1fea4ce6cfce259)

Regards,  
Syahrul
cant login into the bitbucket
Asked by Artiom Lunev:

Hi,

When I'm trying to login into the bitbucket, I'm getting: "We couldn't log you in" message. Could you please check what might be the problem?

Regards,

Artiom.


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

Your Bitbucket Cloud account was indeed deactivated, which is the reason for the error you were seeing (thank you [@Laurie Sciutti](/t5/user/viewprofilepage/user-id/1137433) for tagging me!).

I went ahead and reactivated the account. Can you please try logging in when you have some time and let me know if the issue is resolved?

Kind regards,  
Theodora


author: Laurie Sciutti
body: Hi [@Artiom Lunev](/t5/user/viewprofilepage/user-id/5434446) and welcome to the Community! Your account may be inactive so you'll need Atlassian Support assistance. Maybe [@Patrik S](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4603309) or [@Theodora Boudale](https://community.atlassian.com/t5/user/viewprofilepage/user-id/818086) can assist.


Tags: bitbucket-cloud

cloud
Bitbucket Pipelines Permissions
Asked by Curtis:

I see for access to the repository, we have read, write and admin permissions. As I understand it, since Pipelines is code in the repository, permissions to change its configuration is based on the developer permissions for the repository.

I notice there is a premium feature, which you can then block certain branches to be only deployed by admin. I am assuming then this is the repository admin permission.

This seams a bit lacking to me, coming from Bamboo and being use to the plethora of permissions there. I feel there are use cases where I would like part of the development team to be able to execute a deployment, but not be an admin over the whole repository.

Is it just me or is Bitbucket Pipelines lacking a bit for permissions in this regard? I haven't looked at Github or Gitlab to see if their permissions are similar or more robust.

Thanks.


Answers:
author: Theodora Boudale
body: Hi Curtis,

Thank you for reaching out. We have a feature request for the ability to add non-admin user groups in deployment permissions:

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

You can add your vote to that feature request (by selecting the **Vote for this issue** link) to express your interest. You are more than welcome to leave any feedback, and 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 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
How can I locate my remote-script.sh on the remote server via bitbucket cloud?
Asked by Sophonie Tchoua:

I am trying to run my remote-script.sh on my remote server after deploying my jar on the remote server. I used the scp-deploy image 1.5.0 in combination with ssh-run: 0.8.0 both atlassian images.

The error I am getting has to do with pipeline inability to locate the file or directory, but I have both the jar file deployed by the pipeline and the remote-script in the same location on the remote server which make error more puzzling.

I will appreciate any help.

Thanks,

Sophonie.


Answers:
author: Kseniia Trushnikova
body: Hey [@Sophonie Tchoua](/t5/user/viewprofilepage/user-id/5197998),

Please share a screenshot of the error you've got?

comments: author: Sophonie Tchoua
body: ![pipeline-error-to-run-remote-script.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/308698iEAF27A1DB6742346/image-size/large?v=v2&px=999 "pipeline-error-to-run-remote-script.JPG")

Hi [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830), above is a screenshot of the error message. it looks like the script file I have on my remote server at the same location where the jar file build and deployed by bitbucket pipeline cannot be found. I am also using the following script.

- step:  
name: 'Deployment to Staging'  
image: atlassian/default-image:3  
deployment: staging  
caches:  
- gradle  
script:  
- echo "Your deployment to staging script goes here..."  
- ls -lah /opt/atlassian/pipelines/agent/build/build/libs/  
# - pipe: atlassian/scp-deploy:1.2.1  
- pipe: atlassian/scp-deploy:1.5.0  
variables:  
USER: $SCP_USER  
# PASSWORD: $SCP_PSSWRD  
SERVER: $SCP_HOST  
REMOTE_PATH: /webapps/  
LOCAL_PATH: '${BITBUCKET_CLONE_DIR}/build/libs/\*' #/opt/atlassian/pipelines/agent/build/build/libs/  
#SSH_KEY: '/opt/atlassian/pipelines/agent/ssh/id_rsa'  
DEBUG: 'true'  
#EXTRA_ARGS: \["-P", "443"\]  
# LOCAL_PATH: /opt/atlassian/pipelines/agent/build/build/resources/main  
- pipe: atlassian/ssh-run:0.8.0  
variables:  
SSH_USER: $SCP_USER  
MODE: 'script'  
SERVER: $SCP_HOST  
COMMAND: 'sh /e/tomcat-internal_test/webapps/remote-script.sh'


Tags: bitbucket-cloud

cloud
Which log4j config file is FishEye using?
Asked by Eric Castle:

I see there is a log4j.xml and a log4j-client.xml. Which one is used by FishEye? Where are there 2 files? When would it use one vs the other? When I start FishEye via start.sh it says it is using log4j.xml but when I stop FishEye using stop.sh it reports it is using log4j-client.xml.


Answers:
author: lpater
body: The FishEye app uses the log4j.xml config file - this is the one you want to modify to tweak logging.

The log4j-client.xml file is used by the various helper commands ran through fisheyectl.sh (including the stop command, which actually is a separate program that connects to a running FishEye app). In generaly you don't need to modify this one.


Tags: fisheye-crucible-administration
Can't Stash my FishEye
Asked by Mike McGuire:

I am evaluating Stash, but since it is lacking search like GitHub I am now also looking at FishEye + Crucible. I tried to configure FishEye to connect to my Stash server repositories, but misconfigured it. Now I only get a message that says "Problem communicating with Stash No authenticaion configured for application linkL Stash". But there is nowhere for me to delete or alter this bad attempt to try again. Please help!


Answers:
author: Tom Davies
body: In FishEye/Crucible, go to Administration, Application Links (which is under Global Settings) and you will see a list of application links. You can delete an Application Link by clicking the circled x, or click Edit to reconfigure it.

comments: author: Mike McGuire
body: I appreciate your answer.