youngmon/atlassian-qna huggingface dataset:
Unable to login Bitbucket - We couldn?t log you in
Asked by Sergei:

Hi,

Receiving error "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." when log in... Seems like you need reactivate my account. Would you help me, please?


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

Your Bitbucket Cloud account was set to inactive, so I went ahead and reactivated it.

Please feel free to let us know if you are able to log in now and if you need anything further.

Kind regards,  
Theodora

comments: author: Rrrr
body: So much time wasted.

Please [vote](https://jira.atlassian.com/browse/BCLOUD-22664) to have them provide a better error message:

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


author: anuja herath
body: [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086) ,

I think my account is too inactive. Could you please reactivate it?


author: Theodora Boudale
body: Hi [@anuja herath](/t5/user/viewprofilepage/user-id/5311353),

One of my colleagues responded to the question you created here: <https://community.atlassian.com/t5/Bitbucket-questions/Unable-to-login-Bitbucket-We-couldn-t-log-you-in/qaq-p/2471375>

Kind regards,  
Theodora


author: Brant Schroeder
body: [@Sergei](/t5/user/viewprofilepage/user-id/5192317) Welcome to the Atlassian community

Have you tried using a different browser? Do you have a browser that does not have any add-ons installed that you could try?


Tags: bitbucket-cloud

cloud
Bitbucket open source licensing
Asked by andytomlin:

Has Atlassian stopped supporting open source projects on BitBucket? I applied for open source license and was told it is no longer available.


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

Thank you for reaching out to Atlassian Community!

You can submit a request for an open-source license by submitting the form available on the following page :

* <https://www.atlassian.com/software/views/open-source-license-request>

I've also noticed that you have opened an internal ticket with us related to a new workspace to which you have moved your repositories. That workspace is currently in the Community plan which is equivalent to the Open Source license.

Let me know in case you have any questions.

Thank you, [@andytomlin](/t5/user/viewprofilepage/user-id/4253715) !

Patrik S

comments: author: andytomlin
body: Patrick,

Thanks for your answer. My situation recently got resolved satisfactorily. However please be aware, I did submit a request using the above form - 2x. The first time it was closed as 'Atlassian does not support open source license for bitbucket', the second time it was almost closed in the same manner except I was able to prove that I previously had one. There seems to be a disconnect inside Atlassian whether you can get a bitbucket license for open source project. The website, and history seems to suggest you can. However when you fill the form in it does not seem to work unless you are very persistent.

Cheers Andy


Tags: account
How to disable "builds passed" in a merge check?
Asked by Ray Depew:

I want to allow my users to disable the requirement for a "build passed" for individual Pull Requests. How do I do this?

This is for pull requests that involve documentation, not executable code. For these documentation commits, it makes no sense to do a build. A build job takes a lot of time, and ties up resources that someone else on our team could use.

Users will take this action on individual PRs, not on the Branch, Repository, or Project level. I haven't been able to find the appropriate setting on the Pull Request page, or on the Repository Settings page, and I haven't found an answer (yet) in the documentation. Any pointers?

(Product details: Bitbucket Cloud, Premium plan. I am an Admin.)


Answers:
author: Erez Maadani
body: Hey [@Ray Depew](/t5/user/viewprofilepage/user-id/4321549) ,

You can find this setting under "Repository settings" -\> "Workflow" -\> "Branch restrictions" -\> Click on the "Add Branch Restriction" button on the top right corner -\> Choose the "Merge Settings" tab in the opened dialog.

Intuitive... ;)

comments: author: Ray Depew
body: However, this solution requires the user to specify the branch name or the branch type. I'm looking for a setting that will apply to the repository universally, so that users won't have to drill down into the Branch Restrictions every time they create a PR.


author: Patrik S
body: Hello [@Ray Depew](/t5/user/viewprofilepage/user-id/4321549) ,

Just adding to [@Erez Maadani](/t5/user/viewprofilepage/user-id/5018344) response, I'm afraid it's not possible to bypass the merge check, but a workaround I can think of is to create a pipeline specifically for pull requests that match the **documentation/\*** branch pattern and configure the pipeline script to just has a simple command (such as an **echo** ) so it doesn't take much time. Then you could have your developers always use a branch named **documentation/something**when they need to update the documentation that does not require the normal build to be run. That pull request should just trigger the simple build which would ideally be completed in a few seconds.

