youngmon/atlassian-qna huggingface dataset:
How do I remove people from a project?
Asked by Craig Horobin:

I have recently taken control of my project from a previous develop but they still have access to the project. How do I remove them from the project as there is no obvious option?

Regards

Craig


Answers:
author: Ben
body: Hi Craig,

You will need to click the **Project**tab at the top of the screen and select the project you wish to modify from the list.

Once you've done so, you can click **Project Settings \> Project Permissions**in the left-hand sidebar and then either remove the user directly from the list (if single users are listed), or remove them from whatever user group they are a member of by clicking on the group name from this same screen and deleting them from here.

More information may be found in our documentation below:

* <https://support.atlassian.com/bitbucket-cloud/docs/configure-project-permissions-for-users-and-groups/>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
Login to old bitbucket repo that only had a username and password
Asked by etidalgo:

I want to log in to an old bitbucket repo that was created with only a username and no email. It is not associated with any email.

How would I recover that repo?


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

In case your repo was hosted in Bitbucket Cloud (<https://bitbucket.org/>), we removed user accounts without an Atlassian account at the beginning of 2023.

* <https://community.atlassian.com/t5/Bitbucket-articles/Deactivation-of-user-accounts-that-lack-an-Atlassian-account/ba-p/2169213>

If that Bitbucket Cloud account was never associated with an email address, then it also lacked an Atlassian account and it was removed.

I'm afraid that recovery of such a repo is no longer possible in this case.

Please note that there is an existing Bitbucket Cloud account with the same email address as your community account. If you are looking for a repo that this account has access to, then you can:

* Log in to <https://bitbucket.org/>.
* Select your avatar (top right corner) \> **All workspaces** .  
  You will see a list of all workspaces this account has access to.
* Select a certain workspace, and then select **Repositories** from the menu at the top to see that workspace's repos (the ones you have access to, if it is not your work workspace)

Kind regards,  
Theodora


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

Bitbucket Cloud has never supported accounts without an email, so I have to assume you are trying to retrieve access to a server system.

You won't be able to just recover an individual account, you will need to log in as an admin and change the account details. To get access as an admin if you have lost the admin account details, see <https://confluence.atlassian.com/bitbucketserver/lockout-recovery-process-776640158.html>


Tags: bitbucket-cloud

cloud
Pipeline stuck error
Asked by Tiago Jesus:

We couldn't clone the repository. Try rerunning the pipeline.


Answers:
author: Theodora Boudale
body: Hi Tiago,

I've seen different things causing this error, so we would need some additional info to understand what is happening.

* Could you open this build's page on Bitbucket's website, expand the **Build setup** in the Build log, and share the commands and output listed there? These may give us an indication of why this error occurs.  

* Are you running this build on Atlassian's infrastructure or with one of our self-hosted runners? If you are using a runner, is it a Linux Docker, Linux Shell, Windows, or MacOS runner?  

* If you are using a runner, could you also provide the entries from the runner's log at the time this build ran? (Please make sure to sanitize any private data in the logs, prior to sharing).

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Person who creates a pull request (PR), restrict merge access
Asked by Sreekanth Reddy:

I have a team of 10 members, and team members will create the PR's and the same person will merge PR. I want to restrict the people who create the PR from having merge access.  

<br />

Each team member should have both PR creation and merge access, but they should not have merge access for PRs they have created. How can I configure this in Bitbucket?  


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

As Saxea _Flowie_ mentioned, I'm afraid that is not possible with the current branch restrictions in Bitbucket Cloud.

I went ahead and created a feature request in our issue tracker to gather interest:

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

I suggest adding your vote to that feature request (by selecting the **Vote for this issue** link) as the number of votes helps the product managers better understand the demand for new features. You are more than welcome to leave 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 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 can consider the options that Saxea _Flowie_ suggested.

Kind regards,  
Theodora


author: Saxea _Flowie_
body: Hi [@Sreekanth Reddy](/t5/user/viewprofilepage/user-id/5503891) ,

I don't think you can configure that specifically, but you could achieve a similar result by requiring one reviewer, since the owner's reviews don't count towards the check.

If for some reason this does not work for you, you might want to have a look at [Flowie](https://flowie.app/), a Bitbucket app we provide for workflows, which supports referring to '@owner' as special user. Currently it doesn't let you exclude, but you can contact support and we should be able to get this working for you.


Tags: bitbucket-cloud

cloud
Shared pipelines as given in documentation not working
Asked by Das:

Any place where extreme knowledge base is available for the shared pipelines with live examples or snapshots available


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

The docs we have on shared pipelines are the following:

* <https://support.atlassian.com/bitbucket-cloud/docs/share-pipelines-configurations/>
* <https://confluence.atlassian.com/bbkb/how-to-set-up-a-shared-bitbucket-pipeline-for-the-main-branch-1295385940.html>

Please keep in mind that shared Pipelines are available only on repositories belonging to a workspace on the ++Premium plan++.

If you are trying this on a workspace on the Premium billing plan, can you please provide the following info so I can better help you?

* The definitions from the yml file of the exporting repo
* The yml file of the importing repo  

  (No need to share the actual scripts, you can replace the commands and repo name with dummy values, I just want to see the structure)  

* What do you mean by "it is not working"? Does the build not get triggered? Does the build get triggered but you get an error (if so, what error do you get and where)?

<br />

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
How to merge a feature branch into master without PR
Asked by mohan yadav:

How to merge a feature branch into master without PR, please let me know the rest api endpoint to merge feature branch into master like below  

![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/325458iD2209B15CBA8F59F/image-size/large?v=v2&px=999 "Capture.PNG")

bitbucket should have rest API end point like this <https://docs.github.com/en/rest/branches/branches?apiVersion=2022-11-28#merge-a-branch>


Answers:
author: Syahrul
body: G'day, [@mohan yadav](/t5/user/viewprofilepage/user-id/5418092)

Could you please provide further context on why you need to merge a branch without going through a pull request?

We currently don't have an existing API to merge a branch directly without a PR, so I am interested to hear your use case for this. However, we do have an existing feature request for merging branches via API at the following link:

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

Regards,  
Syahrul

comments: author: mohan yadav
body: Hi [@Syahrul](/t5/user/viewprofilepage/user-id/744536) the context is below:

We have a system in c#, in which  
1. If there is PR available then check PR approval, conflicts etc ... action and then merge the PR - This is done as rest api end point exist.  
2. If PR is not available then merge the feature directly into master without PR checks because we can have some setting on PR like approver restriction ,must reviewer exist etc..


author: Theodora Boudale
body: Hi Mohan,

Thank you for the feedback.

Please make sure you add your vote (by selecting the **Vote for this issue** link) to the feature request that Syahrul shared to express your interest. 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 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.

If you have branch restrictions, I'm afraid it is not possible to achieve what you want via API at the moment. However, you could merge from the UI (from the **Branches** page of the repo) without a PR.

Kind regards,  
Theodora


author: mohan yadav
body: bitbucket should have rest API end point like this <https://docs.github.com/en/rest/branches/branches?apiVersion=2022-11-28#merge-a-branch>


Tags: bitbucket-cloud

cloud

rest-api
Password reset emails never arriving
Asked by StanR:

Hello, I'm trying to log in into my old bitbucket account and getting the "you password was found in a breach" message asking me to reset my password. However, no matter how many times I tried the email never came. I assume my email (probably provider?) is in some kind of a banlist, and it would be nice if I could get the reset email pushed through.

Email linked to the account is \`\<redacted\>\`


Answers:
author: Patrik S
body: Hey [@StanR](/t5/user/viewprofilepage/user-id/5503591) ,

welcome to the Community!

Checking internally I confirmed your email address was in Atlassian internal suppression list because your email provider bounced the most recent emails.

I went ahead and removed the email from that list. Could you try resetting the password again and checking if the email is now delivered?

Note: I've removed your email address from the original post to protect your privacy as this is a public forum.

Thank you, [@StanR](/t5/user/viewprofilepage/user-id/5503591) !

Patrik S


Tags: bitbucket-cloud

cloud
When will serverless-deploy pipe upgrade to Serverless 4.*?
Asked by Sam Mahr:

This is a non-blocking issue, but we just had a whole lot of automated PRs request we upgrade our serverless dependency from 3.\* -\> 4.\* from Snyk due to 2+ vulnerabilities at a medium priority and I think one was high priority (resolved moving from 3.22.0 -\> 3.38.0).

Does the serverless-deploy pipe Docker image typically stay up to date with npm vulnerabilities on the serverless package? Thanks!


Answers:
author: Igor Stoyanov
body: [@Sam Mahr](/t5/user/viewprofilepage/user-id/2787874) hi. We have a plan to upgrade serverless-deploy pipe to Serverless 4.\*  
We will notify you when new version will become available.  

Regards, Igor

comments: author: Sam Mahr
body: Thanks [@Igor Stoyanov](/t5/user/viewprofilepage/user-id/4550492)


author: Oleksandr Kyrdan
body: Hi [@Sam Mahr](/t5/user/viewprofilepage/user-id/2787874)

We have done investigation and according to the [critical breaking changes in the Serverless Framework V4](https://www.serverless.com/framework/docs/guides/upgrading-v4) we will not upgrade to v4 soon:  

- Deprecation Of Non-AWS Providers

- License Changes

- extra layer for Authentication Via Access Or License Keys

The [serverless-deploy](https://bitbucket.org/atlassian/serverless-deploy) pipe was designed for deploy to a multi-cloud providers at first.

Best regards,  
Oleksandr Kyrdan


Tags: bitbucket-cloud

cloud

pipes

serverless
Repository is over the size limit (4 GB) and will not accept further additions
Asked by Idris AIT MOULAY:

*remote: Repository is over the size limit (4 GB) and will not accept further additions.*   
*remote:*   
*remote: Learn how to reduce your repository size: <https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Rewind-history-to-undo-large-commits>.*   

*To[https://bitbucket.org/\*/\*.git](https://bitbucket.org/*/*.git)*   
*! \[remote rejected\] master -\> master (pre-receive hook declined)*   
*error: failed to push some refs to '[https://\*@bitbucket.org/\*/\*.git](https://*@bitbucket.org/*/*.git)'*   

*I can not push due to reaching the sit limit of the repo.*   

there same info about repository from my machine.  

**$ git count-objects -vH**   

**count: 1785**   
**size: 3.41 GiB**   
**in-pack: 173220**   
**packs: 1**   
**size-pack: 95.57 MiB**   
**prune-packable: 0**   
**garbage: 0**   
**size-garbage: 0 bytes**   

I already made GC localy, there is any way to do it remotly ?  

thanks


Answers:
author: Ben
body: Hi Idris,

Once a gc has been performed locally - it must also be performed on the server-end to finalise the changes.

I've just executed a gc and the size of that repository has reduced from 3.4GB \> 150MB.

Please ask all users of the repository to remove their local copy and perform a fresh clone to avoid pushing back old refs.

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud
How to re-activate an account?
Asked by Gabriela Espinoza:

A member of my group cannot log-in into his Atlassian account, it receives a message that his account has been deactivated when trying to access "<https://university.atlassian.com/>" He was directed to change his password, this has not helped as he is still unable to log in. Is there something else he can do?


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

Does this user have an email address from the same domain as your email address?

I can see in our system that email addresses from this domain are managed by your organization, so it is possible that an Org Admin from your company deactivated this user's Atlassian account. If you know who the Org Admins are in your company, you can reach out to one of them and ask them to check the status of this user's Atlassian account and reactivate it.

If you don't know, then you can ask this user to reach out to our billing and licensing team:

* <https://www.atlassian.com/company/contact/purchasing-licensing#/>

It is not necessary to log in, but please ask him to provide the email address he has issues logging in. He will then receive email communications. One of my colleagues can check if his account was deactivated by an Org Admin or if something else is causing this. If the account was deactivated by an Org Admin, he can also ask for the names of the Org Admins so he knows who to reach out to.

Kind regards,  
Theodora


Tags: bitbucket-data-center

data-center
Comparability of JIRA Cloud with FishEye and Crucible
Asked by Venkat Nagireddi:

Integrating JIRA with FISHEye/Crucible is possible but I would like to check the Comparability of JIRA Cloud with FishEye and Crucible, id yes , please advise me to integrate process .


Answers:
author: Daniel Wester
body: It should be the same however for some functionality Fisheye/Crucible may need to be able to be accessible by JIRA Cloud (and reverse).

I think that there are a couple of server-server communications that will require you to open up ports etc.

For more details see:

<https://confluence.atlassian.com/cloud/link-to-server-apps-from-cloud-744721656.html>

and

<https://confluence.atlassian.com/fisheye/linking-fisheye-to-jira-394464293.html>

comments: author: Venkat Nagireddi
body: Thank you Daniel quick response , please let me know if you have any JIRA Cloud Development Environment for POC (integrating fishEye and Crucible ) . please advise me.


author: Venkat Nagireddi
body: please let me know if you have any JIRA Cloud Development Environment for POC (integrating fishEye and Crucible ) . please advise me.


author: Daniel Wester
body: I'm not sure what you're asking for but the above links should be able to give you all of the information you'll need (I've used them previously to configure the integration for a set of systems).


author: Venkat Nagireddi
body: Please provide Linux version of FishEye and Crucible installers for trial version to test with Existing JIRA Cloud server .

the below link provides windows version , but we need linux version

[https://www.atlassian.com/software/fisheye/download](https://www.atlassian.com/software/fisheye/download?)

I appreciative of your help!


Tags: jira

jira-cloud
Unable to load database driver from your FISHEYE_INST/lib directory.
Asked by feliciaimbriano:

I am trying to connect to a mySQL database, but when i test the connection i receive this error: Unable to load database driver from your FISHEYE_INST/lib directory.   

I have installed the newest driver to the lib folder, but I'm not sure what's wrong. Any ideas?

I have just upgraded to fisheye/crucible 4.4.1.

Here's my log:

```
log4j:WARN No appenders could be found for logger (com.amazonaws.jmx.spi.SdkMBeanRegistry).log4j:WARN Please initialize the log4j system properly.log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.Jun 16, 2017 1:29:50 PM com.sun.jersey.server.impl.application.WebApplicationImpl _initiateINFO: Initiating Jersey application, version 'Jersey: 1.19 02/11/2015 03:25 AM'2017-06-16 13:30:02,114 WARN  - Exception attempting to load Database driverjava.lang.ClassNotFoundException: com.mysql.jdbc.Driver
```


Answers:
author: feliciaimbriano
body: Figured it out. Grammar error, hadn't replaced hostname with the actual host name silly me.


author: Vitalii Petrychuk
body: Hi Felicia,

[Unable to connect to MySQL database - Exception attempting to load Database driver](https://confluence.atlassian.com/fishkb/unable-to-connect-to-mysql-database-exception-attempting-to-load-database-driver-339739579.html) article from our Knowledge base should help you.

Vitalii

comments: author: feliciaimbriano
body: I have followed those instructions and I get the error above.


Tags: jdbc

log4j

mysql
How to customize crucible's email subject?
Asked by Thiago Ara?jo:

There are a few answers available for crucible's version 2 and 3; however they do not work for crucible 4. Moreover, the documentation page returns an erro 503. Is the product being discontinued?


Answers:
author: Piotr Swiecicki
body: It seems like since version 3.3.2 email subjects are not customisable in FishEye/Crucible, I can see open improvement request: <https://jira.atlassian.com/browse/CRUC-6783> though it didn't attract too many votes so doesn't seem higly demanded.

Feel free to vote on it to show your interest.

The product is not discontinued, see recent release notes: <https://confluence.atlassian.com/fisheye/fisheye-4-0-release-notes-808761197.html> and <https://confluence.atlassian.com/crucible/crucible-4-0-release-notes-808761308.html>

Documentation page shouldn't return 503, can you provide a link so I can verify, please?

comments: author: Thiago Ara?jo
body: Hi.

Tank you for the response.

I voted for future users, however I gave up the attempt to use crucible - didn't fit my needs. I'll use UpSource, which works out of the box (in crucible I had to implement a bot to create reviews based on commits, which I think is a basic feature).

Moreover, I found how to change the subject reading all templates. The subject is in the "shared" folder.

Regarding the broken link in the documentation, I didn't find it again - sorry.


Tags: email

notification
CrossRepositoryQuery REST API does support EyeQl?
Asked by JongBum Lee:

Dear All

I would like to search EyeQL for the entire repository.

But, CrossRepositoryQuery REST API does not seem to support EyeQL.

Can I run EyeQL on the entire Repository?

Thanks.

Best Regards


Answers:
author: Vitalii Petrychuk
body: Hi JongBum,

There is a CSV export EyeQL provides. So you may use it to make custom EyeQL queries.

The query should look like this:

/search/REPOSITORY_ID/?ql=ESCAPED_EYEQL_QUERY\&csv=true

For example:

[https://your-fisheye-server.com/search/your-repository-id/?ql=select%20revisions%20from%20dir%20%22%2F%22%20order%20by%20date%20desc%20return%20author%20limit%205\&csv=true](https://your-fisheye-server.com/search/your-repository-id/?ql=select%20revisions%20from%20dir%20%22%2F%22%20order%20by%20date%20desc%20return%20author%20limit%205&csv=true)

comments: author: JongBum Lee
body: Dear Mr. Vitalii Petrychuk

Thanks for your reply.

My SCM is subversion.  

I wonder if Subversion also supports it.  
(I could not do the test you wrote right now)

Thanks.

Best Regards


author: Vitalii Petrychuk
body: SCM type doesn't matter. It should work with all FishEye repository types.


Tags: fisheye-crucible-administration
Associate review with a different Crucible repository that points to the same SVN repository
Asked by Phillip Palk:

We currently have a repository that points directly to the trunk of the SVN repository, however we've also got a repository that points to the same SVN repository but pulls in trunk, branches and tags. When a commit is made against the SVN repository, that commit shows up in both Crucible repositories and produces double the 'commits' on the user's dashboard (i.e. it shows up once for both repositories).

We have reviews that are associated with the first Crucible repo that points directly to the SVN repo's trunk, however I'd like to get rid of that Crucible repo in favor of the one that includes the SVN repo's trunk, branches and tags. I can change things over so that all new reviews go to the second repo and disable the old repo so that new commits don't show up in both, but is there a way to move the old reviews to the new repository? I realize that this might not be straight-forward since the paths will change (file in the first repo would become trunk/file in the second).

If this can't be done, is it safe to delete the first repository (that points to trunk) without losing the content of the existing reviews? Or should I just leave the repository in place as 'disabled'?


Answers:
author: Vitalii Petrychuk
body: Just disable the "trunk" repo and you won't get annoying duplications. Once the repo is disabled all notifications should disappear.

I do not suggest removing it just because of historical reasons - as you mentioned, there are reviews associated with it. And AFAIK there is no way to associate them with a new repo.

comments: author: Phillip Palk
body: OK, thanks. That's what I ended up going with.


Tags: fisheye-crucible-administration

repository