youngmon/atlassian-qna huggingface dataset:
Automatically reset 'Changes requested' PR status when all tasks resolved
Asked by Praveen Raj:

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

The question is regarding the summary in Bitbucket's overview page for pull-requests pending my review. With the filters set as shown in the screenshot above, the PRs with '*Changes requested*' status are not listed, even if all the PR tasks have been resolved.

**I think once all the PR tasks have been resolved, the 'Changes requested' status can be reset for all the reviewers who have already requested changes on that PR.**

I've not seen any option to enable this yet. Is there a way to make this possible?


Answers:
author: Caroline R
body: Hi, [@Praveen Raj](/t5/user/viewprofilepage/user-id/3070124)!

Thank you for reaching out to Atlassian Community!

Currently, this is not available yet, but we do understand that this would be a great feature to implement, so we already have a feature request to our dev team:

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

I would suggest that you add 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 are more than welcome to leave any feedback, and 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.

While this feature is not implemented, I would recommend that the users add a comment to inform the reviewers that the code was updated and they should receive a notification.

Kind regards,  
Caroline

comments: author: Praveen Raj
body: Thanks [@Caroline R](/t5/user/viewprofilepage/user-id/3934006), I see the linked feature request have been closed as duplicate. I've voted for the active feature request of the same topic: [\[BCLOUD-20676\] Request re-review of a PR](https://jira.atlassian.com/browse/BCLOUD-20676).


author: Caroline R
body: Hi, [@Praveen Raj](/t5/user/viewprofilepage/user-id/3070124)!

Indeed, we closed the feature request as duplicated as we already had an open feature for the same request, so you can vote and watch the feature <https://jira.atlassian.com/browse/BCLOUD-20676>. Thanks for sharing the information here!

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Project settings committed to source control
Asked by Marek Siemieniuk-Morawski:

Hi,

I'm wondering if it's possible to keep a Bitbucket project setting, like PR template or default reviewers, in the repo itself? To make it sharable for others and to have it versioned.

As an example, in Github we do store metadata in \`.github\` directory: <https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository>


Answers:
author: Theodora Boudale
body: Hi Marek,

I'm afraid that we don't have such a feature to keep PR default description and/or default reviewers in the source code of a repo. These can be set by the Repository settings, as you mentioned.

If you'd be interested in such a feature, you are more than welcome to create a feature request in our [issue tracker](https://jira.atlassian.com/secure/Dashboard.jspa) for our development team to consider, or please feel free to let me know if you'd like me to create it.

Kind regards,  
Theodora

comments: author: Marek Siemieniuk-Morawski
body: Thanks for response! It's a shame but we can live without this feature. Just wanted to know.

Best regards, Marek


Tags: bitbucket-cloud

cloud
Rsync deploy for multiple servers
Asked by Pawe? Soboci?ski:

Hello,  
is it possible to deploy via rsync (atlassian / rsync-deploy) and execute the ssh command (atlassian / ssh-run) to multiple servers simultaneously?

for example:

```
script:
  - pipe: atlassian/rsync-deploy:0.6.0
    variables:
      USER: $USER_PRE_PROD
      SERVER: ['IP_1', 'IP_2', 'IP_3']
      REMOTE_PATH: $REMOTE_PATH
      LOCAL_PATH: 'app'
