youngmon/atlassian-qna huggingface dataset:
How do I rebuild the branch so that my PR is unblocked to merge
Asked by Tanmay Mathur:

I pushed code yesterday with some errors maybe because of which build failed, now when I am trying to merge after fixing them, it is not allowing me because the build failed yesterday. I need something like rebuild button.


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

Based on your description, it's likely the case that the repository you are working on has branch restrictions in place that implements the merge check "**Minimum number of successful builds for the last commit with no failed builds and no in progress builds** " (see [Suggest or required checks before a merge](https://support.atlassian.com/bitbucket-cloud/docs/suggest-or-require-checks-before-a-merge/#Merge-checks)).

This will verify the **last commit** made on the **source branch** of the pull request and check if it has no failed/in-progress builds and if it meets the minimum number of successful builds. The minimum number of successful builds is configured in the branch restriction itself (Repository Settings \> Branch Restrictions).

With that in mind, you will need to check if the **last commit** you pushed to the **source branch** of the pull request is meeting that criteria. If no build has run for the last commit yet, you can manually trigger it by opening that commit and clicking on the **Run pipeline** option :

![Screenshot 2023-07-27 at 12.04.45 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/271571i06D0AFBF8B077878/image-size/large?v=v2&px=999 "Screenshot 2023-07-27 at 12.04.45 PM.png")

That will trigger a new build for that particular commit, and the build should now appear on the pull request page.

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

Thank you, [@Tanmay Mathur](/t5/user/viewprofilepage/user-id/5277479) !

Patrik S


Tags: bitbucket-cloud

cloud
new invitation link not received
Asked by BKT Helpdesk:

One of my user (\<redacted\>) is not able to receive invitation link not the reset the password. I have check in all spam and email servers too but no result. Can you help me out to solve this issue please? All other users on same domain are receiving mails and working fine. Only this particular user is facing issue.


Answers:
author: Patrik S
body: Hello [@BKT Helpdesk](/t5/user/viewprofilepage/user-id/5276358) and welcome to the community!

I see the email you shared was added to one of our suppressions lists because the destination email server bounced it with the following error :

```
554 5.7.1 [internal] recipient address was suppressed due to customer policy
```

I went ahead and removed the email from the suppression list, so you can try inviting the user again now.

Let me know in case you are still facing the issue.

Just a heads-up, I've removed the email address from the question to protect user's privacy as this is a public forum.

Thank you, [@BKT Helpdesk](/t5/user/viewprofilepage/user-id/5276358) !  
Patrik S

comments: author: BKT Helpdesk
body: Issue resolved. Thank you so much helping.


Tags: bitbucket-cloud

cloud

jira-cloud

jira-service-management

jira-service-management-cloud
Diff?rent size between local and remote repo
Asked by Said KHADRAOUI:

Hello, in Bitbucket shows a size of 3.52 GB but my repo locally is showing 405 MB when I run "git count-objects -v". Am I missing something here? Is Bitbucket Cloud counting something else? I haven't change anything locally and did a git pull.


Answers:
author: Patrik S
body: Hello [@Said KHADRAOUI](/t5/user/viewprofilepage/user-id/5277131) and welcome to the community!

It might have been the case that your repository has objects/commits that became dangling after undoing a push or rewriting the history.

I was able to find a repository you have access to that had a size of 3.5GB, so I went ahead and executed a git garbage collection on that repo to remove any dangling objects, which helped to reduce the size down to **1.6GB**.

Now that GC is completed, I would highly recommend you having everyone on your team removing their old copies of the repository and doing a fresh clone of it. Since the old clones have a dirty history, it's better to delete them, so you don't risk pushing the dangling objects back into your cleaned repository, which would increase its size again.

If you would like to reduce the size further, you might need to remove any large files you still have in the repo history or migrate them to LFS storage. You can find detailed instructions on how to do that in the article [Reduce repository size](https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/).

Thank you, [@Said KHADRAOUI](/t5/user/viewprofilepage/user-id/5277131) !

Patrik S

comments: author: Said KHADRAOUI
body: [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) Thanks a lot !


Tags: bitbucket-cloud

cloud
Problem to access bitbucket accounts
Asked by vitordesousa:

I'm having trouble accessing my Bitbucket account. From what it looks like, bitbucket's two-factor authentication is different than the one I'm using to log into Jira/Confluence...

I've already reset the code 3+ times during these two times and I still can't access bitbucket.

I know that I have access to 4 workspaces, one with my name and another 3 with projects I've already worked/work on, the issue is that I can't access any of the 4 with the same 2fa key I use to enter other products.

Can anyone help me?

Thanks in advance.


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

In Atlassian there's Atlassian account that you can use to log in with all Atlassian products and has it its own 2 step-verification (SV), but in Bitbucket account we do have another layer of 2FA authentication. Each of the 2FA is configured separately in your phone and will generate different codes.

We have an article that explains in detail the [Difference between Atlassian 2SV and Bitbucket 2FA](https://confluence.atlassian.com/bbkb/difference-between-atlassian-2sv-and-bitbucket-2fa-1142451057.html) , where you will also find the images demonstrating what the prompt for Atlassian 2SV and Bitbucket 2FA looks like, so you are able to differentiate them while asked for the code.

If you lose access to your mobile device and you don't have the Bitbucket 2FA code, you can access your account using a one-time link sent to the email address associated with your user profile.

The recovery link will allow the user to temporarily disable 2SV and log in to the account.

To request the recovery e-mail through the login screen you will need to click on **Forgot code \> Send recovery e-mail when prompted for the 2SV code**.

Please note, that there is a 24-hour wait period to receive the email. The 24h delay is a necessary measure to protect our customers and their data from social engineering attempts and it's not possible to bypass this security measure.

Thank you, [@vitordesousa](/t5/user/viewprofilepage/user-id/5276786) !

Patrik S

comments: author: vitordesousa
body: Thanks [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) .. all right now! :)


author: crckm522fw
body: This looks to confusing to me ! How did I end up here?


author: crckm522fw
body: Send recovery email pl


author: Rose Arellanez Lee
body: Send rectory code pl


Tags: bitbucket-cloud

cloud
Not able to select branch for "From Branch" while creating the new cut branch from Bitbucket.
Asked by Harshavardhanreddy_D:

Hi All,

Hope you are doing well.

I'm trying to create new branch from an existing branch. By default from branch is "master" and when I tried to search the existing branch, it's auto refreshing with "master" branch.

Kindly assist on this issue.

Thanks

Harsha


Answers:
author: Mark C
body: Hi Everyone,   

We are happy to advise that we received an update from our engineering team that the branch search functionality bug is now fixed.  

We apologize for the inconvenience this has caused you and your team.  

Regards,  
Bitbucket Cloud Support Team


author: Harshavardhanreddy_D
body: [@Mark C](/t5/user/viewprofilepage/user-id/1210823)Appreciate your Immediate support. Thank you so much. It's working now.


author: Geoffrey Whetstone
body: We have multiple users experiencing the same issue.


Tags: bitbucket-cloud

cloud
Using bitbucket api 2.0 to create a PR and having problems with reviewers
Asked by Hudson Luiz Sales Schumaker:

HI,

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

to create PRs, but if i add the reviewers attribute I get 400. in the documentation shows to use this partner   

{ "title": "My Title", "source": { "branch": { "name": "my-feature-branch" } }, "reviewers": \[ { "uuid": "{504c3b62-8120-4f0c-a7bc-87800b9d6f70}" } \] }  

is something broken in this api ?

and I check the api to get the pull resquests <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-pullrequests/#api-repositories-workspace-repo-slug-pullrequests-get>  
thats show the "reviewers": \[ { "type": "\<string\>" } \], attribute in the docs. but the attribute is no coming.  

regards


Answers:
author: Theodora Boudale
body: Hi Hudson,

There is nothing broken with this API endpoint.

An example call with curl that works is the following:

```
curl --header 'Authorization: Basic redacted' -X POST https://api.bitbucket.org/2.0/repositories/my-workpsace/my-repo/pullrequests \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{ "title": "My Test PR", "source": {"branch": {"name": "feature-branch" } }, "reviewers": [ { "uuid": "{some-uuid}" } ] }'
```

A 400 error usually indicates a malformed request syntax.

Could you perhaps post here the call you are making, and replace the actual values of private/sensitive info with dummy values? We can then check if something is not correct in that request.

Kind regards,  
Theodora

comments: author: Hudson Luiz Sales Schumaker
body: Hello [Theodora Boudale](/t5/user/viewprofilepage/user-id/818086),   
run the example you put here and see it works, does not. I figured it out the error, lets see if you can find the error on your example, after you find, please update the documentation.

best regards,


author: Theodora Boudale
body: Hi Hudson,

I did run the request I posted it here and it was successful. The PR was created with the reviewer added.

If you believe you found an error, please feel free to share.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Cloning issue in bitbucket using sourcetree
Asked by demandwaregr:

Hi,

We could not clone the data from bitbucket by using sourcetree.

![clone Issue.png](/t5/image/serverpage/image-id/63099iE67E2457CD72B7FD/image-size/large?v=v2&px=999 "clone Issue.png")


Answers:
author: Stephen Sifers
body: Hello,

Thanks for reporting your issues with Sourcetree. Your error within the screenshot is pointing to a disruption within the communication between Sourcetree and Bitbucket. While the error does not let us know exactly what happened, we can see the connection was either terminated or disrupted (possibly timed out). [@Ana Retamal](/t5/user/viewprofilepage/user-id/1067288) did an excellent job responding to a similar issue within Community and we would suggest you review her response at [The remote end hung up unexpectedly](https://community.atlassian.com/t5/Bitbucket-questions/The-remote-end-hung-up-unexpectedly/qaq-p/808993).

Please let us know if that post was helpful and you're able to progress past your error.

Regards,  
Stephen Sifers


Tags: bitbucket
not receiving verification emails from Atlassian
Asked by Manisha rajendran:

I have tried to set up a new account for source tree for my work

the email address is correct however I'm not receiving any verification code?

I have tried re-sending the email a many times and haven't received any of them.


Answers:
author: Dario B
body: Hi [@Manisha rajendran](/t5/user/viewprofilepage/user-id/3524128) ,

Welcome to the Atlassian Community!

Your email address is in our bounce list since every time we try to deliver a message we receive the below error message in return:

```
554 5.7.1 [internal] recipient address was suppressed due to customer policy
```

This is because the MX records for your domain are either wrong or refusing connections from unknown hosts.

You can check this yourself by using any online tool like for example:

<https://www.ultratools.com/tools/emailTest>
> MX Record Target: 10 mxa-000e6001.xxxxxxx.  
> IP address: 67.xxxxxxxx1   
> Status: Connect failed  
> Test duration(ms): Timed out...
>
> MX Record Target: 10 mxb-000e6001.xxxxxxxx.  
> IP address: 67.xxxxxxxxx8   
> Status: Connect failed  
> Test duration(ms): Timed out...

Now, we have removed your email address from our bounce list but this will be re-added every time we try to send you an email until the issues with the MX record for your domain won't be fixed.

Can you kindly get in touch with your IT department or whoever is managing your domain and forward this thread to them?

Cheers,  
Dario


author: Dario B
body: Hi [@Manisha rajendran](/t5/user/viewprofilepage/user-id/3524128) ,

Happy to know that the issue is fixed, please accept my answer so that the thread will be marked as solved.

Also, remember to get in touch with anyone that can look into the MX records issue in order to avoid this problem from happening again in the future.

Have a nice day!

Cheers,  
Dario


author: Manisha rajendran
body: Hi Dario,

Now i am getting Email notification from atlassian

Regards,

Manisha


author: Manisha rajendran
body: [https://getsupport.atlassian.com/servicedesk/customer/portal/35/CA-771798](https://getsupport.atlassian.com/servicedesk/customer/portal/35/CA-771798?)


author: Dario B
body: Hi [@Manisha rajendran](/t5/user/viewprofilepage/user-id/3524128) ,  
After some attempts the MX records seems to be responding. It can be the case that it is either sometimes overloaded and it takes so long to reply that it times out on the other end, or it is randomly going down, or anything else that you might still want to investigate on your end.  
However, I have removed the email address from the bounce list and sent an account recovery notification that, according to below logs, has been correctly delivered:

```
2019-08-21 15:43:44.085 delivery mxxxxxxxn@xxxxxx.com 52.xxxxxxx15 noreply@am.atlassian.com xxxxxxx.com dedicated1
```

Please confirm you have received the email.  
Cheers,  
Dario


Tags: jira

bitbucket

confluence
Git flow in Sourcetree 3.1.3
Asked by pacebrianbov:

I am having a problem with SourceTree, where I start off with only a master branch, and then I enable git flow with defaults, which only creates a develop branch.

The issue here is that when I click on Git Flow button, it gives me the option to finish develop feature, which merges develop with itself, instead of providing a menu to create features and others. The Git flow is treating the develop and master as features instead of branches.

Am I doing something wrong in the Git Flow setup?![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/63089iA0C5CB852ED8D4A5/image-size/large?v=v2&px=999 "image.png")


Answers:
author: takatalvi12
body: I have the same issue in Windows (Sourcetree version 3.3.4), also when i follow the flow with "Other action" \> "Start new feature" and create a feature, it is now showing as a branch and not like in previous versions (inside a "folder" with the name "feature").  

The workaround for this is manage my branches with responsibility with the concept of git-flow in mind, i mean, all in a manual way.

comments: author: pacebrianbov
body: I recall opening the config file in the .git folder at the root directory of my repository and noticing that the section \[gitflow "prefix"\] was not initialised. I had to manually repair these as:

\[gitflow "branch"\]  
master = master  
develop = develop

<br />

\[gitflow "prefix"\]

feature = feature/  
release = release/  
hotfix = hotfix/  
support = support/  
versiontag =


author: takatalvi12
body: You're right that's a good fix to this. Thanks!


Tags: bitbucket

bitbucket-cloud

cloud

git-flow
How to register the application
Asked by piotr-zysk:

Hi, recently I started to use Sourcetree ver 1.7 and I noticed that I am not able to regiister it because:

When I click the button "Register Now - Free!" I am redirected to a dead link on you website (404). The seonc and last option is to Import License. I connato do it as well, because I am not able to figure out how to get the license.

Please help me. Please advise how to register the application.


Answers:
author: Stephen Sifers
body: Hello,

Sourcetree 1.7 is an older version of the product and chances are the registration link you're going to may no longer be present as its outdated. We would suggest upgrading to the latest available product and attempting registration again. Please download a later version of the product at [https://www.sourcetreeapp.com](https://www.sourcetreeapp.com/).

If you're still having issues please reach out and let us know.

Regards,  
Stephen Sifers
We're having log in issues
Asked by simondawson7:

One member of our team trying to log in to our repositories is having real problems logging in using SourceTree. She can log in directly to BitBucket but not on SourceTree. She has even tried creating a new account but is still not able to get in as authentication fails everytime. She also gets 4 popups asking for authentication details each time. Can someone help please?


Answers:
author: Ana Retamal
body: Hi Simon, welcome to the Community!

We'll need more information to understand what is causing this problem. Could you answer the following questions?:

1. Is she using Bitbucket Cloud or Server?
2. Is she using Windows or Mac? If she's on Windows, is her Internet Explorer updated to the latest version? (Sourcetree relies on it for the authentication step)
3. What steps is she following to try to connect?
4. What error message does she get when the authentication fails?
5. Is she working on the same network as you?

Let us know,

Ana


Tags: bitbucket
Failed to clone project
Asked by birdkingz:

I'm getting this error

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote   
Output:  
Error: remote: Too many invalid password attempts. Log in at <https://id.atlassian.com/> to restore access.  
fatal: unable to access '': The requested URL returned error: 403

Although I've tried to login on website and I can access my account via website.

Also I have make sure sourcetree account authentication is OK.

Please assist.   
Running on Windows 7 sourcetree version 3.1.2


Answers:
author: birdkingz
body: Managed to solve after reset account password.
Unable to download OSX SourceTree 2.7 from download-archives
Asked by Ian Irving:

Looks like <https://www.sourcetreeapp.com/download-archives> after version 2.6.3 are broken

for example, trying to get 2.7.6 results in

<https://downloads.atlassian.com/software/sourcetree/Sourcetree_2.7.6a.zip?_ga=2.75318545.244414956.1565356916-1770805668.1565356916>

403 Forbidden {#toc-hId--1411842012}
------------------------------------

* Code: AccessDenied
* Message: Access Denied
* RequestId: 17D60BABC11D4042
* HostId: 5FeOrfwJKyDNPfenUZvMLroXoSP7Yh+UBkTIdp1agq8fY9W5b9PG274p4RNJSwbgpOWbOtbXA+s=

*** ** * ** ***


Answers:
author: Daniel Eads
body: Hey Ian,

I can confirm the 2.7 links all result in errors currently. We're working on patching up that directory in our download archive and I'll update you when it's corrected!

**Update**:

We've patched up that directory on the downloads archive and the 2.7 builds are available for download again.

Cheers,  
Daniel \| Atlassian Support
Parallels Desktop was not found.?????mac?Sourcetree?????
Asked by Hiroshi Muto:

??Parallels Desktop???????????????????????PC????????????mac??sourcetree????????????????????????????????????????????

????????????????????


Answers:
author: Ai Hirama
body: ?????????????????????????

?????????????????????????????????????

<https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564>

??????????????????????????????????????????

comments: author: Hiroshi Muto
body: ?????????????????????/Library/Application Support/SourceTree"????

/Application Support???SourceTree????????

?????????????![????????? 2019-08-09 12.33.17.png](https://community.atlassian.com/t5/image/serverpage/image-id/62877i9B2EDCC250EA31CE/image-size/large?v=v2&px=999 "????????? 2019-08-09 12.33.17.png")


author: Ai Hirama
body: ??????????????????

??????Sourcetree?????????????????????????Parallels Desktop???????????????????????????????????????????

?????????Parallels Desktop?????????????????????????????????????


author: Hiroshi Muto
body: ??????????????????

??Parallels Desktop???????????windows??Sourcetree????????????????????????????????????

???????????????????????????


author: Ai Hirama
body: ???????????????????????

???????????????????????


Tags: language-ja
Invalid Username. Tried removing account now it won't re-add.
Asked by steveagency73:

remote: Invalid username or password fatal: Authentication failed. error.   

I tried removing my account and now when I add it it signs into the dialog window but still shows no account.   

![Screen Shot 2019-08-06 at 12.55.45 PM.png](/t5/image/serverpage/image-id/62857iA43064F4DF3A7054/image-dimensions/432x306?v=v2 "Screen Shot 2019-08-06 at 12.55.45 PM.png")


Answers:
author: Ana Retamal
body: Hi Steve, welcome to the Community!

Seems like something has gone wrong internally. Can you try [wiping Sourcetree preferences?](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html) After that, try re-adding your account and let us know if it works for you.

Best regards,

Ana
Why is SourceTree's "Check for Updates" button disabled?
Asked by gougmcgrath:

I have two installations of SourceTree for Windows. One of them is working correctly; it automatically detects new versions and has the "Check for Updates" button on the Update tab of the Options page is enabled.

The other one is not detecting new versions and the "Check for Updates" button is disabled. I don't know how to fix it. It is currently stuck on version 3.1.3 and the most recent version is 3.1.5.

Unfortunately, the sourcetreeapp.com web site is two versions behind, so I don't have the option of downloading the newest version manually.


Answers:
author: bgannin
body: Hi [@gougmcgrath](/t5/user/viewprofilepage/user-id/2096077),

The MSI installation of Sourcetree for Windows is intended for corporate distribution and disables automatic updating so administrators can have more control and flexibility. This is likely the source of what you're seeing.

I'll ping folks about the visibility of 3.1.5 for downloading on the website, thank you for the note.

Brian Ganninger  
Principal Developer, Sourcetree
SourceTree 3.2.1 routinely not noticing changed files on macOS Catalina
Asked by Andrew Benson:

Sourcetree 3.2.1 is often not noticing files that have changed unless I close and re-open. Please advise/fix.

<br />

I'm on Catalina on my Mac, if that matters.


Answers:
author: Stephen Sifers
body: Hello Andrew and welcome to the Community!

Thank you for reporting a possible issue with Sourcetree not detecting files with changes. To understand a bit more, could you provide screenshots and your workflow so we may attempt to recreate the issue?

Additionally, we do see there is a reported defect that may be similar. Please review this reported bug at [SRCTREE-6823](https://jira.atlassian.com/browse/SRCTREE-6823), If this is similar to your issue please let us know.

Regards,  
Stephen SIfers

comments: author: Andrew Benson
body: It could be, though my issue was running on macOS but also didn't show the number of items to commit either, so it may be different.