Thank you, [@Ray Depew](/t5/user/viewprofilepage/user-id/4321549) !

Patrik S


author: Ray Depew
body: [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) that's a good idea for a workaround. Thank you.


Tags: bitbucket-cloud

merge

pull-request
"We couldn't log you in" on (Chrome AND Edge)
Asked by Paul Welby:

My URl: <https://i-am-paul.atlassian.net/secure/admin/ConfigureDvcsOrganizations!default.jspa>

I keep getting this error when I try to log into BitBucket. I want to link my Git repository to the Bitbucket intance, within my JIRA, so I can start to manage my tasks. Every time I try to link my repo in GIT to Bitbucket (in Chrome OR Edge), I get this error: "We couldn't log you in"...


Answers:
author: Syahrul
body: G'day, [@Paul Welby](/t5/user/viewprofilepage/user-id/5192145) and welcome to the community!

It appears that your account is inactive, which is why you were unable to log in. I have reactivated your account, so you can now log in.

Please let me know if you encounter any further issues.

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
Health checking a Bitbucket Webhook
Asked by Jonathan Li:

Is there a way to ping a Webhook to check if its healthy?


Answers:
author: Patrik S
body: Hello [@Jonathan Li](/t5/user/viewprofilepage/user-id/5189068) ,

Thank you for reaching out to Atlassian Community!

I'm afraid there's not an API endpoint to check if the webhook service is healthy, as the webhook requests start from the Bitbucket cloud infrastructure to the external server/service you have configured.

In case you are facing any issues with your webhooks and would like to troubleshoot them, you have the option to **Enable History** under **Repository \> Repository settings \> Webhooks \> View requests.**When the history is enabled, all the subsequent webhooks requests that originate from that repository will be logged and can be viewed in detail, such as the event that triggered the hook, the status of the request, and the content of the payload.

You're also welcome to take a look at our [Troubleshoot webhooks](https://confluence.atlassian.com/bbkb/troubleshoot-webhooks-1167729092.html) article for more details on how to check the history of your webhooks.

Thank you, [@Jonathan Li](/t5/user/viewprofilepage/user-id/5189068) !

Patrik S


Tags: bitbucket-cloud

cloud
Multiple API Filter is not working
Asked by Omraj Krishnamurthy:

Hi,

I'm trying to get the Pull Requests between or after some specific date(s) and from a specific destination branch.

Eg: "<https://api.bitbucket.org/2.0/repositories/>{workspace}/{repo_slug}/pullrequests/?q=created_on\>"2023-04-09T00:00:00.000Z"\&destination.branch.name="master"

For the above Query, I get the Pull Requests greater than "2023-04-09" but it includes all destination branches.

If I place "destination.branch.name" at the first place and then "created_on" parameter, then I get the Pull Requests from master branch but it doesn't filter by greater than specified created_on date.

Eg: "<https://api.bitbucket.org/2.0/repositories/>{workspace}/{repo_slug}/pullrequests/?q=destination.branch.name="master"\&created_on\>"2023-04-09T00:00:00.000Z"

It looks like only the first filter is accounted and then the remaining is ignored.

Any suggestion to resolve this issue is much appreciated.


Answers:
author: Patrik S
body: Hello [@Omraj Krishnamurthy](/t5/user/viewprofilepage/user-id/1278873)

Thank you for reaching out to Atlassian Community!

If you would like to query for multiple parameters in your API call, you will need to use logical operators (AND, OR) between the different conditions, like in the following example:

```
curl -X GET -u username:app_password https://api.bitbucket.org/2.0/repositories/<workspace>/<repository>/pullrequests/?q=updated_on+%3E+2023-01-09T08%3A21%3A50%2B00%3A00+AND+destination.branch.name="test_branch"
```

which would translate to the following condition :

```
updated_on > 2023-01-09T08:21:50+00:00 AND destination.branch.name="test_branch"
```

