youngmon/atlassian-qna huggingface dataset:
How can i add users who do not have JSM License
Asked by Rafeh Joshua Marshall:

I would like to add two users from two different companies in my JSM Cloud Management, both the users don't have access to the Jira Products. Please note, both the users are agent not customers.


Answers:
author: Dirk Ronsmans
body: Hey [@Rafeh Joshua Marshall](/t5/user/viewprofilepage/user-id/5490680) ,

That would depend on what you would like them to do? Do they need to work on issues? Just view them? Provide information?

comments: author: Rafeh Joshua Marshall
body: They will work on the issues as well as do the communication internally.


author: Dirk Ronsmans
body: Working on issues would indeed mean them having a JSM licence. So you'll have to add them to the product

<https://support.atlassian.com/jira-service-management-cloud/docs/add-an-agent-to-your-service-project/>


author: John Funk
body: Hi Rafeh - Welcome to the Atlassian Community!

Make sure that the users are in a Group that have access to the product(s).

comments: author: Rafeh Joshua Marshall
body: For this i need to increase my user license as well.


author: Joseph Chung Yin
body: [@Rafeh Joshua Marshall](/t5/user/viewprofilepage/user-id/5490680)

Welcome to the community. I agreed with both [@Dirk Ronsmans](/t5/user/viewprofilepage/user-id/124602) / [@John Funk](/t5/user/viewprofilepage/user-id/7148) stated. In JSM, if an user who needs to be working as an agent (one who needs to handle/work on issues in the project(s)), then he/she must be granted with an actual agent license from your site with access to the product.

Best, Joseph Chung Yin


Tags: cloud

jira-service-management

jira-service-management-cloud
My All Repository has been removed
Asked by arunkumar:

Hi Team,

I had created repository in bitbucket few years back.but now I don't see any repository over there.seems like these has been removed from Bitbucket Team

Could you please help me on this.

Email-\<email_edited_for_privacy\>

Thanks

Arun


Answers:
author: Theodora Boudale
body: Hi Arun,

A few years back we removed Mercurial repos, because we sunset support for Mercurial. However, if your repositories were Git and not Mercurial, ++we do not remove any Git repositories because of inactivity++.

We recently changed navigation in Bitbucket Cloud, so now every time you access bitbucket.org you will be redirected to the last workspace you visited, excluding your personal workspace.

Can you please try the following:

* After you log in to <https://bitbucket.org/> from browser, go to your avatar (top right corner)
* Select **All workspaces**

This page will list all workspaces your account has access to. In order to view the repositories that belong to each workspace, open each workspace in a new tab and then select **Repositories** from the menu at the top.

Can you find your repos this way? I can see that your account has access to a couple of repos.

Just a heads up, I removed your email from your post to protect your privacy.

Kind regards,  
Theodora


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Atlassian sites shut down and are removed if they are inactive for long periods of time. Your site owner will have been warned that this is going to happen.


Tags: bitbucket-cloud

cloud
Unable to receive repo transfer email
Asked by Hesh Hewa:

Im trying to transfer a repo from my personal account into a company workspace.

I'm admin on both accounts (different email addresses)

I can see the transfer pending notification when i view the repo on bitbucket but not receiving the email. I only have one user on the receiving bitbucket workspace and one email attached to the user. (myself)  

I've canceled the request and tried re doing the transfer but had no luck


Answers:
author: Ben
body: Hi Hesh,

I can confirm that your email address was on our suppression list since 12/12/2022 with the following SMTP bounce error below received from your mail server:

```
550: 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 https://support.google.com/mail/?p=NoSuch... - gsmtp
```

I have since removed the user from the suppression list and you should be able to send the transfer without any issues. You will need to cancel this and re-send it.

Hope this helps.

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Hesh Hewa
body: Hi Ben,  

That worked! thank you for the assistance


Tags: bitbucket-cloud

cloud
.NET pipeline fails - 'Assembly was not found'
Asked by Andrei Constantin:

My pipeline is failing after some refactoring involving project renaming. Although the tests run fine both locally and in the pipeline, I get this error:

"Testhost process for source(s) '../MyProject.dll' exited with error: Error:  
An assembly specified in the application dependencies manifest ($SLN_NAME.MyProject.deps.json) was not found:  
package: 'xunit.abstractions', version: '2.0.3'  
path: 'lib/netstandard2.0/xunit.abstractions.dll'  
Test Run Aborted."  
Although it says test run aborted, it then goes on to run all tests successfully.  
The project itself is a class library with the following .csproj:  
![Deps.png](https://community.atlassian.com/t5/image/serverpage/image-id/271982iB724C780A46F6720/image-size/large?v=v2&px=999 "Deps.png")  
I have attempted a few solutions I found online, primarily trying to add these two lines of code:  
- \<CopyLocalLockFileAssemblies\>true\</CopyLocalLockFileAssemblies\>  
- \<PublishWithAspNetCoreTargetManifest\>false\</PublishWithAspNetCoreTargetManifest\>  
The 'CopyLocalLock...' line solved the previous error, but I got a very similar one instead:  
"Testhost process for source(s) '../MyProject.dll' exited with error: Error:  
An assembly specified in the application dependencies manifest (testhost.deps.json) was not found:  
package: 'Microsoft.TestPlatform.CommunicationUtilities', version: '15.0.0.0'  
path: 'Microsoft.TestPlatform.CommunicationUtilities.dll'"  
I have not been able to find a solution for this one (the 'PublishWithAsp...' setting did nothing for me).  
Here is the project structure in case it matters:  
![Structure.png](https://community.atlassian.com/t5/image/serverpage/image-id/271985i292C3269B51BA338/image-size/large?v=v2&px=999 "Structure.png")


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

The error indicates that the issue is most likely related to your project configuration rather than a problem with Pipelines.

I would suggest first debugging this locally with Docker, using the same Docker image that you use as a build container in Pipelines, and see if the issue is reproducible:

* <https://confluence.atlassian.com/bbkb/debug-pipelines-locally-with-docker-1167698072.html>

What Pipelines does is start a Docker container for each step based on the image you have specified in your yml file, clone your repo in that container and then execute the commands of the step's script.

If the issue is reproducible, I would suggest reaching out to a forum dedicated to .NET development, e.g. Microsoft's forum here: <https://techcommunity.microsoft.com/t5/net/ct-p/dotnet>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Not receiving account recovery link on my email
Asked by Amer Qwaider:

Some of my teammates and I have been trying to recover the account using my email but we are not receiving a recovery email!!

so can you check if my email is on the suppression list? also if you can check all the users inside this domain <https://black-code.atlassian.net> plz


Answers:
author: Ste Wright
body: Hi [@Amer Qwaider](/t5/user/viewprofilepage/user-id/5279674)

Have you checked your spam?

Alternatively, I'd either try...

* Seeing if you can get a recovery link via: <https://id.atlassian.com/>
* Contact Atlassian about this: <https://support.atlassian.com/>

Ste

comments: author: Amer Qwaider
body: Thanks, I'll try again to contact support because I was picking the wrong category for the help I wanted


Tags: bitbucket-cloud

cloud

login
workspace runners (elastic) on Kubernetes
Asked by Randall Araya Campos:

Is there a way to create a deployment yaml for k8s, in order to create pods with runners elastically and dynamically so that they can be consumed at the wokspace level?

I tried that, but the **runner id is required**, and when a pipeline starts, it sends the job to all brokers with the same id.


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

Are you looking to create runners dynamically depending on the builds?

We have a feature request about this here: <https://jira.atlassian.com/browse/BCLOUD-21343>

One of the Product Managers left a comment to that feature request saying that we have shipped a Kubernetes Autoscaler for Runners, currently in Early Access Preview (EAP). You can request to join here:

* <https://community.atlassian.com/t5/Bitbucket-Pipelines-Runner/gh-p/bitbucket-runner-autoscaler-4k8s>

After you join, you can read the FEATURED post at the top for more details on how the tool works and how to get started.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
problem with repo access
Asked by Cyrus F Abari:

I just signed up for bitbucket and created my project/repo. When I try to access to my repo I get this error (I have tried 3 different browsers and have cleared my cache...)

### Something went wrong {#toc-hId-2057808319}

Wait a few moments, then try again. If this keeps happening, check the current operational status of Bitbucket Cloud at [bitbucket.status.atlassian.com](https://bitbucket.status.atlassian.com/)


Answers:
author: Syahrul
body: G'day, [@Cyrus F Abari](/t5/user/viewprofilepage/user-id/5279374) and welcome to the community

Sorry to hear you are having an issue accessing the repository. Can you let me know if you still have a problem viewing the repository?

According to my observation, the repository was accessed recently, so I wonder if you still have the issue.

I look forward to hearing from you.

-  
Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Export Pull request date to csv
Asked by J Jedidiah:

Hi,

We are using Bitbucket in local server http we are unable to export Pull request data to CSV with all required information please help to share solution.


Answers:
author: Aron Gombas _Midori_
body: I think there is no built-in feature for that and I don't know about any app providing this functionality.

But, you can get the pull request for one project with this REST API end-point:

<https://developer.atlassian.com/server/bitbucket/rest/v811/api-group-pull-requests/#api-api-latest-projects-projectkey-repos-repositoryslug-pull-requests-get>

It will return them as JSON, but then it is possible to convert JSON to CSV in many ways. (You can even try a web based service like [this one](https://www.convertcsv.com/json-to-csv.htm).)


author: Uladzislava Kastsitsyna _Stiltsoft_
body: Hi,

One way for you to do that is by using the app called [Awesome Graphs for Bitbucket](https://link.stiltsoft.com/qk8uce).

Our app allows you to [export pull request data](https://docs.stiltsoft.com/awesome-graphs/data-center-and-server/export-and-integrations/export-to-csv) directly into a CSV file. We also offer [REST API](https://docs.stiltsoft.com/awesome-graphs/data-center-and-server/export-and-integrations/rest-api) export functionality.

Best regards,  
Uladzislava


Tags: bitbucket-server

server
How to Manage/Automate Bitbucket Repos "As Code" (IaC)
Asked by traiano:

I have a requirement to automate creation of Bitbucket repos using code and manage permissions and repo settings.

I have tested a terraform provider for bitbucket but it is frankly defective.: <https://registry.terraform.io/providers/zahiar/bitbucket/latest/docs/resources/bitbucket_repository>

Is there another tested approach for automating the management of BB repos along the same lines as the above terraform concept?

Thanks in advance!


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

We offer API endpoints that you could use for this purpose.

This is the documentation of our API:

* <https://developer.atlassian.com/cloud/bitbucket/rest/intro/>

You can navigate from the left sidebar on the different endpoints.

We also provide temporary support for certain 1.0 endpoints, until we have an implementation in v. 2.0 of our API:

* <https://support.atlassian.com/bitbucket-cloud/docs/use-bitbucket-rest-api-version-1/>

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

Kind regards,  
Theodora

comments: author: traiano
body: Thanks [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) - regarding the users and groups endpoints: I see user and group management is available via the 1.0 API, however, how long will this functionality be available?


author: Theodora Boudale
body: Hi [@traiano](/t5/user/viewprofilepage/user-id/5278698),

It will be available until we have equivalent endpoints in v 2.0. I will reach out internally to find out if we have a rough estimate on when that will be, I will let you know as soon as I have an update.

Kind regards,  
Theodora


author: Theodora Boudale
body: Hi [@traiano](/t5/user/viewprofilepage/user-id/5278698),

We haven't set the deprecation date for these endpoints so I don't have a date to share. However, we will give a few months notice when we do and we will communicate updates via a community article and also on this page:

* <https://developer.atlassian.com/cloud/bitbucket/>

Just a heads up, if you get an [Atlassian Access](https://www.atlassian.com/software/access) subscription and you link your Bitbucket workspace in <http://admin.atlassian.com/> from **Products \> ... \> Link products**, these endpoints will stop working (if you don't do this, you can continue to use these endpoints until we deprecate them).

This is mentioned in the second to last (at the moment) announcement of the page I shared:

* <https://developer.atlassian.com/cloud/bitbucket/announcement-breaking-change-remaining-10-endpoints/>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I cannot log in to bitbucket
Asked by Laura R_ Copes:

I get this message when I try to log in to bitbucket:

We couldn't log you in {#toc-hId--440237414}
--------------------------------------------

You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.

I tried a bunch of different browsers and incognito mode.


Answers:
author: Ben
body: Hi [@Laura R_ Copes](/t5/user/viewprofilepage/user-id/5278654)

I have just re-activated your workspace as it was disabled, are you able to verify that you can login now?

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Laura R_ Copes
body: Yes, it works now. Thanks!


Tags: bitbucket-cloud

cloud
invalid code lengths se
Asked by Pappu Chauhan:

remote: **error**: inflate: data stream error (invalid code lengths set)

remote: fatal: pack has bad object at offset 8851555: inflate returned -3

error: RPC failed; curl 55 Failed sending data to the peer

Writing objects: 100% (1075/1075), 5.80 GiB \| 118.29 MiB/s, done.

Total 1075 (delta 128), reused 2 (delta 0), pack-reused 0

error: remote unpack failed: index-pack abnormal exit

Everything up-to-date


Answers:
author: Theodora Boudale
body: Hi [@Pappu Chauhan](/t5/user/viewprofilepage/user-id/5278481) and welcome to the community!

The output you posted here seems to be from a git push command, can you please confirm if that's the case?

The output also indicates that the size of the push is 5.80 GiB.

Every repository in Bitbucket Cloud has a hard limit of 4 GB. Additionally, we have a push limit of 3.5 GB, which means that you will not be able to make such a large push.

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

If you have accidentally committed any large files in your repo, I would recommend rewriting history to remove them.

If you do need to track large files, I would recommend looking into using Git LFS.

You can check this post of mine with more info:

* <https://community.atlassian.com/t5/Bitbucket-questions/Revert-bitbucket-repository-state-to-one-day-prior/qaq-p/1908360#M76762>

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

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
adding project using git
Asked by Bipul Kumar:

fatal: <https://bitbucket.org/xxxxxxxx/xxxxxxx/info/refs> not valid:  
is this a git repository?


Answers:
author: Ben
body: Hi Bipul,

I have censored the repository URL in your question as this is a public forum.

Technically, you should be able to clone that URL as it will clone just the git refs. May I ask what command you have executed to see this message (minus your repository URL)?

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
reg. access right issue
Asked by Karthik SJ:

Hi,

When i m trying to pull code base from one of bit bucket repo, i m getting "permission issue" issue. see errors below

**The requested repository either does not exist or you do not have access. If you believe this repository exists and you have access, make sure you're authenticated.**

**fatal: Could not read from remote repository.**

**Please make sure you have the correct access rights**

**and the repository exists.**

i believe someone from my organisation have added the pub key, and i am not sure who is added and how do i find the user account, please help me resolve the issue.


Answers:
author: Theodora Boudale
body: Hi [@Karthik SJ](/t5/user/viewprofilepage/user-id/5278104),

The message indicates that you are trying to pull via SSH.

The error you see means that

* either you don't have access to the repo
* or that you have access and SSH is not properly configured

If you have access to your repo, you can follow the instructions from one of the following links to set up SSH keys for your account, depending on the OS of your computer:

* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-macos/>
* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-windows/>
* <https://support.atlassian.com/bitbucket-cloud/docs/set-up-personal-ssh-keys-on-linux/>

Please make sure to also follow step 2 of the section **Add your key to the SSH agent**, to ensure that the correct SSH key is used when connecting to Bitbucket.

I would not recommend using another user's account or SSH keys.

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

Kind regards,  
Theodora


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

This is what it says it is - you don't have access to the repository. Your best bet is to ask the people who asked you to use the repository for access to it.


Tags: bitbucket-cloud

cloud
Missing repos
Asked by alfredzong:

I haven't logged into my online BitBucket account for about a year, and I have just discovered that a repository (named \<name_edited_to_protect_privacy\>) is missing after logging in the online account. Strangely, I have git push commits to this missing repo in the past year (and still able to do so now after updating the SSH host key due to the data breach). I wonder where I can find this repo. Thanks tonnes!


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

I checked internally for the bitbucket account associated with your community account email and confirmed you have access to a repository with that name. It might be the case that you are looking at the wrong workspace, so I would suggest using the search bar at the top right corner and searching for the repository name

Alternatively, you can check all the workspaces you have access to find that repository :

1. Navigate to bitbucket.org and click on your **Avatar** in the top right corner
2. Select the **All workspaces**option. A list with all workspaces your account has access will be shown.
3. Click on one of the workspaces to open it, and select the **Repositories** option on the menu bar at the top to see a list of repositories under that workspace.
4. Check if the repository you are looking for is on the list. In case not, repeat the process to another workspace.

Hope that helps! Let me know in case you have any questions.

Thank you, [@alfredzong](/t5/user/viewprofilepage/user-id/5278049) !

Patrik S

comments: author: alfredzong
body: That works. Thank you so much Patrik!


author: Theodora Boudale
body: It's good to hear that Patrik's answer helped! Please feel free to reach out if you ever need anything else!


author: zdoggie
body: Man, I just about had a heart attack. Thanks for this post!


Tags: bitbucket-cloud

cloud
Issue with artifact download in self-hosted windows pipeline
Asked by Gabe Klavans:

Hi, I'm trying to run a pipeline with a step that uses the files from the saved artifacts of a previous step.

This was all working as intended, then one day after updating my windows runner, I started getting this error on the last step:


    Remove-Item: C:\Users\admin\bitbucket\runner3\temp\1587c5ad-d391-509f-ac50-f899b6047962\1690309415217\tmp\setupArtifacts16333458990794472818.ps1:19
    Line |
      19 | Remove-Item -Recurse -Force "C:\Users\admin\bitbucket\runner3\runner\ .
         | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
         | The system cannot find the path specified.

Where C:\Users\admin\bitbucket\runner3\runner\ is the location of the runner bin folder. I'm not sure why it's trying to run this incomplete command. The result is that only some of the artifacted folders are present in the step's working directory (I used `ls` to confirm this in the step's script), even though it says all the artifacts were successfully downloaded and extracted. Why am I getting this error and seeing this behavior?


Answers:
author: Patrik S
body: Hello [@Gabe Klavans](/t5/user/viewprofilepage/user-id/5209739) and thank you for reaching out to Community!

Looks like the error is occurring when the runner is trying to remove the artifacts from the temporary folder where they are put after being downloaded and copied to the local build folder.

I was not able to reproduce the same error when using Windows runners with artifacts in the step, so I would suggest the following steps to try troubleshooting the issue :

* Update your Windows Runners version to the latest available. Version 1.490 is the latest by the time I write this comment. You can download and extract this version using the below commands :

  ```
  Invoke-WebRequest -Uri https://product-downloads.atlassian.com/software/bitbucket/pipelines/atlassian-bitbucket-pipelines-runner-1.490.zip -OutFile .\atlassian-bitbucket-pipelines-runner.zip


  Expand-Archive .\atlassian-bitbucket-pipelines-runner.zip


  cd .\atlassian-bitbucket-pipelines-runner\bin


  .\start.ps1 -accountUuid <rest of arguments of the predefined command you received when creating the runner>
  ```

* Make sure there are not multiple instances of the same runners being executed in the host machine. Having more than one instance of the same runner will cause race conditions as you will have multiple runner instances executing the same instructions.
* If possible, test setting up the runner in a different machine and check if the error is reproducible. You can also try to recreate a runner from the UI and verify if the error persists.
* Review the [Windows Runners log](https://confluence.atlassian.com/bbkb/troubleshooting-runners-1167819666.html#Reviewing-log-files-for-Windows-PowerShell-runners) locally to check if they contain any additional information about what might have caused the error.

Let me know in case you have any questions.

Thank you, [@Gabe Klavans](/t5/user/viewprofilepage/user-id/5209739) !

Patrik S


Tags: bitbucket-cloud

cloud