youngmon/atlassian-qna huggingface dataset:
I can't receive invitation email
Asked by ruchi:

Hi.

My team manager try to invite me to a repository.

But I couldn't get invitation email never.

I checked spam mail box as well.

But no mails get arrived from bitbucket.org

Please help me to solve this problem.

Thank you.

Ruchi.


Answers:
author: Caroline R
body: Hi, Ruchi, welcome to the community!

I reviewed your email and confirmed that it had a block on the server that prevented emails from being sent to you. This can occur when the system tries to send an email to the user and the account does not exist, is not activated yet, or rejects the email for some internal reason.

In this case, I have removed the block from your email. Could you please ask your manager to **remove** the invitation and send you a new one? They can do this by following the next steps:

In case they have invited you to a **specific repository**:

* Access the workspace \> Go to the repo they have invited you to;

* Access the **Repository Settings** \> **User and group access;**

* Click on the "invitation pending";

* Select the "**Cancel invitation**" option to remove the invitation;

* Add your email again to send a new invitation.

In case they have invited you to a **group on this workspace**:

* Access the workspace \> **Settings**;

* Access **User groups** \> Open the group they have invited you to**;**

* Click on the "invitation pending";

* Select the "Cancel invitation" option to remove the invitation;

* Add your email again to send a new invitation.

Please let me know how it goes and feel free to share any additional questions or concerns regarding this case.

Kind regards,   
Caroline

comments: author: ruchi
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) Hi, thank you so much.  
Everything is working perfectly now.

Thanks again.


author: Caroline R
body: Hi, Ruchi, thanks for your confirmation! I'm glad to help you.

Kind regards,   
Caroline


Tags: bitbucket-cloud

cloud
Invitation mails not receiving for a new user
Asked by lahiru:

email : lahiru@4axissolutions.com


Answers:
author: Norbert C
body: Hi [@lahiru](/t5/user/viewprofilepage/user-id/4814334)

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community!

I would like to inform you that this email address was on our bounce list as we received the following error message from the 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 | 2019-05-30T13:15:50+00:00 |

