youngmon/atlassian-qna huggingface dataset:
Please check status of email invite from bitbucket.org
Asked by Ray Depew:

Can you do a quick check of the status of an invitation sent from our workspace to \<email removed due to privacy reasons\>? The invitation seems to have gotten stuck somewhere.

It may be that our Outlook server caught it and stuck it in the junk-mail bucket, but I want to check the Bitbucket end as well.


Answers:
author: Caroline R
body: Hi, [@Ray Depew](/t5/user/viewprofilepage/user-id/4321549), thank you for reaching out to Atlassian Community!

I checked the email you informed and confirmed it had a block on the server that prevented emails from being sent to them, so I removed this email from the suppression list.

Just to give you some context around this issue, it can occur when the system tries to send an email to the user and the account does not exist yet, is not activated, or it rejects the email for some internal reason.

Now, could you please remove the invitation and send them a new one? You can do this by following the next steps:

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

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

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

* Click on the "**invitation pending**";

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

* Add the email again to send a new invitation.

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

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

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

* Click on the "**invitation pending**";

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

* Add the email again to send a new invitation.

In case they still don't receive the email, could you please check if there are any quarantined emails on the server?

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

Kind regards,  
Caroline


author: Ray Depew
body: Thank you! it worked.


Tags: bitbucket-cloud

cloud

invite
fatal: An error occurred while sending the request. fatal: The underlying connection was closed: An
Asked by Abhijith P S:

fatal: An error occurred while sending the request.  
fatal: The underlying connection was closed: An unexpected error occurred on a send.  
fatal: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.  
fatal: An existing connection was forcibly closed by the remote host

Hi Guys,

I'm getting this error when i tried to push my changes to repo.. I'm connecting using VPN(because its official).It was working fine. Suddenly started to throw this. Please find me a solution

Thank you.


Answers:
author: Caroline R
body: Hi, [@Abhijith P S](/t5/user/viewprofilepage/user-id/4708894),

I saw that you created a ticket with our support related to the same question and they have already contacted you there, so to avoid any possible misunderstandings or miscommunication that may arise from discussing the same matter on two different platforms, let's focus on the ticket instead.

Please feel free to share the resolution here to help other community members that may have the same issue.

Kind regards,  
Caroline

comments: author: Ibrahim Amro
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) ,

do you know what the Solution was which helped in that case?

We are facing the same Error in another context.

Jira Cloud is in use and while doing rest api requests, we are getting this error.

Thank you in advance.

Best


Tags: bitbucket-cloud

cloud
GIt Repo exceeds 4 GB
Asked by Prachi Jain Chaudhary:

My repository size becomes over the limit of 4gb. So I reset the one branch to commit before the large commit and gave git push --force.  
I still have some branch with same large files.  
Do I need to do same with all branches ?

Will deleting old branches will effect ?


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

I checked the repositories that your Bitbucket Cloud account has access to and couldn't find any repo showing 4 GB, could you please confirm if after you reset this branch, the repository size decreased?

