youngmon/atlassian-qna huggingface dataset:
I stopped receiving bitbucket email notifications
Asked by Radoslaw Kowalewski:

Hello,

I stopped receiving Bitbucket notifications. I didn't change anything in BB setup and double checked whether emails are not blocked by anti spam filters. This might be connected to following topics:

- <https://community.atlassian.com/t5/Bitbucket-questions/I-stopped-receiving-bitbucket-email-notifications/qaq-p/1088558>

- <https://community.atlassian.com/t5/Bitbucket-questions/Not-receiving-emails-of-pull-requests/qaq-p/1350499>

Could anybody please investigate following email: radoslaw.kowalewski2@rb.com?


Answers:
author: Tyler T
body: Hi [@Radoslaw Kowalewski](/t5/user/viewprofilepage/user-id/4075243) and welcome to the Community! That email address ended up in the bounce list. I have removed it. Please try again and let us know if emails arrive as normal.

comments: author: Radoslaw Kowalewski
body: Hi Tyler,

Seems like everything is back to normal - thank you!

Do you have any idea why my email ended up in bounce list?


author: Michal Czerwonka
body: [@Tyler T](/t5/user/viewprofilepage/user-id/444655) Hi, I also have this problem, could you unblock my account too? My email: michal.czerwonka@rb.com


author: Tyler T
body: [@Radoslaw Kowalewski](/t5/user/viewprofilepage/user-id/4075243) if Atlassian sends an email and it is returned as undeliverable - the email goes into the bounce list. If Atlassian were to keep sending emails that bounce, it would increase the chance of Atlassian being listed as an email spammer. It is likely your email server was down for a certain amount of time when Bitbucket sent you an email.

[@Michal Czerwonka](/t5/user/viewprofilepage/user-id/4078275) done!


Tags: bitbucket-cloud

cloud
Unable to pull or clone files from bitbucket in my VPS ubuntu server How to resolve ?
Asked by welkinwits:

I have been using bitbucket operation git pull and clone etc..over a year without issues but now suddenly I got a surprise issue , I was unable to pull files. Not prompting for password.

My internet is too fast , server executives have checked "git pull" and "git clone" not prompting password . We have tested with other account too .. same issue..not prompting password.May be something is blocking..If possible please suggest a possible solution


Answers:
author: Theodora Boudale
body: Hello,

If you are pulling/cloning via HTTPS and you are not prompted for a password, the most likely reason is that there is a credential helper set for Git.

Are you trying to pull/clone from a command line tool?

If so, you can have a look at the following article on how to check if a credential helper is set and also how to disable it:

* <https://confluence.atlassian.com/bbkb/why-am-i-not-prompted-for-password-when-pushing-or-pulling-to-my-repositories-in-bitbucket-cloud-via-https-800293400.html>

In case you are using a Git GUI client, you can check its configuration/settings for stored credentials and remove any credentials that are stored there.

Please feel free to let me know if this helps and if you have any further questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Is Smart mirroring feature is used for Bitbucket repos backup?
Asked by Apoorva HR:

Hi,

I want to setup a backup for my Bitbucket server. Is the smart mirroring feature in bitbucket is used for backup purpose? or what is the best and effective way of taking backup of my local bitbucket server. I am using Postgresql as a database.

Thanks,

Apoorva


Answers:
author: Ana Retamal
body: Hi [@Apoorva HR](/t5/user/viewprofilepage/user-id/4066526),

Smart mirroring is a different functionality available to Data Center users to allow for faster repository cloning, you don't need this to create backups for Bitbucket Server. In case anyone else is interested in this feature, they can learn more at [Smart mirroring](https://confluence.atlassian.com/bitbucketserver/smart-mirroring-776640046.html).

