youngmon/atlassian-qna huggingface dataset:
Can I get fewer update emails about pull requests?
Asked by Jason Miller:

I've been trying to configure my bitbucket to be more manageable for myself and one thing I'd really like to do is turn off email notifications when people comment on pull requests that I'm a reviewer on.

I like having emails for when I'm added as a reviewer or when something happens to a pull request that I've created, but when I get every update email for pull requests that I'm a reviewer on it becomes too many emails.

Is there a setting I'm missing that I could change this, or is there a good way that I could request the setting be added?


Answers:
author: Theodora Boudale
body: Hi Jason,

I can see in our system that you have a Bitbucket Cloud account with access to repos, so I assume your request concerns Bitbucket Cloud?

If so, pull request email notifications are sent in either of these cases:

1. You have subscribed for pull request notifications for a specific repo. This can be done from the repo's **Source** page \> select the 3 dots in the top right corner \> **Manage notifications** \> Select **Watch this repository** and then **Subscribe to notifications about** \> check **Pull requests**

2. Even if you are not subscribed for notifications about pull requests in a repo the way I described above, you still have the option to add yourself as a watcher in a pull request of this repo yourself. In this case, you'll receive emails about updates on this specific pull request.

When you create a PR and when you are added as a reviewer in a PR, you are automatically added as a watcher in this PR, which is the reason why you get those emails.

If you'd like to stop receiving email notifications for a PR you've been added as a reviewer, you'll need to remove yourself as a watcher by opening the PR in Bitbucket website \> select the 3 dots at the right top corner of the page \> **Stop watching**

We have the following request in our issue tracker regarding more fine-grained notification settings:

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

Another user also made the suggestion there to choose what type of events you get emails about, e.g. updates to the PR, comments, etc. Is this something that you'd be interested in?