The date and time values are encoded. Depending on the tool you are using to make the request, it might automatically encode it for you, but in case you would like to encode it manually you could use a third-party tool like <https://www.urlencoder.org/>.

You are also welcome to check for additional examples of querying for multiple conditions on the [Bitbucket API - Filter and sort objects documentation](https://developer.atlassian.com/cloud/bitbucket/rest/intro/#filtering).

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

Thank you, [@Omraj Krishnamurthy](/t5/user/viewprofilepage/user-id/1278873) !

Patrik S

comments: author: Omraj Krishnamurthy
body: Thank you very much. Its working now.


author: Patrik S
body: Happy to have been of some help! Feel free to reach out to Atlassian Community in case you need help in the future :)

Thank you, [@Omraj Krishnamurthy](/t5/user/viewprofilepage/user-id/1278873) !

Patrik S


Tags: bitbucket-cloud

cloud
BitBucket Server to Cloud Migration Wizard - Error
Asked by DevOps:

We've finally resolved all of the obvious errors that were thrown via the Migration Wizard and upon a new attempt, every repository comes up as *Incomplete.* We are trying to migrate from BitBucket Server to Cloud where the underlying server OS is Ubuntu 16.10 with GIT v2.25.5

The errors I am seeing are the following:  

* *Git error: fatal: unable to find remote helper for 'https'*
* *exited with code 128 saying: fatal: unable to find remote helper for 'https' we will Retry if possible*

The full error is this (unique for every repository):

*2023-04-07 13:26:06,304 WARN \[bcma-0\] c.a.b.p.b.g.c.PushStdioHandler$ExitHandler Git error: fatal: unable to find remote helper for 'https'
2023-04-07 13:26:06,304 WARN \[bcma-4\] c.a.b.p.b.j.RepositoryDataUploadJob Git push failed with message: '/usr/local/bin/git -c core.abbrev=40 -c credential.helper= -c credential.username=x-container-token push --porcelain --progress <https://x-container-token@bitbucket.org/evlumadev/nrf.git> refs/\*:refs/\*' exited with code 128 saying: fatal: unable to find remote helper for 'https' we will Retry if possible*

Any ideas on how to remedy?


Answers:
author: DevOps
body: SOLVED - Looks like the issue is indeed related to first having compiled git without having *libcurl4-openssl-dev* *.*Once I installed libcurl, I re-compiled Git and things seem to be processing now


Tags: bitbucket-cloud

cloud
What is the Base URL to authenticate to Appcenter?
Asked by Diego M?rquez:

I'm having trouble connecting my Bitbucket repository to Appcenter in order to run my apps, I need my base URL, the downside is that I'm invited to the JIRA account to create repositories and other functions. I already tried with the documentation provided by the Appcenter but it is not enough, do you know of a site that can help me with that and explain it to me in detail, thanks.


Answers:
author: Patrik S
body: Hello [@Diego M?rquez](/t5/user/viewprofilepage/user-id/5190870) ,

Welcome to Atlassian Community!

Based on Microsoft's App Center documentation on [Managing source repository connections](https://learn.microsoft.com/en-us/appcenter/build/connect) , you should be able to connect with Bitbucket Cloud using the OAuth authentication flow. This means that when creating the connection on App Center Build's tab, you should be redirected to Bitbucket on a page where you will need to **Grant** App Center permission to access the repositories to which your Bitbucket account has access.

That documentation does not particularly mention the need to provide a base URL. Could you please share with us a screenshot of the exact page you are seeing?

Thank you, [@Diego M?rquez](/t5/user/viewprofilepage/user-id/5190870) !

Patrik S


Tags: bitbucket-cloud

cloud
Cannot create new issues.
Asked by Vizit0r:

Try to create new issue in repo <https://bitbucket.org/egrange/dwscript/issues> but cannot, received message

We can't let you see this page {#toc-hId--469678613}
----------------------------------------------------

As you can see in list of issues, last of them - i'm create few issues without any problems before, the last was in Feb'23.

I found few question with same problem, like <https://community.atlassian.com/t5/Bitbucket-questions/I-can-t-create-any-issues/qaq-p/2305123> f.e., as per last messages by author - this problem solved only temporary, than coming again and again.