{#results-table}

I removed this bounce.

Can you let us know if the mails are getting delivered now?

I'm looking forward to hear from you.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

comments: author: Lahiru Neranjan
body: Hi [@Norbert C](/t5/user/viewprofilepage/user-id/1190200)

Thanks for your support. It is working fine now. Really appreciate your detailed explanation.


author: Norbert C
body: You're welcome [@Lahiru Neranjan](/t5/user/viewprofilepage/user-id/4818544) I'm glad to hear I was able to help


Tags: bitbucket-cloud

cloud
Build failure consumed all build minutes allowed
Asked by Darren Plumridge:

I am new to Bitbucket and am learning to use it. I had a build fail with these message:

+ npx eslint .  
Oops! Something went wrong! :(  
ESLint: 8.11.0  
ESLint couldn't find a configuration file. To set up a configuration file for this project, please run:  
npm init @eslint/config  
ESLint looked for configuration files in /opt/atlassian/pipelines/agent/build and its ancestors. If it found none, it then looked in your home directory.  
Which I can resolve but the build 'failed' and kept running and consumed all my allowed build minutes. This seems wrong as the build should have stopped, is this a bug in the build process? If not then it makes the product not suitable to use.


Answers:
author: Norbert C
body: Hi [@Darren Plumridge](/t5/user/viewprofilepage/user-id/4811098)

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community!

In case the application doesn't send an exit code to Pipelines, the application will keep running.

To test this further, I would like to ask if you could try to debug this application locally, using Docker? This way, it emulates the same environment as what's on Pipelines. You can debug it locally by [following this documentation](https://support.atlassian.com/bitbucket-cloud/docs/debug-pipelines-locally-with-docker/)

Please let me know how it goes, we're here to help.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud
fatal: Authentication failed for 'https://
Asked by phirlikar:

I am trying to pull code from remote repository and I am now facing this error. I have tried setting and unsetting the credentials file which was working before. What am I missing here?


Answers:
author: Ben
body: G'day!

The most common issue customers are experiencing related to authentication is due to the deprecation of GIT username/password in favour of App Passwords on 01/03/2022:  
<https://community.atlassian.com/t5/Bitbucket-articles/Announcement-Bitbucket-Cloud-account-password-usage-for-Git-over/ba-p/1948231>  
You will need to make use of an AppPassword for communicating to GIT via HTTPS.  
We have documentation for usage of app passwords at the following link:  
<https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/#Create-an-app-password>  
If you are using SourceTree as your GIT client an article with instructions can be found here:  
<https://community.atlassian.com/t5/Sourcetree-articles/Bug-Fix-Sourcetree-for-Windows-authentication-error-when/ba-p/1965968>  

Hope this helps.  
Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: phirlikar
body: Thanks, Ben.

I had already created an app password. I had some caching issues.

Working well for me now.


Tags: bitbucket-cloud

cloud

git
Error while pushing image to ecr
Asked by Avanesyan95:

INFO: Using default authentication with AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY  
INFO: Executing the aws-ecr-push-image pipe...  
Traceback (most recent call last):  
File "/usr/bin/pipe.py", line 225, in <module>  
pipe.run()  
File "/usr/bin/pipe.py", line 197, in run  
registry = self.docker_login(docker_client)  
File "/usr/bin/pipe.py", line 135, in docker_login  
client = self.get_client()  
File "/usr/bin/pipe.py", line 125, in get_client  
return boto3.client(self.boto3_client_name, region_name=self.region)  
File "/usr/local/lib/python3.9/site-packages/boto3/__init__.py", line 93, in client  
return _get_default_session().client(*args, **kwargs)  
File "/usr/local/lib/python3.9/site-packages/boto3/session.py", line 270, in client  
return self._session.create_client(  
File "/usr/local/lib/python3.9/site-packages/botocore/session.py", line 841, in create_client  
client = client_creator.create_client(  
File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 91, in create_client  
client_args = self._get_client_args(  
File "/usr/local/lib/python3.9/site-packages/botocore/client.py", line 360, in _get_client_args  
return args_creator.get_client_args(  
File "/usr/local/lib/python3.9/site-packages/botocore/args.py", line 99, in get_client_args  
endpoint = endpoint_creator.create_endpoint(  
File "/usr/local/lib/python3.9/site-packages/botocore/endpoint.py", line 286, in create_endpoint  
raise ValueError("Invalid endpoint: %s" % endpoint_url)  
ValueError: Invalid endpoint: [https://api.ecr](https://api.ecr/)..amazonaws.com


Answers:
author: peter.anderson
body: Hi [Avanesyan95](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4813499) - i fixed this by making sure my region was set correctly - using AWS_DEFAULT_REGION gave me this error. Passing a new repository variable AWS_REGION into my pipe saw it come to life.

In my case, AWS_REGION was 'eu-west-2'.  

```
- pipe: atlassian/aws-ecr-push-image:2.0.0

            variables:

              AWS_DEFAULT_REGION: $AWS_REGION

              AWS_OIDC_ROLE_ARN: 'arn:aws:iam::accountnumber:role/role-arn-for oidc'

              IMAGE_NAME: myimage

              TAGS: 'mytag'
```

\*\*I'm using OIDC, so you can simply swap out that line for you ACCESS TOKEN and SECRET lines


author: Norbert C
body: HI [@Avanesyan95](/t5/user/viewprofilepage/user-id/4813499)

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you! Welcome to the Atlassian Community!

Based on my observation the build is failing with the following error message:  

    ValueError: Invalid endpoint: https://api.ecr/..amazonaws.com

Can you double-check whether if you're providing the correct endpoint with your configuration? Based on the error message, you provided a faulty one

Please let us know how it goes.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: aws

bitbucket-cloud

cloud
How to restore after crash when we have only MSSQL database backup?
Asked by Libor Andr?sek:

We had a Bitbucket server 5.0.1.

After the server crash we have a clean instance of Bitbucket server 5.0.2 (there is no download for version 5.0.1)

We want to attach it to existing backup of MSSQL database.

Can anybody help PLEASE?


Answers:
author: Christian Glockner
body: Hi Libor,

Do you have a backup of the file system where Bitbucket repositories are stored, or do you only have the database backup?

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Libor Andr?sek
body: Hi Christian,

thank you for the answer.

The file system is lost, we have only database backup.

Libor


author: Christian Glockner
body: Hi Libor,

Then restoring the database won't help, since you won't have any repositories on disk. You'll be better off starting from scratch.

Cheers,

Christian

Premier Support Engineer

Atlassian


author: Libor Andr?sek
body: Hi Christian,

thank you for the help

Libor


Tags: bitbucket-server

server
SonarQube server [$SONAR_HOST_URL] can not be reached
Asked by Sandeep.Dash:

Hi,

When I am trrying to sonar scan project through bitbucket pipeline. I am getting building error: SonarQube server \[$SONAR_HOST_URL\] can not be reached. Please provide solution


Answers:
author: Norbert C
body: Hi Sandeep,

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!

To resolve this issue, can I ask you to Create a custom environment variable with `SONAR_HOST_URL` as the **Name** and your SonarQube server URL as the Value. You can create a variable by following the [steps here](https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/)

Source: <https://docs.sonarqube.org/latest/analysis/bitbucket-cloud-integration/>

Please let me know how it goes.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support

comments: author: Sandeep.Dash
body: Hi, Nobert,

This is a dedicated sonar-cube server hosted on one of the datacenter. We can only access it through a URL within our company network using a username and password.

This cannot be accessed outside of company network.

I tried to update my bitbucket-pipelines.yml file so that when i push the code from local repo to remote, the pipeline would be triggered, automation code would run and then quality gate result would be displayed in sonarcube. I am getting the above error: URL couldn't be reached. Attaching the pipeline yml file and screenshot of the page on sonarcube where it asks to follow some steps to configure. I would appreciate your help on this.

FYI i did create a custom env variable and then passed it on yml file

![yml file.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/188465iA54CC32438679794/image-size/large?v=v2&px=999 "yml file.jpg")

![ymlfile1.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/188467i0988AE6C0A17FD1A/image-size/large?v=v2&px=999 "ymlfile1.jpg")


Tags: bitbucket-cloud

cloud

sonarqube
Does the "Reviewer Suggester for Bitbucket Server" plugin work for Bitbucket Data Center?
Asked by Panagiotis Doulgeris:

Since the Bitbucket Server will be discontinued in the future:

Does the "[Reviewer Suggester for Bitbucket Server](https://marketplace.atlassian.com/apps/1211619/reviewer-suggester-for-bitbucket-server?hosting=server&tab=support)" plugin work for Bitbucket Data Center and is still supported?

Is there a way to approve it for Bitbucket Data Center or a similar plugin?


Answers:
author: Evan Slaughter
body: Hi [@Panagiotis Doulgeris](/t5/user/viewprofilepage/user-id/4812642)

Although there isn't an official "data center" variant of this plugin - I just wanted to note that it should still work perfectly fine alongside a Bitbucket Data Center instance.

* As a note, we actually have this plugin enabled on/regularly use this plugin on our internal Bitbucket Data Center instances where we develop new versions of Bitbucket, and there haven't been any issues with it so far.

While we'd like to get a thoroughly tested "DC approved" variant out that *officially* ticks all of our boxes, we've been looking to prioritize developing new features and squishing more impactful bugs in the core product.

Hope this information helps!

Thanks,

Evan Slaughter

Senior Support Engineer \| Atlassian Support - Development Tools

comments: author: Panagiotis Doulgeris
body: Your note helps for my decision!

Thanks, Evan!


author: Ulrich Kuhnhardt _IzymesCo_
body: Hi [@Evan Slaughter](/t5/user/viewprofilepage/user-id/2786846) - is the source available? I would like to find out how an app can place client-web items in the create PR screen from an app development point of view. Your help is much appreciated.

Thanks, Ulrich

comments: author: Evan Slaughter
body: Hey [@Ulrich Kuhnhardt _IzymesCo_](/t5/user/viewprofilepage/user-id/4011392) - it looks like the source repository is publicly available. Try accessing the following repository and see if you're able to view its contents:  

* <https://bitbucket.org/atlassian/stash-suggest-reviewers/src/master/>

Thanks,

Evan Slaughter

Senior Support Engineer \| Atlassian Support - Development Tools


Tags: bitbucket-server

server
Unable to access Bitbucket repository with Maven
Asked by Sebastian Perez Ferretti:

Greetings, I am working with Maven and i have a private repository in bitbucket for some of my libraries. The problem i have is, after the update to App passwords, **Maven can?t access my repository anymore**.

I tried to **change the config** in \~/.m2/settings.xml, doing something like this:

```
<server>
    <id>example</id>
    <configuration>
        <httpHeaders>
            <property>
                <name>Authorization</name>
                <!-- Base64-encoded "bitbucketuser:password" -->
                <value>Basic xxx/value>
            </property>
        </httpHeaders>
    </configuration>
</server>
```

where "xxx" is my Base64 encoded username:app_password. But **it didn?t work**. The message I obtain is: Not authorized , ReasonPhrase\\:Unauthorized

Something im missing? Thanks!


Answers:
author: Norbert C
body: Hi [@Sebastian Perez Ferretti](/t5/user/viewprofilepage/user-id/3870919)

Thank you for contacting Atlassian Community, my name is Norbert and I'm a Bitbucket Cloud Support Engineer, it's nice to meet with you!

Unfortunately I'm not familiar with Maven, but when I was reading about it, I found it out that there are two fields need to be added in the settings.xml file to be able to connect:

    <properties>  <project.scm.id>my-scm-server</project.scm.id></properties>

    <settings>     <servers>        <server>         <id>my-scm-server</id>           <username>myUser</username>           <password>myPassword</password>        </server>      </servers></settings>

Source: <https://stackoverflow.com/questions/28282572/maven-release-plugin-git-credentials>

Can you try to do the configuration as it's mentioned in this page and let me know if that helps?

I'm looking forward to hear from you.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

cloud

maven
Refresh Jira data source on Tableau Server
Asked by Pam Hayes:

I have everything set up according to Jira's documentation to allow refresh of Jira data extract using Jira connector, but the refresh is getting to a point then failing on the server.


Answers:
author: Anna Odrynska - Alpha Serve
body: Hello Pam,

In addition to what Kinnera wrote before, it is not clear from your message which app you're using to connect Jira to Tableau.

In case you have [Tableau Connector for Jira](https://marketplace.atlassian.com/apps/1221376/tableau-connector-for-jira?hosting=cloud&tab=overview), then please share all the details and screenshots with our support team, they'll eagerly assist you. You can do it by email: support@alpha-serve.com or via Service Desk: <https://aserve.atlassian.net/servicedesk/customer/portal/17>

Best regards,

Anna from Alpha Serve


author: Kinnera
body: Hi [@Pam Hayes](/t5/user/viewprofilepage/user-id/4812610)

Thanks for reaching out here!

If you are referring to the app **Tableau Connector Pro or Jira** ([https://marketplace.atlassian.com/apps/1214641/tableau-connector-pro-for-jira?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1214641/tableau-connector-pro-for-jira?hosting=server&tab=overview)) then please share the screenshot of the error and also the connector URL with us for further analysis.

And please note that we have created a support ticket <https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-9885> in our portal for this issue. Request you to signup to the portal and let us know the username so that we can mark you as the reporter so that you will be able to access the ticket.

Please find the below link to signup to the portal: <https://bobswift.atlassian.net/servicedesk/customer/portals/1>

Looking forward to hearing from you!

Thanks  
Kinnera


Tags: bitbucket-server

connector

server

tableau
Repository is over the size limit (4 GB) and will not accept further additions
Asked by Oleg Vegera:

Hello

I accidentally uploaded large files to the repository. Now I can't push new commits. I tried removing the file indexing, but that didn't help.  
The size of the .git folder has not changed in any way.

How can I solve this problem?


Answers:
author: Caroline R
body: Hi, [@Oleg Vegera](/t5/user/viewprofilepage/user-id/4811241), welcome to the community!

I found a repository that you have access to that was showing 4.8 GB, so I run the GC against this repo, but the size didn't change. In this case, I have temporarily increased the repository size, so you can push the changes to the remote (without the large files). After that, please let me know so I can run the GC in the remote repo again.

Looking forward to hearing from you.

Kind regards,   
Caroline

comments: author: Oleg Vegera
body: [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) Thanks

I deleted these large files. Can I know how much the repository occupies now?


author: Oleg Vegera
body: I see that these files are gone, but the size of the repository is still over 4 GB


author: Caroline R
body: Hi, [@Oleg Vegera](/t5/user/viewprofilepage/user-id/4811241).

Could you please confirm if after removing these large files you have pushed the changes to your remote repository? As I have increased the repo size to more than 4 GB, you should be able to push it now. Also, can you please share the workspace/repository name masked (with asterisks) so I can confirm we are referring to the same repo?

Kind regards,  
Caroline


author: Oleg Vegera
body: Hi, [@Caroline R](/t5/user/viewprofilepage/user-id/3934006)

We pushed a commit with large files removed. Now the repository does not contain these large files. But the size of the repository remains the same.

Repo name - Fitness Club 3D


author: Caroline R
body: Hi, Oleg.

I ran a GC against this repository, however, the size didn't change, so it seems like the large files are still part of the remote repository. As you confirmed you have removed them from your local repo, could you please run a git push --force?

Also, can you please run the following command locally and share its output with us?

```
git count-objects -vH
```

Looking forward to hearing from you.

Kind regards,   
Caroline


Tags: bitbucket-cloud

cloud
How use List Pull Requests API with App Passwords (and Basic Auth)?
Asked by harri_rajala_koivu_solutions:

I'm trying to use List Pull Request API with App Password.

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

I'm using Basic Auth. If I use my account password, then the API response is following.
> Bitbucket Cloud recently stopped supporting account passwords for API authentication.  
> See our community post for more details: <https://atlassian.community/t5/x/x/ba-p/1948231>  
> App passwords are recommended for most use cases and can be created in your Personal settings:  
> <https://bitbucket.org/account/settings/app-passwords/>  
> For more details on API authentication methods see our documentation:  
> <https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication>

So I created App Password and selected **all** permissions. And then, I changed Basic Auth to use App Passwords. The username is "Name of the App Password," and the password is "Password of the App Password."

Now the response of the same List Pull Request API is
> 401 Unauthorized

Is there anything else that I have to do to make it work? Like I said that I gave all permissions to the app password. And according to Bitbucket API, I can use app passwords with Basic Auth.
> <https://developer.atlassian.com/cloud/bitbucket/rest/intro/#authentication>
>
> Note that Basic Auth is available only with username and [app password](https://bitbucket.org/account/settings/app-passwords/) as credentials


Answers:
author: Neil
body: Hi [@harri_rajala_koivu_solutions](/t5/user/viewprofilepage/user-id/4812083) - to use app passwords in basic auth, the username you'd use is your **Bitbucket username** (visit <https://bitbucket.org/account/settings/> to see/change your username). As I understood it, you were trying to use the *label* that you attributed to the app password when you created it.

comments: author: harri_rajala_koivu_solutions
body: Thanks, that worked.


author: Praveen Kukreja
body: Interesting. Day by day, i feel it is much efficient to go through the support channel instead of spending hours decoding the Atlassian Documentation.

I wonder why such a simple piece of knowledge is hidden from the users and buried deep in the support channels.


Tags: api

bitbucket-cloud

cloud