youngmon/atlassian-qna huggingface dataset:
macos self.hosted runner
Asked by Stanley Ejechi:

I am trying to test a swift project on macos self.hosted runner.

Currently my yml script just contains this:

pipelines:  
default:  
- parallel:  
- step:  
name: "Build"  
runs-on:  
- macos  
- self.hosted

script:  
- "echo \\"Your build and test goes here...\\""  
However, the pipeline is failing with error:  
/bin/bash: /Volumes/\*\*\*\*: No such file or directory  
What am i doing wrong?


Answers:
author: Mark C
body: Hi [@Stanley Ejechi](/t5/user/viewprofilepage/user-id/5050592),

Welcome to the community.

When you set up the macOS runner on your end, would you be able to confirm if you've changed the **workingDirectory** path?  
Also, would you be able to confirm if you've followed the steps similar to the commands below when you set up the macOS runners?

```
curl https://product-downloads.atlassian.com/software/bitbucket/pipelines/atlassian-bitbucket-pipelines-runner-1.369.tar.gz --output atlassian-bitbucket-pipelines-runner.tar.gzmkdir atlassian-bitbucket-pipelines-runner && tar -xzvf atlassian-bitbucket-pipelines-runner.tar.gz -C atlassian-bitbucket-pipelines-runnercd atlassian-bitbucket-pipelines-runner/bin./start.sh --accountUuid SOME_UUID --repositoryUuid SOME_UUID --runnerUuid SOME_UUID --OAuthClientId SOME_ID --OAuthClientSecret SOME_SECRET --runtime macos-bash --workingDirectory ../temp
```

Thanks and looking forward to your response.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud

mac

server
Email notifications stopped
Asked by Chris C:

Hello, I (and another team member) have recently stopped receiving email notifications for pull requests and such like. From searching the discussion pages it looks like our emails could be on the suppression list; is there anyway of checking this? Or do you have any other suggestions on what may have changed.

Thanks

Chris


Answers:
author: Caroline R
body: Hi, [@Chris Catt](/t5/user/viewprofilepage/user-id/2736672), thank you for reaching out to Atlassian Community.

I checked our logs and confirmed that your email had a block on the server that prevented emails from being sent to you. So I removed your address from this suppression list.

Could you please confirm if you receive the notifications now?

Regarding the other team member, could you please ask them to open another question here, so we can analyze their email as well?

Thank you.

Kind regards,   
Caroline

comments: author: Chris C
body: Hello,

Thank you both for your help. I've now got emails coming in again, so that's great! Thank you.

I'll get my other team member to raise a question shortly.

Many thanks

Chris


author: Caroline R
body: Thanks for your confirmation, Chris! I'm glad to know you are receiving the emails now.

Kind regards,   
Caroline


author: Hana Ku?erov?
body: Hi [@Chris Catt](/t5/user/viewprofilepage/user-id/2736672) ,

I've marked your question for Atlassian team to check this for you.


Tags: atl-rvw

bitbucket-cloud

cloud
Problem with ssh key
Asked by kunal basnet:

While trying to add the ssh key in bitbucket getting the following error:

<br />

*Someone has already added that key as an access key to a repository.*


Answers:
author: Theodora Boudale
body: Hi [@kunal basnet](/t5/user/viewprofilepage/user-id/5050425) and welcome to the community.

If an SSH key has been added to a repository as an Access key, then it will not be possible to add it to your account's SSH keys (unless you remove it from the repos' Access keys).

I see that your Bitbucket Cloud account has access to a small number of repos, so I would suggest following these steps to see if the SSH key is an Access key to any of those:

1. Open a repository on Bitbucket website
2. Select **Repository settings** from the left-hand menu
3. Then select **Access keys**

Please check if the SSH key you are trying to add is listed on that page as an Access key.

If it is and if you don't need an Access key, you can remove it from that page and then add it to your account's SSH keys.

If you do need the Access key in the repo for other purposes, you can leave it there and then add a different SSH key to your account.

If the key is not added to any of your repos, but to a repo you don't have access to, then for privacy reasons we cannot share with you the details of any repos you don't have access to.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Response: 400 Duplicate annotation id from atlassian/checkstyle-report:0.3.2
Asked by Chris Hill:

When submitting an annotation report using atlassian/checkstyle-report:0.3.2 the API returns a Response:400 Bad Request with the message "Duplicate annotation id found in list" (note I set the pipe's DEBUG variable to 'true' to view this output).

Inspecting the request body, there are indeed several duplicate  
"external_id" values for the annotation JSON objects being sent.  
It would seem this is because the Id calculation does not take into account the column property from the checkstyle-result.xml - e.g. for both of these errors:  

```
<error line="152" column="17" severity="error" message="Missing newline before &quot;)&quot;" source="indent" />

<error line="152" column="18" severity="error" message="Missing newline before &quot;)&quot;" source="indent" />
```

the same "external_id" value of is calculated.

Updating the calculation looks like a simple fix:  
<https://bitbucket.org/atlassian/checkstyle-report/src/9b9fc122542cf8bcbd40c4db9275978497e6185a/src/main/java/com/atlassian/bitbucket/pipelines/checkstyle/report/Main.java#lines-240>


Answers:
author: Igor Stoyanov
body: [@Christopher Hill](/t5/user/viewprofilepage/user-id/5050500) hi. Thanks for your feedback.

It's a good idea to contribute with your custom pull request with your suggested solution for this pipe.

Regards, Igor

comments: author: Chris Hill
body: Thank you [@Igor Stoyanov](/t5/user/viewprofilepage/user-id/4550492) . PR submitted.


author: Igor Stoyanov
body: [@Christopher Hill](/t5/user/viewprofilepage/user-id/5050500) hi. We released [new version 0.4.0 of the checkstyle-report pipe](https://bitbucket.org/atlassian/checkstyle-report/src/0.4.0/) including changes according to your PR.  

Regards, Igor.


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Someone has already added that key as an access key to a repository.
Asked by Nihad Atakishiyev:

Hello.

When I'm trying to add a SSH key to my account, Im facing this error message on bitbucket: Someone has already added that key as an access key to a repository.

Could you please help me?


Answers:
author: Caroline R
body: Hi, [@Nihad Atakishiyev](/t5/user/viewprofilepage/user-id/5050420), welcome to Atlassian Community!

As we will need to know the public ssh key to further investigate this case, I have created an internal ticket for you using the email of your community account, so you don't have to share this information here.

You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.

Please feel free to let me know if you have any questions.

Kind regards,  
Caroline


author: Fabio Racobaldo _Herzum_
body: Hi [@Nihad Atakishiyev](/t5/user/viewprofilepage/user-id/5050420) ,

welcome to the Atlassian community!

As specified here <https://community.atlassian.com/t5/Bitbucket-questions/Someone-has-already-added-that-SSH-key/qaq-p/2144312> you need to raise a support request to the Atlassian team that can perform a check on your instance.

Fabio


Tags: bitbucket-cloud

cloud
Bitbucket Community Plan Questions
Asked by Denis Rodrigues:

1 - How many Workspaces can I create on my current plan?

2 - Is it possible to migrate project from one workspace to another workspace? if yes, how should i do it?

3 - How do I push a repository with 3.7GB in size?


Answers:
author: Vedant Kulkarni
body: 1. Bitbucket billing works on users, if your current plan is under the free plan then you can have an unlimited number of public and private repositories. You can check [here](https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/)

2. I don't think we do have that feature in the Bitbucket cloud, but you can migrate repositories from one project to other with a workspace. You can even try transferring ownership of the repository ![bitbucket_repo_transfer.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/219863iCDBDED2D6023E235/image-size/large?v=v2&px=999 "bitbucket_repo_transfer.PNG")

3. Git LFS can be a solution, do check out the billing for LFS [Manage your plan and billing \| Bitbucket Cloud \| Atlassian Support](https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/)


author: Caroline R
body: Hi, [@Denis Rodrigues](/t5/user/viewprofilepage/user-id/5015442), welcome to the community!

Just to complement [@Vedant Kulkarni](/t5/user/viewprofilepage/user-id/1734051)'s answer:

1. We have no limit on the number of workspaces a user can create.

3. We have a push limit of 3.5 GB, so you won't be able to make that push. You can read more about Git push size limits here:

* <https://community.atlassian.com/t5/Bitbucket-articles/Git-push-size-limits-are-coming-to-Bitbucket-Cloud-starting/ba-p/1987977>

Unless you break it into smaller-sized pushes (but we recommend you to use LFS if you have large/binary files).

Kind regards,  
Caroline

comments: author: Denis Rodrigues
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006)   
Thank you so much for the tips!  
:)