Any suggection or advices?


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

I reached out to our engineering team and they have fixed this. Could you please check if you can create a new issue in this issue tracker now?

Kind regards,  
Theodora

comments: author: Vizit0r
body: Thanks, now it work correctly! The bug is fixed.


author: Alex Koxaras _Relational_
body: [@Vizit0r](/t5/user/viewprofilepage/user-id/5127588) good to know that your problem was solved!


author: Vizit0r
body: thank you for you help!


author: Scott Wiltshire
body: No this bug is not fixed. It is still affecting our public issue tracker.

comments: author: Alex Koxaras _Relational_
body: [@Scott Wiltshire](/t5/user/viewprofilepage/user-id/1849056) this has been fixed only for [@Vizit0r](/t5/user/viewprofilepage/user-id/5127588) and not for you. It would be great if you could create a new post about your problem and fill in all the necessary info. Thanx.


author: Scott Wiltshire
body: [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) this I understand. But this is clearly a general bug which has been introduced recently as part of the "upgrade" of Bitbucket permissions <https://community.atlassian.com/t5/Bitbucket-articles/Taking-Bitbucket-permission-management-to-the-next-level/ba-p/2264892>

However, a piecemeal approach by point-fixing individual repositories for what is clearly a general bug hardly seems like good practice!


author: Alex Koxaras _Relational_
body: I agree with you. Did you raise a request to Atlassian about this? From the search I did on jira.atlassian, can't really find anything related. If you and the other who are facing this problem don't raise a request (and then vote/watch), I don't think that atlassian is going to put effort in solving this. So instead, if it affects a few people, it might solve it individually.


author: Alex Koxaras _Relational_
body: Hi [@Vizit0r](/t5/user/viewprofilepage/user-id/5127588) and welcome to the community,

I'll escalate internally your issue, and a member of the Atlassian team will contact you.

comments: author: Vizit0r
body: thanks, awaiting for them.


Tags: atl-rvw

bitbucket-cloud

cloud
Email Unblock Request
Asked by Benjamin Marsh:

I created an Email today to create a Jira Board and when I went to sign up our email server said the incoming email was going to an Invalid Recipient, so I would assume that the email is probably on the suppression list.

Domain for the email is @techguides.it.

If it would be possible to get the email removed from the list so I can send a verification for sign up I would greatly appreciate it.


Answers:
author: Esther Strom
body: [@Benjamin Marsh](/t5/user/viewprofilepage/user-id/5010620) - you'll need to open a ticket with Atlassian support; on the Community site we're all just users like you - we don't have access to make changes to your system.

<https://support.atlassian.com/contact>


Tags: bitbucket-cloud

cloud
Is there any tool available to resolve merge conflicts directly in BitBucket?
Asked by Sriram S:

Hi Team,

I can see we are not able to resolve the conflicts in UI. is there any tool available (Free/Paid) to solve this issue


Answers:
author: Aron Gombas _Midori_
body: I don't know about any.

The harsh reality is that there are multiple web based editors for Bitbucket Server and Data Center, but Bitbucket Cloud has very basic support for apps in general. (You can't even make a paid Bitbucket Cloud app, so developers won't invest too much time into building these.)


author: Theodora Boudale
body: Hi [@Sriram S](/t5/user/viewprofilepage/user-id/5190483),

I just wanted to add that we have several feature requests about this that you can vote for (by selecting the **Vote for this issue** link in each ticket) in order to express your interest:

* Resolving conflicts with .gitattributes file: <https://jira.atlassian.com/browse/BCLOUD-12935>
* Resolving conflicts by editing a file online: <https://jira.atlassian.com/browse/BCLOUD-19568>
* Resolving conflicts with --ours or --theirs flag: <https://jira.atlassian.com/browse/BCLOUD-21899>

You can also add yourself as a watcher to a certain feature request (by selecting the **Start watching this issue** link) if you'd like to get notified via email on updates.

Implementation of new 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
When trying to log into bitbucket account I get "We couldn?t log you in You may run into this...".
Asked by chrisdew:

When trying to log into bitbucket account I get:
>
> We couldn't log you in {#toc-hId--469731306}
> --------------------------------------------
>
> 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've tried three browsers on both Linux and WIndows, so I assume this must be account-related.