If you need to remove files from the history of all branches, I would recommend running BFG on a mirror clone (as mentioned here: <https://rtyley.github.io/bfg-repo-cleaner/>), this way you will not have to repeat the process for every branch.

If you plan to use BFG to reduce the repo's size further, please feel free to let me know after you push your changes and I can run a git GC (I just would need to know the repository name, so you could share the last 3 letters of this repo here).

Let me know if you have any questions.

Kind regards,   
Caroline


Tags: bitbucket-cloud

cloud
bitbucket runner wrong env var BITBUCKET_CLONE_DIR
Asked by Dominik Arnoldi:

Hello,

when i use the newest version of bitbucket runner 1.276 our pipeline is failing as it could not find the the directory which is set in the env var BITBUCKET_CLONE_DIR.

![2022-01-14-124949_491x24_scrot.png](/t5/image/serverpage/image-id/177790i4A653F73313A8D84/image-size/large?v=v2&px=999 "2022-01-14-124949_491x24_scrot.png")![2022-01-14-125003_577x24_scrot.png](/t5/image/serverpage/image-id/177791iE055E6476CB20310/image-size/large?v=v2&px=999 "2022-01-14-125003_577x24_scrot.png")

The step for setting up the "build setup" gives me the hint that it clones the repo to the path ![2022-01-14-125228_409x22_scrot.png](/t5/image/serverpage/image-id/177792iD9C5E183CD0B67E1/image-size/large?v=v2&px=999 "2022-01-14-125228_409x22_scrot.png") where i could find the sources. But that doesn't look right to me cause i think the source location should also be found in the env var right ?


Answers:
author: Caroline R
body: Hi, [@Dominik Arnoldi](/t5/user/viewprofilepage/user-id/3820396).

Indeed, we had a bug with the environment variable BITBUCKET_CLONE_DIR, as you can see here:

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

But our dev team has implemented a fix for this issue yesterday. Could you please update your runner to the latest version (v1.280)?

Kind regards,   
Caroline

comments: author: Dominik Arnoldi
body: Hi [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) ,

thank you a lot. Tested the new version v1.280 of the runner and works pretty fine. Thx for the fast support.

Kind regards

Dominik


author: Norbert C
body: Hi Dominik,

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

I'd like to inform you that our engineering team has already updated the runners version and now we have the 277 version. Can I ask you to update your runners to the latest version and let us know if you still have this issue?

We're looking forward to hear from you.

Best Regards,  
Norbert  
Atlassian Bitbucket Cloud Support


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
How to attach a file to PR comment using REST API on bitbucket cloud?
Asked by Ashok Masimukku:

I can find the documentation and got it working for just the data but how can we attach files to PR comment using the REST api 2.0?


Answers:
author: Pratik
body: Hi [@Ashok Masimukku](/t5/user/viewprofilepage/user-id/4407578) Hope this helps - <https://community.atlassian.com/t5/Bitbucket-questions/What-API-version-does-my-corp-BB-server-is-on/qaq-p/1847283?tempId=eyJvaWRjX2NvbnNlbnRfbGFuZ3VhZ2VfdmVyc2lvbiI6IjIuMCIsIm9pZGNfY29uc2VudF9ncmFudGVkX2F0IjoxNjQ4MDc1MTI4MjU5fQ%3D%3D>


author: Syahrul
body: Hey [@Ashok Masimukku](/t5/user/viewprofilepage/user-id/4407578)

G'Day!

I believe we don't have a way to directly upload attachments to Pull request comments, but it's possible to upload attachments on the pull request itself as per our Blog post [here.](https://community.atlassian.com/t5/Bitbucket-articles/Add-file-attachments-to-pull-requests-in-Bitbucket-Cloud/ba-p/1490184)

We do have an existing open feature request on this, I would suggest you **Vote \& Watch** so that you'll receive an update whenever we have any at:

* [Attachments for pull request comments](https://jira.atlassian.com/browse/BCLOUD-6232)

I hope this helps, please let me know if you have any additional questions.

Cheers,  
Syahrul


Tags: bitbucket-cloud

cloud
Bitbucket Downloads pricing
Asked by Enrico Costanzi:

I'm looking at the standard cloud plan and I'm trying to understand where to put compiled artifacts (jar files).

According to the documentation

<https://support.atlassian.com/bitbucket-cloud/docs/deploy-build-artifacts-to-bitbucket-downloads/>

it's possible to publish code artifacts using bitbucket downloads.

I cannot understand how many GBs of artifacts are included in the standard plan. Someone can help?


Answers:
author: Syahrul
body: Hey [@Enrico Costanzi](/t5/user/viewprofilepage/user-id/1360705)

G'Day!

It's possible to publish your artifacts to Bitbucket downloads via the guide you share and currently the artifacts size limit is only 1GB on either Bitbucket plan.

Artifacts are **stored for 14 days** following the execution of the step that produced them. After this time, the artifacts are expired and any manual steps later in the pipeline can no longer be executed.

If you need artifact storage for longer than 14 days (or more than 1 GB), we recommend using your own storage solution, like Amazon S3 or a hosted artifact repository like JFrog Artifactory. Setting a reasonable time limit for build artifacts allows us to manage our costs so we don't have to charge for storage and transfer costs of build artifacts in Pipelines.

More information, please check out our artifacts documentation:

* [Use Artifacts in steps](https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/)

I hope this helps, let me know if you have any additional questions.

Cheers,  
Syahrul


Tags: artefact

bitbucket-cloud

cloud

download
How can I recover a repository after change permissions
Asked by julianoafarias:

I was adjusting the repository permissions, and I ended up removing them all and the repository disappeared, how to recover?


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

Welcome to the community!

You can add the repositories again as long as you are the Workspace administrator by following these steps:

1. Navigate to **Workspace settings**
2. Open **User Groups**
3. Click the group that repositories are missing and click **Add repositories** on the top right corner
4. Click the **input box** and the list of repositories that groups will show, you can add all to the list and select the access you wish to update.
5. Click **Confirm** to re-add the repositories

I hope this helps, please let me know if you have any additional questions.

Cheers,  
Syahrul

comments: author: julianoafarias
body: [@Syahrul](/t5/user/viewprofilepage/user-id/744536)

I did the procedure, but nothing appears for me, I have "no options"

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


author: Syahrul
body: Hey [@julianoafarias](/t5/user/viewprofilepage/user-id/4708979)

Thanks for the update.

The screenshot you share looks like a project tab where you add repositories into the projects and not the Workspace settings.

So can you confirm with me are you trying to add repositories into your projects or in your Workspace settings groups? The steps above are for you to update your missing permission in the Workspace groups under Workspace settings and not project.

The link should be "<https://bitbucket.org/>\<Workspacename\>/workspace/settings/groups/"

I hope this helps.

Cheers,  
Syahrul


author: julianoafarias
body: [@Syahrul](/t5/user/viewprofilepage/user-id/744536) Great!  

IT's works.

Thx a lot!


author: Micha? Tkaczuk
body: [@Syahrul](/t5/user/viewprofilepage/user-id/744536) , some changes occured in last almost two years. First two steps are possible. However, when I am in specific group here is no button **Add repository** . We are able to only add members or edit Workspace permissions or remove users from group. I guess some update occured so could you indicate the next steps after 2nd?![Screenshot 2023-12-22 145749.png](https://community.atlassian.com/t5/image/serverpage/image-id/297961i7BAEBF21FE91C501/image-size/large?v=v2&px=999 "Screenshot 2023-12-22 145749.png")


author: Syahrul
body: Hey [@Micha? Tkaczuk](/t5/user/viewprofilepage/user-id/5335932)

Indeed, the user interface has undergone several significant modifications, rendering the old steps obsolete.

Currently, it is advisable to focus on project permissions. It would be best to assign these groups to your Project first and incorporate the repository into that Project.

Regards,  
Syahrul


author: Micha? Tkaczuk
body: [@Syahrul](/t5/user/viewprofilepage/user-id/744536) , thanks a lot for your explanation!


Tags: bitbucket-cloud

cloud
I want to undo commit, that I have not yet pushed
Asked by Paul Gigliotti:

Am added a directory to my local sandbox and did a commit, but have not yet pushed. I now realilze there are some subdirectories in my local sandox that are no longer needed. I have deleted them from my local area. I want "delete" the commit, then commit the new sturcture, and then push.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Paul Gigliotti](/t5/user/viewprofilepage/user-id/4706116) ,

you have several options to do that.

Please take a look to the following article <https://devconnected.com/how-to-remove-files-from-git-commit/>

Hope this helps,

Fabio


Tags: bitbucket-server

server
Merge issue
Asked by Lakshmi:

Hi All,

I am facing an issue with push and pull. I did below steps:

I committed the files but did not push those files. Later on I had to do some more changes for the same file which I committed. When i was about to commit It did not allow me to commit or allowed me pull the files. I was getting below issue when I tried to Pull.

git -c diff.mnemonicprefix=false -c core.quotepath=false pull origin master You have not concluded your merge (MERGE_HEAD exists). Please, commit your changes before you can merge.

Can anyone help me out as why this is happening?


Answers:
author: Seth
body: Git is in a state where it thinks you are working on a merge. You could fix it by hitting the "Discard" button and doing a "Reset All", but you will risk losing your changes.

This Stackoverflow question may give you a safer, CLI-based solution: <http://stackoverflow.com/questions/11646107/you-have-not-concluded-your-merge-merge-head-exists>

comments: author: Lakshmi
body: Thank you :smile: your answer helped me :smile:


author: Seth
body: I'm glad. You might consider voting my answer up, or accepting it as the correct answer.
How can I connect my Kiln repo in the Sourcetree client software?
Asked by Nicholas Zeman:

I can't seem to figure out any way to connect my Kiln account to my remote repositories in the Sourcetree Account settings. Is there a way to do this? So far there is only Github, Bitbucket and Stash.


Answers:
author: Seth
body: Yes. When you open the Clone/New dialog, just type the URL to your repository into the "Source Path / URL" box. The interface you are trying to use is for "extended integration".


Tags: kiln
mac source tree registration - could not check user exists - parser fails with error
Asked by montage:

mac source tree registration - could not check user exists - parser fails with error

see photo <https://twitter.com/darwindavem/status/527979795250819073/photo/1>


Answers:
author: DAVID WICKMAN
body: Thanks for the tip, David. I ended up finding the actual download link here after logging in: <https://my.atlassian.com/product>

Licenses_-_My_Atlassian.png  
[](https://community.atlassian.com/t5/Sourcetree-questions/mac-source-tree-registration-could-not-check-user-exists-parser/qaq-p/327059?attachment-id=13007){#link_116af26220d12a}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9845/1/Licenses_-_My_Atlassian.png){#display_116af26220d12a_0}


author: Tim Leiter
body: Thanks David. Got it working.


author: montage
body: I fixed it my issue by following the[http://id.atlassian.com](http://t.co/nt58aD8BvK "http://id.atlassian.com") link and creating and downloading the licence file, and in within the sourcetree application click on importing the licence from file.


author: Tim Leiter
body: I am having the exact same problems. Should I uninstall Source tree and re-install to get another 30 days of use?
Why is the Unstaged Hunk button disabled?
Asked by Shawn Fox:

I'm noticing that in some cases the Unstage Hunk button is disabled and I don't know why. Has anyone else seen something similar and know of a solution? Below is a screen shot within an example. It is a .sln file. It is very tedious and time consuming to unstage each changed line one by one because source tree wants to refresh each time which is really annoying as well. It also won't let me unstage multiple lines unless they are contiguous so I have no choice but to do it the hard way unless someone can explain why the button is disabled. I'm using version 1.6.3.0 for windows 7 64 bit.

image2014-10-30 17:19:55.png

[](https://community.atlassian.com/t5/Sourcetree-questions/Why-is-the-Unstaged-Hunk-button-disabled/qaq-p/333634?attachment-id=9433){#link_1174ae691f0829}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/10007/1/image2014-10-30%2017%3A18%3A53.png){#display_1174ae691f0829_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/Why-is-the-Unstaged-Hunk-button-disabled/qaq-p/333634?attachment-id=9434){#link_1174ae691f0829_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/10007/2/image2014-10-30%2017%3A19%3A55.png){#display_1174ae691f0829_2}


Answers:
author: Seth
body: I don't have these problems in versions 1.6.5.0. The release notes for 1.6.4.0 specifically mention fixing a variety of bugs related to the diff view:

* SRCTREEWIN-1949: Reverse hunk button now shows correctly in Mercurial repos
* SRCTREEWIN-1974: Stop causing the diff view to constantly refresh or unnecessarily refresh for some users
* SRCTREEWIN-2029: Stop diff view from disappearing on selection

comments: author: Shawn Fox
body: Thanks; I didn't realize that I was that far behind. I've downloaded the latest and will monitor to see if it is resolved.
How do you handle Sandbox refreshes as part of the SF Development Workflow?
Asked by Melissa Hansen:


Answers:
author: Melanie Wright
body: We refresh our sandboxes occasionally - when we get new feature activations in production, adjustments to config that we find easier to make in prod than to try to deploy via metadata (roles, for example), etc.

Day-to-day, we keep our individual sandboxes up-to-date by sync'ing down changes backed up from production to the sandbox repositories. When we create a feature branch off the devsb master, we compile/deploy the code to our individual developer sandboxes as soon as we create them. I'll usually do a clean afterwards and check out the difference in SourceTree to see if there's any lingering new metadata from a previous feature release. We also may need to perform some of the manual release steps (like adding new default data) from other teammates' feature development in our sandboxes to keep in line with what's in our deploy pipeline.

##### Sandbox Setup {#toc-hId-1839119898}

We found we had a lot of steps to take to get a fresh sandbox populated with the basic data we need for us to work and tests to pass. We've created a class that helps us out - SandboxSetup - and we run a few methods in there to get our sandboxes into a standard ready-to-go state.

As part of our releases, we may need to add some default values so we:

1. Add a new method to SandboxSetup class to populate the desired records/settings
2. Add instructions to call the new method to the JIRA ticket for the feature under *Release Instructions*
3. *Optionally*Add the new method to the setupDevsandbox methods that we call whenever we activate a fresh sandbox.

##### Other Ideas... {#toc-hId--1568343717}

I met [Rocky Assad](https://github.com/fourq) at Dreamforce and he pointed me to his jar which compares/sync's two orgs: <https://github.com/fourq/sf-deploy-and-destroy> - looking forward to checking it out more and seeing how we can use it here at Atlassian!

I've also heard of folks that automatically create new sandboxes for each new feature they're developing. We aren't there yet but sounds handy.


Tags: bamboo

bitbucket-server

jira

salesforce
Interactive rebase for squashing pull request ALWAYS aborting.
Asked by Morgan Kita:

This is with Sourcetree for Windows 1.6.8.0

So I've tried to create a workflow between sourcetree and stash, where you can work on a feature branch, create a pull request from it, make changes to satisfy commentators in a code review, and then SQUASH those changes (or even changes from the branch) at the end to avoid cluttering the history.

More or less then would give you one entry in this history from merging the feature into main.

However, when I try to do this using sourcetree with "interactive rebase" by simply squashing the commits, if there are any conflicts at all between entries in the history of the feature branch (though the combined state certainly has no conflicts), then it fails saying it can't apply one of the conflicting commits onto one of the earlier ones.

With my understanding of Git this expected (though should be something you can automate as the final state has no conflicts), but the problem is instead of letting me resolve the conflicts and continue the rebase (doesn't matter if I click "amend commit" or not), IT ABORTS EVERY TIME once I click ok!

I saw one other post here about that suggesting you can use the terminal before hitting ok as a workaround, but this isn't really acceptable. Is this bug or an unfinished feature?

Any other workarounds?


Answers:
author: Morgan Kita
body: This was supposed to be fixed in 1.6, but appears to still be an issue.

I have a new bug open @ <https://jira.atlassian.com/browse/SRCTREEWIN-2493>

comments: author: jacek545
body: Is there anything happening around that bug? It is over a year when it was found and the issue still exists in 1.6.22


author: Marcel Bradea
body: Any resolution on this?

This seems to still be happening as of mid-2016 (SourceTree Windows 1.8.3) !!!  
This completely removes the usefulness of the crucial interactive rebase feature. What's the current workaround for this?

comments: author: Seth
body: Here's a workaround from the bug report that Morgan posted. Workaround was shared by Joe D:
> I found a slightly better workaround:  
> 1. Just close SourceTree entirely by right clicking on the taskbar button and clicking Close. (Don't click the Close button on the error message)  
> 2. Re-open SourceTree and resolve the conflicts, then Commit. (the commit message will have to be entered manually - another bug)  
> 3. Click Actions \> Continue Rebase.  
> (repeat as above for any additional conflicts)


author: edmtgarcia
body: Workaround works, but is quite odd.

Any changes on this?


author: Seth
body: You can definitely create a new bug. Seems appropriate. Post the link to it as an answer to this question to help others find it and vote for it.


author: Morgan Kita
body: Huh, well it's clearly broken again. Maybe something different about my use case, I guess I should make a new bug on jira? Assuming I can, not sure how that works for Atlassian.


author: Seth
body: This was supposed to be fixed in 1.6, according to <https://jira.atlassian.com/browse/SRCTREEWIN-1880>


Tags: conflict

pull-request

rebase

windows