In your case, what you need is the Bitbucket Server Data Client, which is available for free in our [Marketplace](https://marketplace.atlassian.com/apps/1211500/bitbucket-server-backup-client?hosting=server&tab=overview). For instructions and steps on how to use it, you can follow this article from our knowledge base:

* [Using the Bitbucket Server Data Client](https://confluence.atlassian.com/bitbucketserver/using-the-bitbucket-server-backup-client-776640064.html)

PostgreSQL is a supported database, and you'll find the right instructions in the article above.

I hope that helps you! If you need anything else or if you have further questions, let us know and we'll be more than happy to continue helping you.

Best regards,

Ana

comments: author: Apoorva HR
body: Thank you [@Ana Retamal](/t5/user/viewprofilepage/user-id/1067288) for the answer.

I am using Bitbucket DIY backup using the example DIY scripts. It's working fine aswell.

I wanted to know is there any way to check the integrity of the backup file(\*.tar.gz) generated.

Thank you,

Apoorva


Tags: backup

bitbucket-server

server

smart-mirror
The current locale Turkish is not supported by Bitbucket.
Asked by TOBBUND:

Hi,

I get this message from the beginning of my browser. I did not set up my bitbucket server.

Message:

A fatal error has occurred {#toc-hId--1324022771}
-------------------------------------------------

The following problem occurred, which prevents Atlassian Bitbucket from starting:

* The current locale (T?rk?e (T?rkiye)) is not supported by Bitbucket.


Answers:
author: Ana Retamal
body: Hi [@TOBBUND](/t5/user/viewprofilepage/user-id/4059245)

The behaviour you described is a known issue, and it's caused by a bug in a third-party library that Bitbucket Server uses. You can read more about it at [Bitbucket Server fails to start when the current locale is Turkish](https://confluence.atlassian.com/bitbucketserverkb/bitbucket-server-fails-to-start-when-the-current-locale-is-turkish-779171547.html).

The workaround is to configure Bitbucket Server to start with an English locale, you can also find the instructions in the article mentioned above.

If you're still having any issues after that, please let us know!

Hope that helps,

Ana


Tags: bitbucket-server

server
How to fix an error in Eclipse when trying to commit code to Bitbucket
Asked by Glyndwr:

I am trying to commit (Team - Commit...) my project in Eclipse Version: Mars.2 Release (4.5.2) Build id: 20160218-0600 to Bitbucket and I get the error:

    Error occurred computing diffsC:\Users\Glynd\Documents\gitignore_global.txt (The system cannot find the file specified)

The file is in this location - date last modified 14/01/2020 type .symlink and size 0 KB.

My last commit to Bitbucket was only two days ago.

Does anyone know how to fix this issue please. I am a novice at this so simple step by step instructions would be appreciated.


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

My guess here would be that the reason for the error is that the file is a symlink.

Eclipse error message mentions that it cannot find the file C:\\Users\\Glynd\\Documents\\gitignore_global.txt, which I would assume to be a text file and not a symlink. I am not sure if that was a text file in your working directory and later on it was replaced by a symlink, perhaps accidentally?

If this is the case, you could try a) getting a backup of your local repo first b) delete this file in your working directory and create a new text file with this name and the content you would like it to have, then try committing again.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

eclipse
how can i get the pull request url in plugin code
Asked by tarwooz:

or how to build a url of a pull request in pull request event listener.

i can't find anyway to get "toRef owner"

![Snipaste_2020-09-04_10-44-29.png](/t5/image/serverpage/image-id/109178i7B21C393C3C9C8DA/image-size/large?v=v2&px=999 "Snipaste_2020-09-04_10-44-29.png")


Answers:
author: tarwooz
body: Solved
Can I change commit author?
Asked by malikmuzammal2:

I'm a novice, and I need to correct the author name in my initial commits. I'm reading the excellent Bitbucket documentation, particularly the chapter on "undoing changes", but nothing seems to work: No matter what I try, the commits with the bad author name remain in my local file and also in the Bitbucket file[.](https://thelotteryresults.uk/) If there is no way to fix this, can I just start over from scratch?


Answers:
author: Mikael Sandberg
body: Hi [@malikmuzammal2](/t5/user/viewprofilepage/user-id/4055419),

The author is based on what is specified in your Git config settings, and you can change the settings by running these two commands:

git config --global user.name "your name"

git config --global user.email "your email"

To change the author on the latest commit you have to run this command:

git commit --amend --author="Author Name \<email@address.com\>"

If the commit is not the latest commit, you have to do a rebase to get back to the specific commit to change it. Have a look at this [KB](https://confluence.atlassian.com/bitbucketserverkb/how-do-you-make-changes-on-a-specific-commit-779171729.html) on how to do it.

Note that all these commands are run locally in your copy of the repository and then pushed back to Bitbucket. Also, make sure that the user is set up correctly in Bitbucket, it uses the email address to identify the author. So if you have two users with the same email Bitbucket will show the author as the first user it encounters in the user directory that has that email.


Tags: bitbucket-server

server
Bitbucket Server outgoing email server configuration failure
Asked by rangarajks:

I have Bitbucket server and Jira installed on the same machine, I am using the same email server configuration for both tools, Jira works without any problem but in bitbucket, I am getting send fail with the following exception.

javax.mail.MessagingException: Could not convert socket to TLS

Email server configuration,

hostname: smtp.office365.com

Port:587

Protocol: SMTP

Use SSL/TLS if available checked

username and from address are the same


Answers:
author: Daniel Ebers
body: Hi rangarajks,

welcome to the Atlassian Community!

The error message suggests the secured (SSL/TLS) connection to the Office 365 mailserver could not be established, most likely due to some SSL certificate issues.  

In case it was not just a temporary issue with Microsoft Cloud services I'd check on a lower level first if connection works (for example using a tutorial to be found on the internet). You said you have both services running on the same machine - therefore the check should show up no problems.  
The next step I would take is to check if bitbucket is utilizing the appropriate SSL certificate for Microsoft 365 service. Probably Microsoft had to renew a SSL certificate on their end.  
As a last resort a clean restart of Bitbucket might also help.  

Please also check if there are further errors in log file that could be of help.  

Cheers,  
Daniel


Tags: bitbucket-server

server
Delete a project with empty repos
Asked by BeaconEducator:

We recently upgraded our servers. We moved our the database and restored users. However we lost our repos in the transition. The repos still appear in bitbucket but I cannot delete because they are empty. When I click on them I get a 404 error. I cannot delete the old projects without deleting the repos first but are empty and go to a 404 page. How can I remove the projects?


Answers:
author: Tomasz Tokarczuk
body: Hi BeaconEducator,

Could you please let us know:

- if you have moved the *$BITBUCKET_HOME/shared*as well or did you leave it in the same place? This is the directory that stores the actual repository data.

- If you have moved the *$BITBUCKET_HOME/shared* did you update your new Bitbucket Server version to use the new directory? You need to update your *$BITBUCKET_INSTALL/bin/set-bitbucket-home.sh (or set-bitbucket-home.bat)*with the new path if that was the case.

Please also make sure the user running your Bitbucket Server process has the ownership of the whole *$BITBUCKET_HOME*directory.

Cheers

Tomek

Atlassian

comments: author: BeaconEducator
body: This issue was the shared folder was not moved and so the repo had nothing to link to causing the 404 error.

We could never find a response on how to get around the 404 pages displaying and removing the old project.

I opened SQL Server Management and removed the old instances of the projects and repos from the database, which in turn removed the projects/repositories from Bitbucket.


Tags: bitbucket-server

server
Repository suddenly increased over 2 GB limit
Asked by jschmidt29:

I got a notification yesterday saying that my repository was over the suggested 1 GB, it was 1.5 GB at the time. I had a few minor commits yesterday and now this morning it is suddenly 2.07 GB. Can I somehow run a garbage collector? Any other insights would be appreciated.


Answers:
author: jschmidt29
body: Resolved with a support ticket. I submitted a request to have the garbage collect completed and greatly reduced the rep size.

Here is the link to submit a ticket: <https://support.atlassian.com/contact/#/>

comments: author: long.nguyen
body: I'm facing the same problem, ticket support sent, hope it can help, thanks


Tags: bitbucket-cloud

cloud
Asking for somone else's password
Asked by evancamilleri:

A colleague gave me a project COPY/PASTE which I had.

I opened it in Visual Studio and even tough I deleted it from VS and from my repository I still get asked to enter his password 'Bitbucket Login' using SourceTree

How can I not get this messagebox again?


Answers:
author: Ana Retamal
body: Hi [@evancamilleri](/t5/user/viewprofilepage/user-id/1188825)!

My understanding is that a colleague shared some code with you, you tried to open it in Visual Studio, and then in Sourcetree you were asked by his Bitbucket password.

Assuming everything is normal and you just have a password prompt that keeps showing up, my recommendation would be to search this Community as several users have experienced this, here are some examples:

* [Sourcetree keeps asking for login and password](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-keeps-asking-for-login-and-password/qaq-p/146765)
* [Why does repo cloning ask for a password?](https://community.atlassian.com/t5/Bitbucket-questions/Why-does-repo-cloning-ask-for-a-password/qaq-p/1429936)
* [Sourcetree keeps asking for wrong account password](https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-keeps-asking-for-wrong-account-password/qaq-p/734277)

If that doesn't solve it we'll need you to answer some questions to understand why is this happening:

1. Does your colleague have this repository stored in Bitbucket Cloud?
2. Hod did he share it with you?
3. Do you have this repository now in your Bitbucket account?
4. Can you confirm that Sourcetree is asking for his Bitbucket password and not yours?
5. Can you send us a screenshot of when Sourcetree is asking you for the password?
6. What kind of permissions do you have for this repository (write, read, admin)?

Please let us know if this helped you or if you need any further assistance, we'll be happy to continue helping you :)

Regards,

Ana

comments: author: evancamilleri
body: 1. Yes we are on the same company but different usernames

2. I copied the full projects folder and opened it on my Visual Studio

3. I remove it and opened a new one with my account BUT even if i remove this repository I continuously get asked for a user/password.

4. yes

5. see below

6. not sure where i can check it but us both should have full access

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


Tags: bitbucket-cloud

cloud
Project repositories are not present anymore.
Asked by pfortis:

I have 6 projects in Bitbucket. Four of them they have one repository. The other, two let's call them P1 and P2, have two repositories each. It worked without a problem for long time. Today the repositories of the P1 and P2 projects (two repositories per project) disappeared from the list of repositories and the two projects appear empty.

Now, when I attempt to add a repository in -let's say- P1, the missing repositories of the P2 project appear in the list of available repositories, while the repositories used to be in P1 do not. When I try to add repositories in P2, the missing repositories of P1 appear in the list. That makes me think that P1 \& P2 still have their repositories assigned but they cannot be viewed.

Why this happened now? It worked for few years without a problem.


Answers:
author: pfortis
body: It turned out that the four repositories were Mercurial and thus they were turned off after Bitbucket repositories were moved to GitHub (after a lot of warnings, too). I recovered them from the Altassian backup.

I should have thought about that in the first place, but when you see them disappear from one day to another, you think that is the provider's fault.


author: Tyler T
body: Can you provide a screenshot?

Do the repositories appear on this page? <https://bitbucket.org/dashboard/repositories>

comments: author: pfortis
body: Only the repositories that belong to the projects with a single repository (four projects as I mentioned in the original post). The ones from P1 \& P2 projects (two repositories each) do not.

When I select either P1 or P2 project while in the <https://bitbucket.org/dashboard/repositories> page, I get an empty list and a message:

"You do not have access to the recently updated repositories". Create your own repository instead."

Please note that I have admin rights to all the projects and repositories.


Tags: bitbucket-cloud

cloud
How can I export graph from Confluence to PDF
Asked by Nicolas Tagle:

Hello All,

I have some charts created base on tables and using the functionality built in in Confluence, but wen I do the graphs do not appeared. Any clue on how to solve this?

Cheers,  
Nico.


Answers:
author: ?ukasz Modzelewski _TTPSC_
body: Hi [@Nicolas Tagle](/t5/user/viewprofilepage/user-id/4680848) ,

This 'graph from table' is quite a new feature, and it looks like you found a bug :D

I've also checked it on my instance and on exported page I can see red error label in place of graph. Affects export to .pdf and word.  
![graph error.png](https://community.atlassian.com/t5/image/serverpage/image-id/233300i06CA48EA3A6F8684/image-size/large?v=v2&px=999 "graph error.png")

Please report it Atlassian :)

comments: author: Nicolas Tagle
body: Yea, that was my intention, just wanted to confirm if everyone else was seeing this.

Thank you!


author: Nicolas Tagle
body: It was a bug - <https://jira.atlassian.com/browse/CONFCLOUD-74231>


Tags: cloud

confluence-cloud
i need to roll back anonymous permissions for bulk users in confluence, can we do this by script?
Asked by Monika Prasad:

I need to roll back anonymous permissions for bulk users in confluence, can we do this by script, i found some listeners script for this task but not able to use it properly as we don't have "scritpt runner" or "console" options in our confluence application.


Answers:
author: Olga Videc
body: Hello [@Monika Prasad](/t5/user/viewprofilepage/user-id/4117929)

To use a script you need an add-on Script Runner, Confluence Command Line Interface (CLI) or something similar.

If you want to disable anonymous access globally you can do it in global permissions.

**Disable anonymous access to the site**

* To disable anonymous access to your site, deselect the **Can use** check box, then choose **Save All**. People will not be able to see the content on the site until they have logged in.
* Any spaces that granted permissions to anonymous users will still be available to all logged in users, until you remove these permissions from each space.

BR, Olga


Tags: server
how to get total of a filed value in table merger
Asked by Markisio:

hi there

Would like to get total of a field in a table merger, here is my example of table meagre

Product - Product Cost - %OfCost

Apple - 10 - 12.5%

Orange - 20 - 25%

Lemon - 50 - 62.5%

I am hoping I can do something like this in %OfCost: (\[Product Cost\]/\[sum_cost\])\*100. lets take an apple for example: (10/80)\*100.

10 is the total cost for apple

80 is the total cost for all products

in my table I have the following

Product - Cost

Apple - 5

Apple - 5

Orange - 4

Orange - 4

Orange - 4

Orange - 4

Orange - 4

Lemon - 10

Lemon - 10

Lemon - 10

Lemon - 10

Lemon - 10

Hopefully there is a solution for that :) thanks for all your help in advance


Answers:
author: Alex Medved _ConfiForms_
body: Honestly, I dont understand what do are you asking... How to calculate the total sum or count the rows?

comments: author: Markisio
body: How to calculate %ofcost. Sorry I should have clarified that. I know how to calculate the cost but not sure how to calculate the % of cost

on the example above the total cost of all products is 80 so I am trying per product get the total cost and % of the product comparing to the total cost of all products which is 80

thanks


author: Alex Medved _ConfiForms_
body: I am sorry, I dont think that is possible with a built-in TableViewMerger macro, as calculations are done on a per row basis and you cannot calculate the percentage for the particular group and the totals at the same time

Consider using <https://wiki.vertuna.com/display/CONFIFORMS/REST+API> to build reports like that and transform the data as you like/need


author: Markisio
body: Thanks [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630) will read about it and try it

thanks


author: Markisio
body: [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630) wondering if you have a suggestion for this question ? Thanks!


Tags: confiforms

confluence-server

server
No visible characters copied in firefox
Asked by Hans M:

Hey,

I?m using Firefox version 108.0.1. I assume that if you copy text out of confluence using firefox, you might copy some invisible characters as well.

What happened:

I copied some text out of confluence, pasted the text in my IDE and ran it with an error as a result. After searching for the mistake without success, i typed the code by hand and it was running without error.

I copied the text-code with the edge-browser out of confluence and it was working fine.

Is this issue only with my Firefox version? Or should i use edge instead?

Best regards


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

What kind of text did you copy? Was it on a code snippet? Did you copy the same exact text from Edge? I didn't experience any problem with Firefox. If you can explain a bit more, maybe we will be able to reproduce the problem and guide you through it.

comments: author: Hans M
body: Hello Alex,

thanks for your answer. I did a deeper look to this problem.

I copied the code out of a codeblock. With the result as explained.

I copied the code out of a codeblock from the confluence **edit mode**and it was working fine.

I pasted both "versions" into an editor and switched the view to hexadecimal. With the result that somehow a hexadecimal-character "A0" appears.

I woudnt look deeper into it.

But it might be helpful for other persons facing the same problem.

Best regards


author: Alex Koxaras _Relational_
body: Ok, but for sure there are plenty bugs for the code macro:

[https://jira.atlassian.com/issues/?filter=98690\&jql=project%20%3D%20CONFCLOUD%20AND%20summary%20\~%20code%20AND%20issuetype%20%3D%20Bug%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC](https://jira.atlassian.com/issues/?filter=98690&jql=project%20%3D%20CONFCLOUD%20AND%20summary%20~%20code%20AND%20issuetype%20%3D%20Bug%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20priority%20DESC%2C%20updated%20DESC)


Tags: cloud

confluence-cloud

firefox