I'm posting here because I read: <https://community.atlassian.com/t5/Bitbucket-questions/Unable-to-login-Bitbucket-We-couldn-t-log-you-in/qaq-p/1896018>


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

Welcome to Atlassian Community!

I've checked internally and the bitbucket account associated with the email you used to post this question is currently **Active,** so you should be able to login with it. If the bitbucket account you are trying to access has a different email address, we kindly ask you to log in with the affected email in Atlassian Community and post a new question or respond here so we can verify that email as well.

Also, make sure you are using one of the [Bitbucket supported browsers](https://confluence.atlassian.com/bbkb/which-web-browsers-does-bitbucket-support-1168845119.html#:~:text=Supported%20browsers&text=Bitbucket%20Cloud%20supports%20the%20latest,latest%20stable%20version%2C%20if%20necessary.), and also try using the Incognito mode of your browser to test if any extensions/cache might be causing the issue with the login.

Thank you, [@chrisdew](/t5/user/viewprofilepage/user-id/5190263) !

Patrik S


Tags: cloud
Delving in the help of professionals: seriously, I have a qestion
Asked by Mia Paulin:

Hi all! This is geared to all the mentors out there. I'm familiarizing myself with the portal and have a couple of questions. First, integrate different parts of the Jira portal together to where I don't have to go from one section to the other just to work on different part of the same project. An example of this is having to go outside of Bitbucket to get to information in Jira software that I need in Bitbucket, and then having to navigate to another Jira product to get other things needed for that project. The navigation makes me lose track of where I was initially working. There was a tutorial I was reading that had the information that I thought I bookmarked, but can't find. In the future, I'm going to link tutorial url's to the actual issue information. Anyway, call someone guide me in the right direction to either find this information or explain how to link different Jira apps in the same project together so I can just go from one aspect of the project to another?


Answers:
author: Anne Saunders
body: We don't use Bitbucket, but we do use Jira and Confluence, and the only answer we've found that suits us is LINKS. LOTS of links.   

Whenever a Confluence page or space is created to go with an issue in Jira, The creator adds a link in each product to make back and forth navigation easy.   

I recommend using the "Project Pages" link at the Jira Project level, or "Link to Confluence" button on individual Jira issues; bitbucket looks to be a little more involved, since it's more automated - here's a link, tho: <https://confluence.atlassian.com/bitbucketserver/link-bitbucket-with-jira-776640408.html#LinkBitbucketwithJira-LinkwithJiraSoftwareCloud>

comments: author: Mia Paulin
body: [@Anne Saunders](/t5/user/viewprofilepage/user-id/3596974) Thanks. That helps out a lot.
Using Cypress-On-Rails on Bitbucket Pipelines
Asked by Antarr Byrd:

I'm trying to configure [Cypress-On-Rails](https://github.com/shakacode/cypress-on-rails) to run using BitBucket pipelines. I get an error when calling**yarn cypress run.**  
![Snip20230406_15.png](/t5/image/serverpage/image-id/250319iA0A2E6D315C8C59D/image-size/large?v=v2&px=999 "Snip20230406_15.png")  
![Snip20230406_16.png](/t5/image/serverpage/image-id/250321i13857C294F2FCA5D/image-size/large?v=v2&px=999 "Snip20230406_16.png")


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

Just to give you some context, Pipelines 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. If you use a service for a step, then a second Docker container will start for the service which will share a network adapter with your build container. The repo is cloned in the build container, and then the commands of the step's script are executed. When the step finishes the Docker containers get destroyed.

We have a guide for debugging pipelines builds locally with Docker:

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

I would suggest following this guide to debug your build locally and see if the issue is reproducible. When debugging locally, please make sure that you use the same Docker images as in your bitbucket-pipelines.yml file (*ruby:2.7.8-slim-bullseye* for the build container and *mysql:8.0.26* for the service container).

If the issue is reproducible locally, then the error is not specific to Pipelines (it may be related to the Docker image of the build container or your source code). When debugging locally, you can also run additional commands to troubleshoot this further. You could also try debugging it locally with different Docker images.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud