youngmon/atlassian-qna huggingface dataset:
How can Jira Backup can be stored/moved to a sharepoint or other storages
Asked by Santhosh Raj:

I need two things.  
1. How can we set up our Jira Backup using Jira Automation rule ?  
2. How to send our backed up data to another data center/Storage/cloud/sharepoint or another ?  

Can we do it by Jira itself or do we need a add-on for it from apps ?  

How can we automate the process ?  


Answers:
author: Daria Kulikova
body: Hello [@Santhosh Raj](/t5/user/viewprofilepage/user-id/5283233) ,

As an alternative to the option [@Sebastian Krzewi?ski](/t5/user/viewprofilepage/user-id/1561725) wrote, you can try a third-party backup tool that can meet all the pain points you mentioned. For example, with GitProtect backup \& Disaster Recovery software for Jira Cloud, Jira Service Management, and Jira Work Managament you can automate your backup policies, and keep your backup copies in diffrent storage locations - cloud or local. Moreover, it's possible to replicate your backed-up data to meet the 3-2-1 backup rule, for instance. Unlimited retention, ransomware protection, restore and Disaster Recovery features are some of the benefits of GitProtect backup \& DR software.

You can try the backup solution for free for 14 days or free for up to 10 users on Atlassian Marketplace: [https://marketplace.atlassian.com/apps/1228719/gitprotect-io-backups-for-jira-cloud?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1228719/gitprotect-io-backups-for-jira-cloud?hosting=cloud&tab=overview)

If you have any questions regarding GitProtect backups for Jira, you can always schedule a live demo and lean more: <https://calendly.com/d/3s9-n9z-pgc/gitprotect-live-demo?month=2024-04>

Regards,

Daria


author: Sebastian Krzewi?ski
body: Hi [@Santhosh Raj](/t5/user/viewprofilepage/user-id/5283233)

1. Please check below links how to create a backup via automation
   1. <https://confluence.atlassian.com/jirakb/automate-backups-for-jira-cloud-779160659.html>
   2. <https://community.atlassian.com/t5/Jira-Software-articles/Automate-online-site-backups-for-Jira-and-Confluence-without/ba-p/1271317>
2. After creating a backup you will have 7 days to download it. You can automate it that you will download it wherever you want.

Regards,

Seba


Tags: cloud

jira-service-management

jira-service-management-cloud
Is there any encryption of user data in JSM database?
Asked by IGSL-HamletCHIU:

Is there any encryption of user data in JSM database?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@IGSL-HamletCHIU](/t5/user/viewprofilepage/user-id/5458368) ,

password is encrypted at DB level. All the other user information can be accessed. All the other information about user operations at issue level are not encrypted.

Hope this helps,

Fabio


Tags: data-center

jira-service-management

jira-service-management-data-center
What does "231 commits behind "develop". Sync now" mean? What does Sync now do?
Asked by Scott Emrick:

When I compare a branch that was already merged to develop, it looks like the changes are not in develop - the diff shows them as not in develop. If I check the source code in develop, the changes are there. I suspect the "**231**commits behind "develop"" message has something to do with this. Wouldn't the compare act on the the current develop branch - not a version 231 commits behind? I don't want to make any changes to the develop branch nor the branch I'm comparing to develop, so I hesitate to click on "sync now". What's happening here?


Answers:
author: Theodora Boudale
body: Hi Scott,

Since last year, Bitbucket Cloud diffs use a three-dot diff equivalent to

```
git diff destination_branch...source_branch
```

A three-dot diff shows only changes in the source branch starting at a common ancestor of the two branches.

You can read more details here:

* <https://bitbucket.org/blog/improving-performance-on-complex-diffs>

The message "231 commits behind develop" means that there are 231 new commits in develop that do not exist in the branch you are comparing develop with. Sync now is going to merge develop into the branch you are comparing it with and you don't have to do it if you don't want to. However, syncing develop into the source branch will allow you to see a diff that would match the '3-way' diff that Bitbucket was previously using.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
I received an email saying workspace, , has been updated from free to academic but not there
Asked by Trevor Smith:

I am a college student and when I made my bitbucket account, I was initially enrolled into a free plan and not an academic plan. Then I received this email verbatim  

Important information from **Bitbucket**

The plan on the Bitbucket workspace, , has changed from Free to Academic.  
Thanks,  
The Bitbucket Team  

it seems to be implying that a workspace called " " received the academic subscription instead of the \<workspace-id\> workspace I created  

my bitbucket user name is \<username\>  

when i check all my workspaces only \<workspace-id\> shows up, and when i try to change the hyperlink to " " or \<username\> the workspaces do not exist  

it could have something to do with the university accidently making two accounts for me and then just deleting one the other day. (before they deleted it I had an academic plan on my old account)


Answers:
author: Theodora Boudale
body: Hi Trevor and welcome to the community.