Tags: bitbucket-cloud

cloud
my bitbucket pipeline tag is invisible
Asked by dinesh anton:

Hi

my pipeline tab is invisible after add 2faut

kindly advice

Br

dinesh


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

**1)** Is the content of the Pipelines page empty/blank when you select the Pipelines option?

Or is the Pipelines option not visible at all on the sidebar on the left?

**2)** Could you please attach a screenshot that demonstrates the issue?

**3)** What browser are you using and which version of that browser? Do you experience the same issue on a Private/Incognito window of that browser?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
remove 2FA from bitbucket
Asked by Mohammad Hilal:

I lost my mobile device where my 2FA was configured. please remove 2FA from my bitbucket account.


Answers:
author: Vinicius
body: Hey there, [@Mohammad Hilal](/t5/user/viewprofilepage/user-id/5050033)! Welcome to the Atlassian Community!

We understand you're looking for a 2SV reset procedure. To give some context into that, the procedure is as follows:

When prompted for the 2SV codes, the user will need to click on "Forgot code" and then on "Send recovery e-mail".

The user will then receive an email with the confirmation that the recovery process has been initiated. There is a 24 hours wait period to receive the email with a one-time recovery link to be able to access the user's account. You can read more regarding this process here: <https://support.atlassian.com/bitbucket-cloud/docs/enable-two-step-verification/>

That being said, based on our records we can confirm that the 2SV recovery process was initiated 9 hours ago. The recovery email confirmation should have been sent to the same email address you used to raise this support request. According to our records, the access link should be email to you in approximately 15 hours.

Please keep in mind that the 24h delay is necessary as a measure to protect our customer and their data from social engineering attempts and we will not be able to bypass this process.

Also just as a heads up, checking your account we could verify that you are also using MFA for your Atlassian account. Expanding a little on the topic, currently there are 2 different types of two-step verifications we can set, one is at the Atlassian account level and the other is at the Bitbucket Cloud account level:

The MFA is set in the Atlassian account level (Access <https://id.atlassian.com/manage-profile/security> to configure it).

The 2SV is set on the Bitbucket account level (Access <https://bitbucket.org/account/settings/two-step-verification/manage> to configure it).

So keep that in mind that when you log-in the system will first request the MFA key:

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

and then the 2SV key (for which the reset has already been requested):

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

In case you are also missing the MFA verification device I'd suggest asking for you org administrator to disable MFA temporarily so you can disable the 2SV for your Bitbucket account.

Let me know if this is helpful and if you have any questions please let reach out and we'll be glad to help! :)

Cheers,  
Vinicius


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

Welcome to the Atlassian Community,

You'll need to reach out to Atlassian Support to do this: <https://support.atlassian.com>  

Cheers,  
Peter


Tags: bitbucket-cloud

cloud
How to auth in a REST request (not using OAuth2)?
Asked by Dmitrii:

I tried using Base Auth but it seems to be out of date.

How to sign in with an [app password](https://bitbucket.org/account/settings/app-passwords/) or [API token](https://id.atlassian.com/manage-profile/security/api-tokens)


Answers:
author: Ben
body: Hey Dmitrii,

The easiest way to specify App Password within an API request is to include it with the   
--user switch on the cURL command. This tells the endpoint that you wish to authenticate with your App Password.

For example, once you have configured an [App Password](https://support.atlassian.com/bitbucket-cloud/docs/create-an-app-password/) this would be the command if you wanted to check the repo permissions within a workspace:

```
curl -X GET https://api.bitbucket.org/2.0/workspaces/{workspaceID}/permissions/repositories --user {username}:{AppPassword}
```

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Bitbucket interface
Asked by Francis Agbulos:

My Bitbucket interface does not look like the first screenshot but looks more like the second screenshot. Is there the setting I need to set?

![Screenshot 2022-10-09 102143.png](/t5/image/serverpage/image-id/219773iCCE971ED0AEE6A1E/image-size/large?v=v2&px=999 "Screenshot 2022-10-09 102143.png")![Screenshot 2022-10-09 102331.png](/t5/image/serverpage/image-id/219774i6AC51D881FC72029/image-size/large?v=v2&px=999 "Screenshot 2022-10-09 102331.png")


Answers:
author: Theodora Boudale
body: Hi [@Francis Agbulos](/t5/user/viewprofilepage/user-id/5049494),

The first screenshot is the Bitbucket Cloud Dashboard, the URL for that page is <https://bitbucket.org/dashboard/overview>

We have changed the UI since the doc you linked was created, and the menu options from the left-hand side of the page have been moved to the top of the page. If you navigate to the Dashboard page and you are logged in, you will find the options "Your work", "Repositories", and "Projects" at the top (and more options at the menu item "More").

The second screenshot is the Source page of one of the repositories you have access to, its URL should be something like <https://bitbucket.org/workspace-id/repo-slug/src/master/> where **workspace-id** is the workspace id of the workspace where the repo belongs to, and **repo-slug** is the [slug](https://support.atlassian.com/bitbucket-cloud/docs/what-is-a-slug/) of the repository.

When you are viewing a repository's page on Bitbucket website, you can navigate back to the Dashboard by selecting the Bitbucket logo at the menu bar (top left corner).

Kind regards,  
Theodora


author: Francis Agbulos
body: Thank you for the prompt reply.

I got the first one from the Atlassian online docs while the second one is from my new Bitbucket account.

more questions: Will the first one be deprecated? If not how can I use the first one?

Actually no problem with the look just wondering why it is different.


author: Nic Brough -Adaptavist-
body: Welcome to the community!

Your screenshots are of two different parts of the application, but the first one also looks like an old server version, where the second looks like a more recent cloud install.

Is there a problem with the look of your system.

comments: author: Nic Brough -Adaptavist-
body: I suspect you're looking at docs for Server, rather than the Cloud system you are using. What's the URL?


author: Francis Agbulos
body: <https://bitbucket.org/product/guides/basics/bitbucket-interface#repositories>


Tags: bitbucket-cloud

cloud
Client-Side Extension: Cannot enable Bitbucket Plugin
Asked by Tamir.Kucherov:

Hi,

I'm unable to enable Bitbucket Plugin.

I follow this guide of Client-Side Extension: <https://developer.atlassian.com/server/framework/clientside-extensions/guides/introduction/>

When I go to manage apps -\> Bitbucket Plugin -\> Enable, in logs I receive following error:

c.a.plugin.osgi.factory.OsgiPlugin Detected an error (BundleException) enabling the plugin 'com.atlassian.myapp.bitbucket-plugin-template' :  
**Unable to resolve com.atlassian.myapp.bitbucket-plugin-template \[93\](R 93.0): missing requirement \[com.atlassian.myapp.bitbucket-plugin-template \[93\](R 93.0)\] osgi.ee; (\&(osgi.ee=JavaSE)(version=9.0))**   
..  
com.atlassian.plugin.osgi.container.**OsgiContainerException** : Cannot start plugin: com.atlassian.myapp.bitbucket-plugin-template  
at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(**OsgiPlugin.java:424**)

...

\[INFO\] 2022-10-09 13:05:46,408 INFO \[http-nio-7990-exec-8\] admin @1GAHFUMx785x115x0 9r5o6b 0:0:0:0:0:0:0:1 "PUT /rest/plugins/1.0/com.atlassian.myapp.bitbucket-plugin-template-key HTTP/1.1" com.atlassian.plugin.util.WaitUntil Plugins that have yet to be enabled: (1): \[com.atlassian.myapp.bitbucket-plugin-template\], **270 seconds remaining**   
\[INFO\] 2022-10-09 13:05:47,429 ERROR \[http-nio-7990-exec-8\] admin @1GAHFUMx785x115x0 9r5o6b 0:0:0:0:0:0:0:1 "PUT /rest/plugins/1.0/com.atlassian.myapp.bitbucket-plugin-template-key HTTP/1.1" **c.a.plugin.manager.PluginEnabler Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.myapp.bitbucket-plugin-template**

**My Environment:**

OS: Windows

Atlassian Bitbucket v7.17.9

Atlassian SDK 8

Thanks! Tamir


Answers:
author: kaanakdenz
body: I have same issue, cannot fix

" c.a.plugin.osgi.factory.OsgiPlugin Detected an error (BundleException) enabling the plugin 'com.atlassian.myapp.bitbucket-plugin-template' : Unable to resolve com.atlassian.myapp.bitbucket-plugin-template \[93\](R 93.0): missing requirement \[com.atlassian.myapp.bitbucket-plugin-template \[93\](R 93.0)\] osgi.ee; (\&(osgi.ee=JavaSE)(version=9.0)) Unresolved requirements: \[\[com.atlassian.myapp.bitbucket-plugin-template \[93\](R 93.0)\] osgi.ee; (\&(osgi.ee=JavaSE)(version=9.0))\]. This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see <https://developer.atlassian.com/x/mQAN>"


author: Nic Brough -Adaptavist-
body: "timeout" here means that the plugin is trying to initialise, but taking far too long to do it, so the JVM is giving up on it.

You will need to put logging into the plugin to enable it to tell you what it is doing for the 3 minutes Jira gives it to load.


Tags: bitbucket-server

client

server
How to cancel/stop failed repo import?
Asked by Kace:

Two weeks ago, I did a repo import. But it was stuck for 20 minutes with **"Your import is currently in the queue"**. I did imports before and it usually starts instantly, so I guessed that there was something wrong. I did another import, to a different name/repo, surprisingly it starts directly and completes in a few seconds.

I thought first one would fail itself after a few days, but it's been two weeks and it still says  
"Your import is currently in the queue".

How do I cancel that import? Opening the repo page redirects to the import status page, and I tried to delete with bitbucket API, but it says "Repository currently not available.", trying to clone says the same.

Thanks


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

Welcome to the community.

We don't have a feature for users to delete failing import repositories at this moment. You'll have to reach out to support to get it manually removed.

Nevertheless, I have removed the repository currently in the importing state from your Workspace.

I hope this helps.

Cheers,  
Syahrul

comments: author: Kace
body: Hi, thank you.

I did want to contact support for the issue via <https://support.atlassian.com/contact/>, but the options are not suited to my issue. Selecting "no" for "issue with Bitbucket workspace invitations?" says to ask here.

Is it the correct *support* you mentioned?


author: Syahrul
body: Hi [@Kace](/t5/user/viewprofilepage/user-id/5049367)

Glad to hear that work.

Yes, that's right, because you are on the Free tier plan, you'll be redirected to the community.

However, if you wish to receive direct support with Atlassian, then you'll have to subscribe to our paid plan [Bitbucket plan](https://support.atlassian.com/bitbucket-cloud/docs/manage-your-plan-and-billing/).

Cheers,  
Syahrul


author: Kace
body: Oh okay. Thank you.


Tags: bitbucket-cloud

cloud
Exceeded build time limit of 120 minutes.
Asked by Oluwaseun Oyebowale:

Hi Pro.  

I need assistance regarding a pipeline I'm running, i get error message saying,  

##### Failed: Exceeded build time limit of 120 minutes. {#toc-hId--1620044322}

![Screenshot 2022-10-07 at 19.06.03.png](/t5/image/serverpage/image-id/219704i5DD05768591AE400/image-size/large?v=v2&px=999 "Screenshot 2022-10-07 at 19.06.03.png")

I can resolve this issue.

Thanks in advance.


Answers:
author: Aron Gombas _Midori_
body: I think it is pretty clear. Your pipeline has not completed within 2 hours, therefore Bitbucket killed it.

You should investigate what takes that long in the pipeline. For that, you should check the output in the right, focusing on the timestamps.

Hopefully, you can make it faster. If not, because it is really such a big computation, then try to partition this to multiple smaller loads that fit the the 2 hour limit.

comments: author: oboe_ada
body: is there any way to run a task that takes more than 2 hourse .   
scenerion : i have a deploy that take around 4 hours continuously , is there any way to cover this case?


author: Aron Gombas _Midori_
body: I don't there is any way to run longer than the time limit set up by Atlassian.

I think you should think about if you can split the workload to multiple, shorter pipelines (each of which fits the 2 hour limit) and "chain" those pipelines somehow.


Tags: bitbucket-cloud

cloud