If so, I would suggest that you add your vote (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.

Please note though that we don't provide ETAs and implementation of new features is done as per our policy here: <https://confluence.atlassian.com/cloud/new-features-744721668.html>.

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


Tags: notification

pull-request
Backup data and moving to Bitbucket Docker
Asked by Nitin Vala:

Currently we have Bitbucket server install on Centos 7 in our office server. Our hardware is getting old and we have decided to move to Bitbucket Docker addition. We need help with backing up the data from old server and then move it to Bitbucket Docker. We have been trying last 5 days with no success :( please help.


Answers:
author: Daniel Eads
body: Hello Nitin, welcome to the Community!

I understand you're looking to migrate your Bitbucket Server instance, from a CentOS install to a docker image.

The most straightforward way to do this would be to use the [Bitbucket Server backup client](https://confluence.atlassian.com/bitbucketserver/using-the-bitbucket-server-backup-client-776640064.html) to take a backup of your CentOS-installed Server instance and restore it to your freshly-installed Docker instance. This involves some downtime - your existing instance must stop running for the backup client to do its work.

Is this the method you've tried using already? If so, do you get any errors when running the backup client?

Cheers,  
Daniel


Tags: bitbucket-server

server
New certificate works only on Jira
Asked by Christian S_:

I am running these Atlassian products on a virtual machine:

* Bamboo version 7.0.4 build 70018
* Bitbucket v7.3.1
* Confluence 7.4.1
* Jira v8.10.0#810001-sha1:2a9881c)

Today, my certificate expired. So, I replaced it with a new one. Unfortunately, I had also to replace the (self-created) CA.

Now for the strange thing: Only Jira accepts the new certificate. I can log-in on Jira without problems. (The only thing not working is including the other products' news feed in the dashboard - but that's explainable I guess.)

For Bamboo, Bitbucket, and Confluence I get upon login

*javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target*

All four products use in their server.xml the very same keystore file on that VM.

I have no idea why Jira is happy with the new certificate why the other products are not. I'd appreciate any hint.

Additional hint: Firefox is happy with the new certificate as well - after I have installed the new CA (which is not possible in Chrome anymore).


Answers:
author: Christian Glockner
body: Hi Christian,

Putting the certificate into the keystore is not enough - the problem is that the other applications are trying to talk to Jira, but that presents an untrusted certificate. So you'll need to add the new certificate to the truststore (the cacerts file) as well.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Christian S_
body: Hi Christian,

thanks for that hint.

The challenge was: Finding out which cacerts file. The are so many and it was very unclear which Atlassian application uses which cacerts file. In the end, I just searched for all cacerts files on the file system and added the new CA to everyone.


Tags: bamboo

bitbucket-server

confluence

server
how can i dowload the Artifact for a java project using bitbucket
Asked by yosser_mahfoudh:

hi team ,

please i need help , how can downolad an artifact on my laptop ? knowing that i'm working on a java project .


Answers:
author: Oleksandr Kyrdan
body: Hi [@yosser_mahfoudh](/t5/user/viewprofilepage/user-id/3803216) ,

Thank you for your question!

Just, add to your build step a keyword \`**artifacts** \`. Also, we have a [good example for Java project](https://bitbucket.org/bitbucketpipelines/template-java-spring-boot-elastic-beanstalk/src/6328ba025be4a461a3e004c61b1e25817627b6a0/bitbucket-pipelines.yml#lines-44).

More details you could find following the [Use artifacts in steps guide.](https://support.atlassian.com/bitbucket-cloud/docs/use-artifacts-in-steps/)

comments: author: yosser_mahfoudh
body: hi Oleksandr ,

please i have a question , after **artifacts** what should i put ?


author: yosser_mahfoudh
body: i dont know where i can find my artifact

/root/.m2/repository/mass/masster/2.2.1.9957/ppp-2.2.1.9957.jar

where i can find this path please ?


author: Oleksandr Kyrdan
body: [@yosser_mahfoudh](/t5/user/viewprofilepage/user-id/3803216) as usual it should be path to the build directory.

In your special case it could be:

```
pipelines:
default:
  - step:
    script:
????  - <your build logic>
    artifacts:
      - .m2/repository/mass/masster/2.2.1.9957
```

But make sure that your follow build versioning.


author: yosser_mahfoudh
body: when i run mvn install , that path is diplayed . so i don't know to access to it.


author: yosser_mahfoudh
body: this path " /root/.m2/repository/mass/masster/2.2.1.9957/ppp-2.2.1.9957.jar "


Tags: bitbucket-pipelines
Failed to install helm with the arguments provided: --version latest
Asked by asazanovich:

I'm tying to deploy to Azure Kubernetes service via the pipe microsoft/azure-aks-helm-deploy:1.0.2

But it fails with such error:
> Failed to install helm with the arguments provided: --version latestAccepted cli arguments are: [--help|-h ] ->> prints this help [--version|-v <desired_version>] e.g. --version v2.4.0 or -v latest [--no-sudo] ->> install without sudo For support, go to <https://github.com/helm/helm>.

I also tried run pipe with specific helm version, but it also fails.


Answers:
author: Anthony Ashton
body: I had this issue today and found the following:

Use

```
pipe: atlassian/azure-aks-helm-deploy:2.0.0
```

Instead of

```
pipe: microsoft/azure-aks-helm-deploy:1.0.2
```

And make sure the version number follows the format:

```
HELM_VERSION: vX.Y.Z
```

Instead of

```
HELM_VERSION: X.Y.Z??
```

Also, the command args using HELM_COMMAND_ARGS (which wasn't documented):

```
HELM_COMMAND_ARGS: "--debug --atomic --timeout 90s"
```


Tags: bitbucket-pipelines

azure

cloud

helm

kubernetes
My team created case sensitive branches when running BB is on Windows host
Asked by Mariusz Dullak:

Hi all,

my team has created two branches:

1st Featurebranch

and 2nd

FeatureBranch

both are on the different commit.

Since BitBucket is installed on Windows (it was not up to me) what I have now is that on Windows in the folder HOME/shared/data/repositories/ID/refs/heads has only one file:

Featurebranch

This stops me from deleting the branch FeatureBranch, since system in complaining about that the branch was updated.

How do I fix this? I "just" want to delete FeartureBranch and keep Featurebranch.


Answers:
author: Ed
body: Perhaps you could enable case-sensitivity for the BitBucket folder, if you have permission. See the web article [How to Enable Case Sensitive File and Folder Names on Windows 10](https://www.howtogeek.com/354220/how-to-enable-case-sensitive-folders-on-windows-10/) .

Alternatively, maybe you can configure git to be case-insensitive and fix the naming that way. See the BitBucket knowledgebase article [Case-sensitivity in branch name causes issue](https://confluence.atlassian.com/bitbucketserverkb/case-sensitivity-in-branch-name-causes-issue-816521190.html) .

Another suggestion, if you own the branch: locally, create a new branch with the correct name, delete the old one in BitBucket, and push the correctly-cased one.


Tags: bitbucket-server

server
Bitbucket service stops often in linux server
Asked by Integra:

Hello Team,

We have facing issues in bitbucket server which the service is getting stopped automatically. Server is hosted locally in our data center in Linux server. Please check and update the resolution for our query at the earliest.

Server OS: CentOS 7

RAM: 4GB

Thanks in advance.


Answers:
author: Nic Brough -Adaptavist-
body: Start by reading the log at the time it stops.

comments: author: Integra
body: Need some clarification on this. Also please share how to review the log in Linux server.


author: Nic Brough -Adaptavist-
body: What's to clarify in "you need to read the log"?

Log into the server and go to \<bitbucket home\>/logs - open the log file in a viewer/editor


author: Integra
body: We have took the log file. How can i share to you?


author: Integra
body: Found below message in the log. Please check and update.

Caused by: java.net.SocketTimeoutException: null


author: Nic Brough -Adaptavist-
body: That tells us the core of the problem, but you will need to look around that error to find out more.

The error there is a generic one saying "Bitbucket was unable to contact a remote server over the network". There should be a line shortly before or after that error that says what it was trying to connect to. You'll need to debug that fault - it could be your network, or simply that the service at the other end of the link is down.


Tags: bitbucket-server

server
Bitbucket Pipeline Pull Request Merged
Asked by Mike Reeves:

Hello. I am trying to implement a auto \`package.json\` versioning feature for my team. So the way it would work is if there is an open pull request with the source branch with the name \`bugfix/\*\*\` it will update the project version patch number. But i only want to do that when a pull request is merged so i know what the source branch is.

If I use the branches pipeline i dont know information about what branch was just merged so i can use that branch as a variable to my auto \`package.json\` versioning script.

Is there a way to achieve this feature?


Answers:
author: Theodora Boudale
body: Hi Michael,

I'm afraid that it is not possible to run a Pipelines build when a pull request is merged. It is possible to run it when a pull request is created (in this case it also runs when the source branch gets updated), however the build will still run on the merge commit.

Here is how it works: if you have in your yml file a definition like the following

```
pipelines:
  pull-requests:
    'bugfix/**':
      - step:
          script:
            - <commands here>
```

Then a build is going to run every time you open a pull request with source branch bugfix/\*\*.

When the build is triggered, a Docker container will start. The repo will be cloned in this Docker container. The merge will happen (in the clone that exists in the Docker container, not in the Bitbucket repo) and then the script will run on this merge commit.

If you have such a build, you can get the source branch with the variable $BITBUCKET_BRANCH.

We also have a feature request for running builds when a pull request is merged:

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

If you'd be interested in this, I would suggest to add your vote and also your feedback in that public ticket, for our product managers to take into account.

If you have any questions, please feel free to let me know.

Kind regards,  
Theodora


Tags: bitbucket-pipelines

cloud
Anonymous Survey and Polls
Asked by Vinayakrishna Bhat:

Hi All,

I am a new user of Confluence.

I need to know if there are any templates where my team members and I can create anonymous votes/surveys regarding issues/concerns where a particular team member creates poll/survey anonymously and other team members can upvote/downvote anonymously too.

Thanks in Advance,

Vinayakrishna Bhat


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

You have to use an app for this request that you have. You may try the following apps and see if any suits your needs:

* [https://marketplace.atlassian.com/apps/1211126/polls-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1211126/polls-for-confluence?hosting=cloud&tab=overview)
* [https://marketplace.atlassian.com/apps/1221853/polls-votes-enterprise-social-networking-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1221853/polls-votes-enterprise-social-networking-for-confluence?hosting=cloud&tab=overview)
* [https://marketplace.atlassian.com/apps/1228738/agile-decider-making-decisions-polls-votes-in-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1228738/agile-decider-making-decisions-polls-votes-in-confluence?hosting=cloud&tab=overview)
* [https://marketplace.atlassian.com/apps/1210786/multivote-enterprise-survey-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1210786/multivote-enterprise-survey-for-confluence?hosting=cloud&tab=overview)
* [https://marketplace.atlassian.com/apps/1224994/poll-maker-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1224994/poll-maker-for-confluence?hosting=cloud&tab=overview)

Especially the last one which is free, states on the description that it supports anonymous feedback.

Let me know if any of these helps.

comments: author: Vinayakrishna Bhat
body: Thanks for the swift reply, [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197). I will explore more on these tools. Appreciate it.


author: Alex Koxaras _Relational_
body: If you find something that suits your need, kindly report this here and mark my solution as accepted in order to help others with similar questions. Thank you!


author: Vinayakrishna Bhat
body: Sure Alex, with pleasure!


Tags: cloud

confluence-cloud
Restore specific spaces/projects
Asked by Mark Wiesenthal:

Hi everyone,

is it possible to restore specific Confluence spaces/Jira projects using the Admin console?

Best regards,

Mark


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Mark Wiesenthal](/t5/user/viewprofilepage/user-id/5023427) ,

Here some useful information about restore :

* JIRA Project - If you moved a project in trash you can recover it (<https://support.atlassian.com/jira-cloud-administration/docs/restore-a-project-from-trash/>). If you deleted it, you can not restore it anymore
* Confluence space - <https://support.atlassian.com/confluence-cloud/docs/archive-a-space/> the same approach as per JIRA

Hope this helps,

Fabio

comments: author: Mark Wiesenthal
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) ,

sorry, my question is a bit unspecific. If I do a backup of a specific space/project and e.g. delete the space, is it then possible to restore this space/project using the Admin console?


author: Fabio Racobaldo _Herzum_
body: Hi [@Mark Wiesenthal](/t5/user/viewprofilepage/user-id/5023427) ,

deleted items are not recoverable. You can try to restore them just from a backup (if you have it)

Fabio


author: Mark Wiesenthal
body: [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528)

Thanks for your answer. If I did a backup before, do I have to restore the whole instance from the backup or can I also do it whith one space?

Mark


author: Fabio Racobaldo _Herzum_
body: If you have a backup, you can restore a single space using the following approach <https://support.atlassian.com/confluence-cloud/docs/import-a-confluence-cloud-space/>

Fabio


Tags: cloud

confluence-cloud
Manage Watchers for new blog posts in a space
Asked by Lisa Bauer:

Hello there  

I'd like to know if there's a possibility to manage watchers that chose the option "Watch for new blog posts".

According to this page (<https://confluence.atlassian.com/conf713/watch-pages-spaces-and-blogs-1077913946.html#WatchPages,SpacesandBlogs-Watchfornewblogpostsinaspace>) this is a seperate setting you can chose from.  

But looking at the possibilities to manage watchers (<https://confluence.atlassian.com/conf713/manage-watchers-1077913949.html>) this can't be tracked seperately.  

Is there a way to keep track of who is watching your blog for new posts?  

Thanks.


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

Unfortunately there isn't a way to track them separately. Perhaps on this suggestion <https://jira.atlassian.com/browse/CONFSERVER-30644> they will include this functionality.

comments: author: Lisa Bauer
body: Thank you very much for your quick reply!


Tags: confluence-server

server
Confluence Server to Data Center migration
Asked by Sudha Neelima:

Hi Team,

Please let me know how we need to work for a plan to migrate Server version of Confleunce to a Data Center?

We would like to change from single server architecture to multiple.

Please let me know how users will be impacted if any?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Sudha Neelima](/t5/user/viewprofilepage/user-id/4053369)

I think that when you buy a DC license and you enter it on your server instance, it changes automatically to DC. No further things to do for you then.

However, you have to follow these steps for configuring your DC clusters:

* <https://confluence.atlassian.com/doc/set-up-a-confluence-data-center-cluster-982322030.html>
* <https://confluence.atlassian.com/doc/adding-and-removing-data-center-nodes-659783919.html>


author: Ste Wright
body: Hi [@Sudha Neelima](/t5/user/viewprofilepage/user-id/4053369)

Have you checked out the help pages for this?

I'd check out first...

* <https://confluence.atlassian.com/enterprise/migrate-from-server-to-data-center-953127136.html>
* <https://confluence.atlassian.com/doc/migrate-from-confluence-server-to-data-center-203651.html>

...as good starting points :)

Ste


Tags: confluence-server

data-center

migration

server
Page tree shows broken language if it is not English.
Asked by junghyeon:

My confluence version is 8.0.2. (up to date version)

The page tree macro show the broken language as below:

![image.png](/t5/image/serverpage/image-id/234562i23733D03530B5855/image-size/large?v=v2&px=999 "image.png")

But it displayed correctly in each page.

This phenomenon is only in page tree.


Answers:
author: Saurabh
body: Hello [@junghyeon](/t5/user/viewprofilepage/user-id/3345194)

Thank you for reaching out to Atlassian Community.

If you are running Confluence 8.0.2 with one of the [supported databases](https://confluence.atlassian.com/doc/supported-platforms-207488198.html) version on Windows OS then you might be hitting bug reported in <https://jira.atlassian.com/browse/CONFSERVER-81330>.

As workaround try to add the following to the JVM startup options:

* -Dfile.encoding=UTF8

This page describes how to set Java properties and options on startup for Confluence: [Configuring System Properties](https://confluence.atlassian.com/doc/configuring-system-properties-168002854.html)

Hope it helps.

comments: author: junghyeon
body: Thanks [@Saurabh](/t5/user/viewprofilepage/user-id/5065980) that worked for me.


Tags: confluence-server

server