It looks like the email did not properly capture the id of the workspace. Without an id, it's hard to say which workspace the email is referring to, it could be related to the deleted account and workspace.

I checked the workspace that your account has currently access to and I can confirm that it is indeed on the Academic plan.

Just a heads up, I removed the username and workspace ID from your post to protect your privacy.

Kind regards,  
Theodora

comments: author: Trevor Smith
body: hello, i submitted a help ticket to Atlassian directly and they resolved the issue, thank you for your time, and sorry i did not close this sooner


author: Theodora Boudale
body: Hi Trevor,

No worries, it's good to hear that the issue has been resolved. Feel free to reach out if you ever need anything else!

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
SSH key "Someone has already added that SSH key."
Asked by Andrija Grozdanovic:

I haven't changed my ssh key on time. Could you please provide help here? When I import new SSH key from email instruction it says "Someone has already added that SSH key."


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

Are you referring to the changes announced in the following blog post?

* <https://bitbucket.org/blog/ssh-host-key-changes>

If so, please keep in mind that ++**this change does not require you to change the SSH keys you have already set up for your account, workspace, project, or repos.**++ You can continue using the SSH keys you had already set up.

Our recommendation in the email was to configure your SSH client to use either the ECDSA or the Ed25519 host key of Bitbucket Cloud (this is not related to the SSH keys you have set up for your account). The host key of a server (in this case, Bitbucket Cloud), is used to establish the authenticity of that server.

If you are using OpenSSH or a compatible client, you can check the blog post for more details about the change and what you need to do.

We also have the following FAQ page that covers questions about some other SSH clients and common issues:

* <https://confluence.atlassian.com/bbkb/bitbucket-cloud-ssh-host-key-rotation-faq-1235851234.html>

Please feel free to reach out if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Does bitbucket still support GPG keys?
Asked by Dreamystify:

There is a guide that is not longer valid, manage accounts doesn't exist under my avatar, can anyone shed any light on this?


Answers:
author: Baskar Annamalai
body: Hi there,

The feature is available for Bitbucket Server or Data Centre instances. Unfortunately, the feature is not available for Bitbucket Cloud. The feature request is currently being tracked via <https://jira.atlassian.com/browse/BCLOUD-3166>

Vote and address your concern on the feature request ticket.

Best regards,  
Baskar Annamalai  
ServiceRocket.

comments: author: Dreamystify
body: Thank you.


Tags: bitbucket-cloud

cloud
Is it supported to get last 24 hours commtis via API ?if not pls give me some solutions to get this.
Asked by Karthick:

1. I checked using since, from, sinceDate, those were not working....


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

I'm afraid it's currently not possible to filter by the **commit.date** in the [List commits API endpoint](https://developer.atlassian.com/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-commits-get). We do have an existing feature request to implement this functionality :

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

I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with [this policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html) in mind.

While that feature is not available, you can use ***git log*** with the ***--since*** flag to filter the commits in a local clone of the repository :

```
git log --all --since="24 hours ago"
```

Hope that helps!

Thank you, [@Karthick](/t5/user/viewprofilepage/user-id/5249248) !  
Patrik S


Tags: bitbucket-cloud

cloud
Issue With Repository Size
Asked by Guidance IT:

I am getting some warnings about a repo being over 2GB.

The history did contain some larger files from accidental commits but I used git filter-repo and was able to remove those, however the size has not changed on the server itself even though I can see the files themselves no longer exist in the history.


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

After doing a history rewrite to remove some files, like using git filter-branch, it's usually necessary to run a garbage collection (GC) on the server side to remove any dangling objects that were left behind by that operation. As you have multiple workspace and repositories under the account you used to post this question, in order for us to trigger the GC for you, could you share the masked workspace and repository name of the affected repository?

For example, the masked version of the **my_workspace/my_repo** could be m\*_\*\*\*\*\*\*\*ce/m\*\*o. This way we can identify the correct repository to run the GC.

Thank you, [@Guidance IT](/t5/user/viewprofilepage/user-id/5249159) !  
Patrik S

comments: author: Guidance IT
body: Hi [@Patrik S](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4603309) ,

Apologies accidentally posted this as an answer!

Thanks for this, please go ahead and run gc on the server. The repository is g\*-\*\*to/o\*\*\*.\*\*\*\*\*\*i.

Thanks again.

Ollie


author: Patrik S
body: Hello [@Guidance IT](/t5/user/viewprofilepage/user-id/5249159) ,

The GC was completed successfully and the size of the repository was reduced to 993MB !

Now that GC is completed, I would highly recommend you have everyone on your team remove their old copies of the repository and do 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.

Thank you, [@Guidance IT](/t5/user/viewprofilepage/user-id/5249159) !

Patrik S


author: Guidance IT
body: Thank you!


author: Guidance IT
body: Hi [@Patrik S](/t5/user/viewprofilepage/user-id/4603309) ,

Thanks for this, please go ahead and run gc on the server. The repository is g\*-\*\*to/o\*\*\*.\*\*\*\*\*\*i.

Thanks again.

Ollie


Tags: bitbucket-cloud

cloud
Security access token responds with 403
Asked by Bojan Velevski:

Hello experts,

I'm trying to generate a security access token and use it on my Rest calls, but I'm getting

**403 - You do not have access to view this workspace.**

Any help is appreciated.

Thank you,

Bojan.


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

In order for us to investigate further, could you please share with us what exact steps you are following to generate the access token ?

If you are calling a particular API endpoint, could you share the entire command you are using along with the returned response?

Thank you, [@Bojan Velevski](/t5/user/viewprofilepage/user-id/5248040) !

Patrik S


Tags: bitbucket-cloud

cloud
Is there any list of windows server that is compatible for Bitbucket v7.17.10
Asked by Mark Joseph Jagyo:

We are trying to migrate the whole filesystem that involves Bitbucket service to a whole new machine (upgraded) due to out of support policy.


Answers:
author: Frederik Vantroys
body: Hi [@Mark Joseph Jagyo](/t5/user/viewprofilepage/user-id/5249128) ,

This might help :

<https://confluence.atlassian.com/bitbucketserver0717/supported-platforms-1087536587.html>

comments: author: Mark Joseph Jagyo
body: hello [@Frederik Vantroys](/t5/user/viewprofilepage/user-id/5184994) not really helpful since I don't see any windows server version that is supported by it.


author: Mark Joseph Jagyo
body: It suggested that they supported windows server 2016 and 2022, if they do I don't see any documentation that tells me that it does.


author: Christian Glockner
body: Hi,

As long as the version of Java that you are using is supported by Bitbucket Server and that version of Java supports the version of Windows you're on, it is supported.

Cheers,  
Christian  

Premier Support Engineer  
Atlassian


Tags: bitbucket-server

server
This integration is misconfigured. Contact the vendor for assistance." error when connect teamcity
Asked by VINAY KUMAR HOSURE NAGARAJU:

Added new consumer on bitbucket( teamcity on-premise server) , when i click on sign in to bitbucket it gives me invalid redirect_uri error in teamcity.

![Screenshot 2019-07-31 at 09.56.05.png](/t5/image/serverpage/image-id/61937i059CB9E34B5A7A84/image-size/large?v=v2&px=999 "Screenshot 2019-07-31 at 09.56.05.png")


Answers:
author: Theodora Boudale
body: Hi Vinay,

The redirect_uri is the **Callback URL** that you define for an the OAuth consumer. You can view that field if you open the OAuth consumers page in your workspace \> then select the 3 dots for the OAuth consumer \> select **Edit**.

Can you please check if the Callback URL you have used there is valid as per the documentation of the integration you are using?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
self hosted Docker image- Miss matching runner
Asked by Nalini Kumar:

Hello,

I am new to new to this. We have Linux box with self hosted docker container registry along with bitbucket.

Getting below error when running bitbucket pipeline.

Runner matching labels:  
- linux  
- self.hosted

Runner name: xyzzyc  
Runner labels: self.hosted, linux  
Runner version:  
7
current: 1.274  
8
latest: 1.476  
The version of this runner is outdated. Upgrade to the latest version (1.476).  
12  
13  
Build teardown\<1s  
1
Searching for files matching artifact pattern artifact_store_paths  
2  
3
Searching for files matching artifact pattern environment_name  
4  
5
Searching for files matching artifact pattern environment_node  
6  
7
Searching for files matching artifact pattern **_output_**.xml  
8  
9
Searching for test report files in directories named [test-reports, TestResults, test-results, surefire-reports, failsafe-reports] down to a depth of 4  
10
Finished scanning for test reports. Found 0 test report files.  
11
Merged test suites, total number tests is 0, with 0 failures and 0 errors.  
12  
13


Answers:
author: Patrik S
body: Hello [@Nalini Kumar](/t5/user/viewprofilepage/user-id/4491175) and thank you for reaching out to Community!

The error shown in the logs is because the runner's image you have locally is outdated, and a newer version is available to be downloaded. In this case, to update the runner's image you can run the following command on your machine :

```
docker image pull docker-public.packages.atlassian.com/sox/atlassian/bitbucket-pipelines-runner:1
```

This should update it to the latest version available currently.

After updating it, in order for the change to take effect, you will need to delete the current runner container and start it again. The below command can be used to remove a runner's container :

```
docker container rm -f runner-<UUID>
```

where you need to replace the UUID with your runner's name.

After removing the container, you can start the runner again using the command you were given when you created the runner. In case you don't have that command saved, you can create a new runner in the UI and it will provide you with a fresh pre-configured docker command.

Let me know in case you have any questions.

Thank you, [@Nalini Kumar](/t5/user/viewprofilepage/user-id/4491175) !

Patrik S

comments: author: Nalini Kumar
body: thank you and will try it.


Tags: bitbucket-cloud

cloud
How to set default workspace?
Asked by neilmendoza:

Is there any way to set a default workspace on bitbucket? It's driving me a little crazy that if I go to bitbucket.org I get taken to a workspace full of 10 year old repos rather than the most recent one I've used since this useless (for me) workspace feature has been introduced.


Answers:
author: Theodora Boudale
body: Hi [@neilmendoza](/t5/user/viewprofilepage/user-id/5248630) and welcome to the community.

I'm afraid that it is not possible to set a default workspace at the moment. When directly accessing bitbucket.org you will be redirected to the last workspace you visited, but not considering your personal workspace.

We realize that this might not be ideal for users that mainly work in personal workspaces and we have raised a feature request to add the ability for users to define a default/favorite workspace to be redirected when accessing bitbucket.org:

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

I would suggest adding your vote there (by selecting the **Vote for this issue** link) as the number of votes helps the development team and product managers better understand the demand for new features. You can also add yourself as a watcher (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.

In the meantime, you could use a bookmark in your browser with the URL of the workspace you want open by default, or navigate to the workspace by entering <https://bitbucket.org/workspaceID> where workspaceID should be the ID of the workspace you want to open.

Kind regards,  
Theodora

comments: author: neilmendoza
body: Hi [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)

Thanks for your reply. Ignoring your personal workspace when taking into account the last workspace you visited seems like a poor design decision. Guessing this may have been driven by how your data is structured on the backend rather than what is useful to users. Hoping that default workspace will be added as a feature.

Thanks,

Neil


Tags: bitbucket-cloud

cloud
Bitbucket Cloud SSH host key rotation
Asked by Pavan Kumar:

Hi Team,

I'm new to Bitbucket, so I have followed the below article to update the keys

[https://bitbucket.org/blog/ssh-host-key-changes?jobid=106086290\&subid=1740317785](https://bitbucket.org/blog/ssh-host-key-changes?jobid=106086290&subid=1740317785)

<br />

So, I have run the below command. ssh git@bitbucket.org host_key_info

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

Also, my origin started with git@bitbucket.org

Someone could please guide me to how to proceed further to fix this sissue


Answers:
author: Pavan Kumar
body: I'm unable to drop this question.

But issue got resolved

comments: author: vlasov
body: How did you solve the problem?


author: Theodora Boudale
body: Hi,

Apart from the blog article that is mentioned in the question, I also wanted to provide the link to our FAQ page, which covers common questions/issues:

* <https://confluence.atlassian.com/bbkb/bitbucket-cloud-ssh-host-key-rotation-faq-1235851234.html>

Kind regards,  
Theodora


author: vlasov
body: **Answer for Putty:** <https://community.atlassian.com/t5/Sourcetree-questions/We-receive-an-email-about-SSH-changes/qaq-p/2394944>

**Answer for OpenSSH and SourseTree** : <https://community.atlassian.com/t5/Sourcetree-questions/Re-We-receive-an-email-about-SSH-changes/qaq-p/2395718/comment-id/43554#M43554>


Tags: bitbucket-cloud

cloud

ssh
Not receiving bitbucket invitation email
Asked by Kurt Loiseau:

I started working with a new employer at my school BC, and I am not receiving their invitations. They have invited me to their workspace and tried to make me a manager, but I have received no notifications and no emails. I see from previous posts that some people's emails were blocked for whatever reason. Is there a block on my email?

Thank you for the help!


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

Your email address is not in any of our suppression lists. I also checked out logs for any emails sent to your email address, I can see that two invitation emails were sent yesterday, and both of them show to have been delivered to your employer's mail server.

The invitation emails are sent from **noreply+XXXXXXX@am.atlassian.com** (where XXXXXXX is some string).

I would suggest doing the following:

* check your Spam folder
* check if there are any filters in your Inbox that would make our emails skip your Inbox
* otherwise, ask the administrator of the school's mail server to look into their logs and investigate why our emails do not make it from the mail server to your Inbox

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Why is the total number of users in the Bitbucket server database greater than the number of license
Asked by Abdulqudus Oladega:

I performed a query on the Bitbucket server database as part of the pre-migration checklist and discovered that the combined total of active and inactive users is lower than the overall number of users in the Bitbucket server database. I would like to understand what factors contribute to the total number of users in Bitbucket server.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

I suspect you have also deleted some users. Bitbucket does not remove them completely from the database because that would break things.

comments: author: Abdulqudus Oladega
body: Thank you, Nic!

Your suspicion is correct. It appears that some users have been deleted.


Tags: bitbucket-server

migration-customer-care

server