```

when I run it like this I have such an error: /pipe.sh: line 27: SERVER: SSH_SERVER variable missing

    env=BITBUCKET_PIPE_STORAGE_DIR="/opt/atlassian/pipelines/agent/build/.bitbucket/pipelines/generated/pipeline/pipes/atlassian/rsync-deploy" \
    --env=REMOTE_PATH="$REMOTE_PATH" \
       --env=SERVER_0="IP_1" \
       --env=SERVER_1="IP_2" \
       --env=SERVER_2="IP_3" \
       --env=SERVER_COUNT="3" \
       --env=USER="$USER_PRE_PROD" \
       --add-host="host.docker.internal:$BITBUCKET_DOCKER_HOST_INTERNAL" \

    ...

    Status: Downloaded newer image for bitbucketpipelines/rsync-deploy:0.6.0
    /pipe.sh: line 27: SERVER: SSH_SERVER variable missing.

    INFO: Executing the pipe...


Answers:
author: Igor Stoyanov
body: Hi [@Pawe? Soboci?ski](/t5/user/viewprofilepage/user-id/4593566) . Thanks for your question. This feature is not supported, but you can use parallel steps where each script relates to each of your server. Example: [Parallel steps](https://bitbucket.org/blog/manual-steps-in-parallel-groups-available-for-pipelines)   

Regards, Igor


Tags: bitbucket-pipelines

bitbucket-cloud

rsync
reviewers not found when requesting pullrequest
Asked by Jin Wu:

hi there,

when i tried to get info of pullrequest using below url, i cannot get reviewer info.

```
/repositories/team/repository/pullrequests
```

"

![2021-10-12 15-43-17 ?????.png](/t5/image/serverpage/image-id/164445iE544AA61C54B8CBD/image-size/large?v=v2&px=999 "2021-10-12 15-43-17 ?????.png")


Answers:
author: Caroline R
body: Hi, [@Jin Wu](/t5/user/viewprofilepage/user-id/1942186)! Thank you for reaching out to Atlassian Community!

In order to see the reviewers of a Pull Request, you can run the following request:

```
/2.0/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity
```

You can get a list of PRs (including their IDs) from the endpoint you already ran. So for example, in his screenshot, we see the PR ID 4039 (near the top). So you need to then use that ID and run the following to get the reviewers section:

```
/2.0/repositories/{workspace}/{repo_slug}/pullrequests/4039/activity
```

You can find more information about this endpoint at the following link:

* [https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity](https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/pullrequests/%7Bpull_request_id%7D/activity)

Please let me know how it goes and don't hesitate to ask for any further information if needed.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud

jira-software

jira-software-cloud
How to download only single specific folder from bitbucket repository
Asked by admin:

I need to download a specific folder from bitbucket repository and not complete repository. Is there any way or link available to download specific folder not specific file. Please help me if any available ?


Answers:
author: Caroline R
body: Hi, [@admin](/t5/user/viewprofilepage/user-id/4593259)! Welcome to the community!

Currently, it's possible to download a specific file from a repository, but not a specific folder. In this case, the best option would be to use the API or something to get a list of all of the necessary files and download them individually or to just download the whole repo and remove the unwanted content.

You can [create a Feature Request](https://jira.atlassian.com/secure/Dashboard.jspa) for that if you'd like, or let me know if you want me to open it for you.

Please feel free to share any additional questions regarding this case.

Kind regards,  
Caroline


Tags: atl-gruland

bitbucket-cloud

cloud
Authorized users not appearing in dropdown for PR reviews
Asked by Jack:

We have a public repository and for some reason, when someone creates a pull request, there are instances where some authorized users cannot be added as reviewers. They don't appear in the list.

This is inconsistent behavior as other users are able to add the same reviewer when they create their own pull request.


Answers:
author: Caroline R
body: Hi, [@Jack](/t5/user/viewprofilepage/user-id/1022338)!

Thank you for reaching out to Atlassian Community!

We currently have an open bug for this issue:

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

However, we already have a workaround while this bug is not fixed. As we will need to know the repository name and the users who are not appearing in the dropdown for PR, I have created an internal ticket for you using the email of your community account, so you don't have to share this information here.

You should have received an email with a link to the support ticket. Just in case you haven't received it, please feel free to let me know and I can post the ticket URL here. The ticket will be visible only to you and Atlassian staff, no one else can view its contents even if they have the URL.

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

Kind regards,  
Caroline

comments: author: Jack
body: Thank you [@Caroline R](/t5/user/viewprofilepage/user-id/3934006), I'll look into the created ticket.


author: Caroline R
body: You're welcome, [@Jack](/t5/user/viewprofilepage/user-id/1022338)! I'm glad to help!

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Implementing a Bitbucket Add On and want to direct user to my app after install
Asked by Mary Heilner:

I am implementing my first Bitbucket Add On.  

When I install the add on (using the dev environment url), it requests permissions and then sends my app an install notification. When that finishes, I would like Bitbucket to direct the user to my app. Is this possible? It seems that Marketplace apps have either "add" or "learn more". If I want the user directed to my app, is the proper approach to have them learn more and log in/install from there? I want my app to appear on their installed app list so if they want to remove, they can do so from within Bitbucket.


Answers:
author: Mary Heilner
body: I found what I was looking for ... I can specify postInstallRedirect in the connect.json file.
AWS EFS configuration for BitBucket data center as a shared volume on multiple nodes onEKS cluster?
Asked by devendradhoot:

BitBucket Team,

We are working on a migration project where we need to containerize BitBucket data center from EC2 to EKS cluster for BitBucket.

We are deploying the BitBucket on EKS using Helm chart. We now want to map EFS as a shared mount point on EKS cluster for data persistency on the cluster. We are getting below error when we configure with EFS mount.

===

Please stop the other instance of Bitbucket and restart this instance.

If you are absolutely certain that no other instance of Bitbucket is running, please remove the lock file '/var/atlassian/application-data/shared-home/.lock' and restart this instance.  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1786)  
... 5 common frames omitted  
Caused by: com.atlassian.stash.internal.home.HomeLockDeniedException: Home directory '/var/atlassian/application-data/shared-home' is already locked by another running instance of Bitbucket.

===

Can you please confirm if EFS is supported on multiple node in the EKS cluster. If yes, can you please help us point to correct direction.

Thanks.


Answers:
author: Christian Glockner
body: Hi,

EFS is not supported as a shared file system for Bitbucket Data Center due to performance concerns. NFS version 3 is the only supported option at this point.

Cheers,

Christian

Premier Support Engineer

Atlassian

comments: author: Naga Naidu
body: [@Christian Glockner](/t5/user/viewprofilepage/user-id/527595) anything has changed since then ? with EFS support ?


Tags: bitbucket-server

migration-customer-care

server
Certificate Errors on Firefox and Chrome
Asked by David Maskell:

Myself and some colleagues are all getting SSL errors when trying to access bitbucket.

We are connecting from different networks and use different browsers. Many fonts and images are not loading and seem to be blocked by browsers due to SSL errors. I've cleared the cache and still no luck.

Error messages from Firefox console state:

assets.bb-inf.net SSL_ERROR_BAD_CERT_DOMAIN

Similar errors in Chrome stating:

Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID

this happens for many resources on all pages.

Checked the status page but it indicates no problems, so not sure if I'm the first to report or it is just something particular with our workspace.

<https://bitbucket.status.atlassian.com/>


Answers:
author: David Maskell
body: Tried again a day later and it all magically started working. I guess whatever was broken on the backend got fixed.


Tags: bitbucket-cloud

cloud
Bitbucket Pipeline Runner
Asked by venkatesh.gudipati:

Hi Everyone,

I have created a Bitbucket Pipeline and workspace runner .

my project is node js Project , we are using private registry called 'Verdaccio',

To Publish code to Private repository, we need add credentials, but we can not pass credentials

is there way to access to Agent of the pipeline and we tired to access runner (which is running as docker),

we are unable to find Agent working directory , it will be to add private repository credentials

Could you please advise how to agent directory

Thanks,

Venkatesh


Answers:
author: Caroline R
body: Hi, [@venkatesh.gudipati](/t5/user/viewprofilepage/user-id/4592195)! Welcome to the community!

You can set up secured repository variables for any credentials, and use these variables in your yml file. This way, you won't have to hardcode the credentials in the yml file.

You can create repository variables by accessing your repository \> **Repository settings** \>**Pipelines** \>**Repository variables**.

**Note:**Repository variables override workspace variables. In case you would like to read more about variables in pipelines, I suggest the following documentation:

* <https://support.atlassian.com/bitbucket-cloud/docs/variables-and-secrets/>

Also, I'm afraid that it's not possible to access the build directory from the host machine.

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

Kind regards,  
Caroline


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

migration-customer-care
The requested URL returned error: 402
Asked by Ravi Patel:

Error encountered while pushing to the remote repository: Git failed with a fatal error.  
Git failed with a fatal error.  
unable to access '<https://bitbucket.org/cltechnobrains/coltenslist2.git/>': The requested URL returned error: 402

I have only one user in my Bitbucket account still I got above error and not able to pull, push and sync.

Remote: \[ALERT\] Your push failed because the account 'cltechnobrains' has exceeded its  
Remote: \[ALERT\] user limit and this repository is restricted to read-only access.  
Remote: \[ALERT\] To restore write access, ask an account administrator to upgrade their plan.


Answers:
author: Caroline R
body: Hi, [@Ravi Patel](/t5/user/viewprofilepage/user-id/2676903)!

Thank you for reaching out to Atlassian Community!

You are facing this issue because the workspace that is hosting the repository is under the plan limit. There are 6 users in the workspace, and it's currently on the Free plan. The free plan has a limit of 5 users.

You'll need to reach out to the owner of the workspace and ask them to upgrade the plan or remove additional users from the workspace to 5 or fewer users.

I hope this helps clarify the issue, but please let me know if you face any obstacles.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Cannot sign in to bitbucket
Asked by Charles Moga:

I cannot effectively login to bitbucket. I get this message and there is nothing I can about it:

Your Bitbucket account with username "username" is not linked to your Atlassian account **"email"** .

Clicking on Link Account button renders nothing.

I don't want to link my organization to my email because I use bitbucket only for client projects.


Answers:
author: Caroline R
body: Hi, [@Charles Moga](/t5/user/viewprofilepage/user-id/540486)!

Thank you for reaching out to Atlassian Community!

Checking your Bitbucket account, I can see that this account is linked to a [workspace](https://support.atlassian.com/bitbucket-cloud/docs/what-is-a-workspace/) that has been converted from a team account. Bitbucket has removed the [ability to log in using a team account](https://confluence.atlassian.com/bbkb/team-account-changes-454361799.html) so that's why you are not being able to log in/link this account.

In order to allow you to reaccess this account, we can disassociate the email from this workspace. Then, you will be able to create a new account using this address, as a personal account.

After creating your account, please let me know, so I can give you admin access to this workspace again.

In case you want to proceed with the disassociation of your email from this workspace, please add your approval here.

Please don't hesitate to ask for any further information if needed.

Kind regards,  
Caroline

comments: author: Charles Moga
body: Thanks Caroline. Yes please disassociate my email from this workspace.

Thank you.

Charles


author: Caroline R
body: Hi, Charles

Thanks for your confirmation! We have disassociated your email from the workspace. Now you should be able to create a new Bitbucket account using this address.

Please let us know once you have created this account, so we can give you access to the workspace again.

Feel free to share any additional questions or concerns regarding this case.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
How can i add ui elements into Web item Dialog - Bitbucket Cloud
Asked by Vipin Kumar:

I want to add UI element and perform some action on Dialog after clicking on Enable Merge menu item.

![Screenshot 2021-10-11 at 12.54.13 PM.png](/t5/image/serverpage/image-id/164236i78AB0F58665FC83C/image-size/large?v=v2&px=999 "Screenshot 2021-10-11 at 12.54.13 PM.png")

![Screenshot 2021-10-11 at 12.54.24 PM.png](/t5/image/serverpage/image-id/164237iC07B7FA22F56825C/image-size/large?v=v2&px=999 "Screenshot 2021-10-11 at 12.54.24 PM.png")


Answers:
author: Mark C
body: Hi [@Vipin Kumar](/t5/user/viewprofilepage/user-id/4351770)

Thank you for reaching out to the community.  

I'm afraid it is not possible to customize a dialog pop-up in Bitbucket Cloud at the moment.  
However, I can request a feature request for this for you.  

To do that, may I kindly ask the reason why you need to customize a dialog pop-up while merging a pull request?  

Looking forward to your response.

Regards,  
Mark C


Tags: bitbucket-cloud

cloud

connect

dialogue
How to implement webhook for bitbucket with jenkins
Asked by syed abid:

we are trying to implement webhook for the merge event in bitbucket for specific branch with respect to Jenkins. it should not trigger notification for all the branches, it should be restricted to master branch only. Please let us know how we can implement it


Answers:
author: Iryna Ihnatiuk _Appfire_
body: Hi [@syed abid](/t5/user/viewprofilepage/user-id/4567565) ,

There is no way to set up it out of the box of Bitbucket.

Please take a look at our application the [Webhook to Jenkins for Bitbucket](https://marketplace.atlassian.com/apps/1211284/webhook-to-jenkins-for-bitbucket?hosting=server&tab=overview) which exactly meets your mentioned requirements!

Let me know if you need help or have additional questions.

Regards,  
Iryna  
Products Team  
Appfire company


Tags: bitbucket-server

server
SourceTree high CPU usage
Asked by adam35413:

I am currently running SourceTree 1.0.8 on a Windows 7 system. At rest right now, it is using 99% of the CPU and is close to unusable. Is there a log I can look at to determine what is going on?


Answers:
author: Max Diez
body: same problem here


author: Ethan
body: Same here. 1.8.2.11 on Win7x64, i5-2520m, 16GB

All CPUs shot to 95% when open one large project with a lot of untracked files. Tried filter modified file only, doesn't help. Don't feel any slowness if use TortoiseGit.

Switch to a small project, cpu is low.
Sourcetree Ubuntu
Asked by Carlos Rios:

Hi there!

Have anyone tried to compile SourceTree on Ubuntu? Is it on a roadmap? I myself use mac on home but ubuntu at work and it would be terrific to use SourceTree on ubuntu.

Regards,


Answers:
author: Timothy
body: See (https://answers.atlassian.com/search/?t=question\&q=sourcetree+linux).
Recommendations re: SourceTree + Dropbox
Asked by ellery-mckenzie:

Hi

Does anyone have any recommendations / thoughts regarding the wisdom of using Dropbox as a means of "backing up" a local Sourcetree repository?

I have a feeling that it wouldn't play nicely if I used Dropbox to share the repository but for the purposes of having an accessbile backup I think it'd be ok.

I've been a Sourcetree user for a little while now and just recently tried using Google Drive as a means of backing up my repositories to the cloud. I hit the same problems as discussed here: [https://answers.atlassian.com/questions/193702/google-drive-icon-file-issues-with-sourcetree](/questions/193702/google-drive-icon-file-issues-with-sourcetree), and then with some experimenting found that Dropbox seems to be able to handle things (so far).


Answers:
author: ellery-mckenzie
body: On the basis of Kieran Senior's comment, I've backed out of using any web-folder sync service (such as Dropbox, Drive, etc) as being too likely to cause corruptions.

So, the answer to my question is: ***Probably Not A Good Idea***.

I guess I'll just have to convince the powers that be to go with a real dcvs service such as github or bitbucket (as mentioned by Mick).

comments: author: KieranA
body: Don't take my word as gospel, but we had had a few reports of this happening. I don't know how dropbox manages its files, but presumably there's metadata associated with folders which is probably what caused the problems people had been reporting. Seems a bit weird to backup a repository though, they should already be backed up through their hoster. Alternatively if you self-manage your repositories you can always set up multiple remotes and push them to various sources that are still private.


author: ellery-mckenzie
body: I hear you Kieran.

Google Drive destroyed my test respository on the spot by adding icon files to every directory including those under .git. Dropbox didn't but in principle it strikes me that any sync-based service is capable of causing these kind of issues.

For me this all started because we use Google Drive as our primary document store and I wanted to see if we could store remote repositories there as a convenient means of sharing among the team. It seems now that we'd be better off with a real solution like bitbucket.


author: MJ
body: Might [Bitbucket](https://www.atlassian.com/software/bitbucket/overview) be something useful to you?

comments: author: ellery-mckenzie
body: I'd like to say yes, but there is some organisational inertia to contend with first


author: KieranA
body: People do do this, but as a sidenote it has been known to corrupt repositories as it changes things in the .git folder. This isn't to say it won't work, just be careful when trying things out and just back up your repository before you test anything :)


Tags: dropbox