youngmon/atlassian-qna huggingface dataset:
bamboo ldap settings
Asked by Alex Nelson:

Where in the atlassian-user.xml file do you specify a password? At least I think that's my missing link based on the log file below.

```
[2012-09-28 10:44:22,776] INFO  ###########################################################################################################################[2012-09-28 10:44:22,776] INFO  [2012-09-28 10:44:22,776] INFO  LDAP Support Tool version 2.0[2012-09-28 10:44:22,776] INFO  [2012-09-28 10:44:22,776] INFO  ###########################################################################################################################[2012-09-28 10:44:22,980] ERROR Failed to connect to LDAP server: Username or password is incorrect. Please check them again.com.atlassian.paddle.connection.ConnectionException: Username or password is incorrect. Please check them again.	at com.atlassian.paddle.connection.DefaultConnectionFactory.createFriendlyLdapException(DefaultConnectionFactory.java:43)	at com.atlassian.paddle.connection.DefaultConnectionFactory.createConnection(DefaultConnectionFactory.java:34)	at com.atlassian.paddle.task.DefaultTaskRunner.runTask(DefaultTaskRunner.java:33)	at com.atlassian.paddle.Paddle.main(Paddle.java:64)Caused by: javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece ]	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3067)	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)	at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2815)	at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2729)	at com.sun.jndi.ldap.LdapCtx.&lt;init&gt;(LdapCtx.java:296)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(LdapCtxFactory.java:175)	at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(LdapCtxFactory.java:193)	at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(LdapCtxFactory.java:136)	at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.java:66)	at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)	at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)	at javax.naming.InitialContext.init(InitialContext.java:223)	at javax.naming.InitialContext.&lt;init&gt;(InitialContext.java:197)	at javax.naming.directory.InitialDirContext.&lt;init&gt;(InitialDirContext.java:82)	at com.atlassian.paddle.connection.DefaultConnectionFactory.createConnection(DefaultConnectionFactory.java:27)	... 2 more
```

```

```


Answers:
author: ArmenA
body: Hi Alex,

You specify the password in the \<securityCredential\> tag, which should correspond to the account specified in the `<``securityPrincipal``> tag. For more information about LDAP configuration, please refer to `[this page](https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+LDAP)`. If you need to configure LDAP filters, `[this page](https://confluence.atlassian.com/display/DEV/How+to+write+LDAP+search+filters)` might be helpful.`  

Cheers,  
Armen
Funcadelic Atlassian Guava Extensions - what is it and how do you get rid of it?
Asked by Bob Swift (personal):

My bamboo installs have this plugin showing as disabled. It can't be uninstalled from the UPM. What is it doing and how do you get rid of it?


Answers:
author: Przemek Bruski
body: It's a set of classes meant as an extension to the Guava library, used in Bamboo and its plugins.

I don't think you can remove it without breaking your install, is there any specific reason for which you want to get rid of it?

comments: author: Przemek Bruski
body: Just leave it as it is for now. It's not really a plugin and the fact that it's listed as one is a result of a hack in that library.

In newer versions of that library (coming with Bamboo 4.3) this hack has been removed and you won't see it in the plugin list anymore.


author: Bob Swift (personal)
body: It shows as disabled with an error and it looks like it is not a current plugin. This is on Bamboo 4.2.1

```
This plugin could not be loaded by the plugins system. It has one or more errors which prevent it from being enabled.
```

Version: ${pom.version}  
Developer: Atlassian Software Systems Pty Ltd  
Plugin key: com.atlassian.fage.plugin
Commits From a Deleted Repo Re-appear in Recreated Repo
Asked by E_H_N:

I want to delete a repo including all commits and then re-create this repo without having the previous commits available.

When I (1) delete a repo, (2) re-create it with the same name and then (3) push my commit to it, I can go to the 'Commits' page and view both the present commit as well as the previous commits from the deleted repo. Is this a bug? Should the commits from the deleted repo be deleted as well and no longer accessible?

This issue may be related to one that was recently posted on the BitBucket Server Bug Board: Bitbucket Server BSERV-13038 Deleting a repository doesn't delete commits data sent to Jira Cloud

Any feedback from the BitBucket team regarding this issue will be greatly appreciated thanks!


Answers:
author: E_H_N
body: ...So I may have found an answer...

I re-attempted by:

(1) Deleting a particular repo;

(2) Re-creating it in BitBucket;

(3) Deleting the '.git' folder on my local machine for the given project;

(4) Re-committing and pushing the contents of the project from local to the remote; then

(5) Checking to see which commits were available in BitBucket.

I was able to confirm that only one commit was now present in BitBucket. What may have happened earlier was that I was not re-initialising Git for the project on my local machine, which resulted in the previous commits getting re-committed and pushed to BitBucket.

This does not appear to be a S/W issue, it is a 'me' issue...

Happy to hear from anyone else if they have experienced something similar!


Tags: bitbucket-cloud

cloud
Tag restriction
Asked by Kajsa:

I would like to restrict who can add git-tags to the bitbucket cloud repository, so that only certain users can start tag triggered pipelines. Ideally, I would like to set a permission so that only a specified list of users can tag with specific formats, only annotated tags are allowed, any other tag attempts are rejected.

I've looked at branch pattern permissions for \`refs/tags/\*\*\` and server-side hooks, neither of which seem to be supported by Bitbucket Cloud.

E.g.

General user can add annotated tag \`hello-world\`.  
General user **can not** add lightweight tag \`hello-world\`, tag is rejected.  
General user **can not** add annotated tag \`pipeline-trigger-\<number\>\`, tag is rejected.  
Admin user can add annotated tag \`pipeline-trigger-\<number\>\` which triggers a specific pipeline.  
Admin user can add annotated tag \`hello-world\`.  
Admin user **can not** add lightweight tag \`hello-world\`, tag is rejected.


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

Thank you for reaching out to Atlassian Community!

I'm afraid Bitbucket Cloud doesn't have a feature for tag restriction at the moment (we only have the [branch permission - restriction](https://support.atlassian.com/bitbucket-cloud/docs/use-branch-permissions/) feature where you can restrict branches, but not tags).

We do have an existing feature request to restrict pushing Git tags to certain users in a Bitbucket Repository:

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

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 (all future updates will be shared on that ticket).

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.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud

git
I stopped getting e-mail notifications from bitbucket
Asked by Irina Pykhova:

for about 10 days I don't get notifications from bitbucket, have to check for updates and new Pull Requests manually. Already checked notification settings, everything looks like it was when notification worked. My e-mail: \<email removed due to privacy reasons\>Jira and Confluence notifications look ok, only bitbucket has problem


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

Thank you for reaching out to Atlassian Community!

I checked our logs and confirmed that your email had a block on the server that prevented emails from being sent to your address. So I removed your email from this suppression list.

Could you please confirm if you receive the notifications now?

Kind regards,   
Caroline

comments: author: Irina Pykhova
body: thank you [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) I got notifications today. Can you tell how my account got into suppression list?


author: Caroline R
body: Hi, [@Irina Pykhova](/t5/user/viewprofilepage/user-id/4114107),

The error message on the bounce that we removed was this:

    554 5.7.1 [internal] recipient address was suppressed due to customer policy

According to [Sparkpost](https://www.sparkpost.com/docs/faq/recipient-address-was-suppressed-due-to-customer-policy/) (our mail provider), it could be due to one of the following reasons:

1. The user clicked the list-unsubscribe header

2. The user clicked one of your emails and flagged it as SPAM. This FBL (Feedback Loop) event should add that email address to the Suppression List.

Could also be the case here that your mail server had some issue or was down at a time when we tried to send you a Bitbucket notification, and during the time of this malfunction, your mail server sent a hard bounce response.

So, If you didn't take any of these actions (2, 3), I would assume that there was an issue with your mail server when we attempted to send a Bitbucket notification email to you.

I hope this clarifies the situation, but please let me know if you have any other questions.

Kind regards,  
Caroline


author: Irina Pykhova
body: thank you, [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) , it's clear now


Tags: bitbucket-cloud

cloud
Repository keeps growning despite removing larger files from commit history
Asked by fasc8:

My repository reported a size over 2GB and I started to remove larger files from the commit history by using the suggested BFG tool.

The tool reported a successful run and the repository seems to be significantly smaller locally. But whenever I try to trigger the remote garbage collection the repository seems to grow rather than shrinking in size.

I tried several different methods (from the atlassion post and from SO) but nothing seems to be working.


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

Thank you for reaching out to Atlassian Community!

I ran the GC against your repository that was above 2 GB and was able to reduce its size to 235.6 MB.

Just to give you some context around this behavior, after you push the changes with BFG, the remote repository still has the old references as well. So the GC is required on the remote repository to clean up any old references you have removed.

We have a feature request to allow users to mark repositories for git GC, as you can check here:

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

Please consider adding yourself as a watcher to receive the updates as we make progress with this. If you are not familiar with our Feature Request Policy, you can read more about it [here](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html).

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

Kind regards,  
Caroline

comments: author: fasc8
body: Thank you. You ran the garbage collection for the right repository. It is now significantly smaller.

And I took a look at the feature request and added my vote to it.


author: Caroline R
body: Hi, [@fasc8](/t5/user/viewprofilepage/user-id/4112577)! Thanks for your confirmation, I'm glad to help.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
I am trying to clone a private repo from another repo's pipline getting handshake error
Asked by Yaniv:

I am trying to clone a private repo from another repo's pipline getting handshake error

So say i have a main server that's (repo 1), and i want to extract some of code that repeat to another private repo, that's (repo 2).

During deployment pipline of repo 1, i want to clone repo 2.

So far i've tried generating ssh keys and adding them in both directions and from 1 direction only too. but i keep getting this error during deployment:

\`\`\`fatal: unable to access '[xxxxxxxxxxxxxxxxxxxxx.git/](https://yanivkalfa@bitbucket.org/steamme/shared.git/)': gnutls_handshake() failed: Handshake failed\`\`\`

So far what it tried:

1. generating ssh key from repo 1, and adding them to repo 2.

2. generating ssh key from repo 2, and adding them to repo 1.

3. generating ssh keys on both repos and adding them to both repos

3. tried to clone with <https://username:password>....

nothing works so far i keep getting the same error.

I've also submitted a ticket to bitbucket but that seems kinda slow.

Thansk.


Answers:
author: Yaniv
body: Found the problem ..

my cloning comment use https instead of ssh version .. close please


Tags: bitbucket-cloud

cloud
Users not members of our team make changes to our codebase, how?
Asked by Kerry Carlyle:

Hi, we have just had someone who is not part of our organization, and not a member of the repository make changes to our code, how is this possible?

The repository is marked private.


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

Thank you for reaching out to Atlassian Community!

Could you please share with me where you see that a person who is not a member of this repo made changes to the code? The reason I'm asking this is that this could be due to a local git configuration. Some users who are members of the repo may have a different Author name in Git. This is a git expected behavior and Bitbucket UI would show the Author name as provided from the git config.

The users can check this git configuration by running the following command in their local machine:

```
git config --list 
```

This will show the username and email that they have set.

Looking forward to hearing from you.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
I cannot add users to the group
Asked by itsoft_tvc_ru:

Hi

**I cannot add users to a group, update plugins, etc.
an error occurs?**

**"An unknown error has occurred"**

**I did not find an error in the logs**

**Hercules didn't find any known problems in the following log file:** **C:\\Atlassian\\ApplicationData\\Bitbucket\\log\\atlassian-bitbucket.log**

If you're experiencing problems, please create a support request using the [Support Request feature](https://bitbucket.tvc.ru/plugins/servlet/troubleshooting/view/#create-support-request) or visit <http://support.atlassian.com/>.

Base URL<http://bitbucket.tvc.ru>  
Build Number7017001  
Build TimestampSat Oct 30 04:14:14 MSK 2021  
Build Version7.17.1  
Display NameBitbucket  
Time ZoneEurope/Moscow  
JVM Time ZoneEurope/Moscow  
CPUs (Indicated)4  
SENSEN-15243646

Database Information {#toc-hId--1211264728}
-------------------------------------------

NamePostgreSQL  
Version14.0.0  
Support LevelUNKNOWN  
Connection URLjdbc:postgresql://jira-db.tvc.local:5432/bitbucketdb?targetServerType=master  

### Driver {#toc-hId--520703254}

Driver Nameorg.postgresql.Driver  
Driver Version42.2


Answers:
author: Kurt Klinner
body: Hi

did you check the application log file?

Not sure if it is related but postgres 14 is not a supported db if i remember correctly

Cheers

Kurt


Tags: bitbucket-server

server
Permissions to approve PR requests but not decline
Asked by Oleksandr Kulbida:

I need bitbucket user with permission to approve PR request but not decline. Let me know how to achieve this as I don't see such settings in UI


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

Thank you for reaching out to Atlassian Community!

I'm afraid that it's not possible at the moment to restrict who can decline a pull request. However, we have a feature request to implement this in the Bitbucket cloud as you can see here:

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

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.

Kind regards,  
Caroline

comments: author: Oleksandr Kulbida
body: Thanks [@Caroline R](/t5/user/viewprofilepage/user-id/3934006) , voted! This feature is essential for many VCS, please let me know if there are options to prioritise it


Tags: bitbucket-cloud

cloud
Stash/Bitbucket/Bamboo Migration from Own Server to Cloud
Asked by wasim:

We are planning to migrate from Internal Hosted Server(stash/bitbucket/bamboo) to Attlasian Cloud for Bitbucket/Pipleline .My Current Stash Version

* v3.3.2

Need advise and suggestion on this migration


Answers:
author: Kurt Klinner
body: [@wasim](/t5/user/viewprofilepage/user-id/640744)

Hi Wasim

for versions \> 7.0 you could have a look to the Bitbucket cloud migration assistant

[https://marketplace.atlassian.com/apps/1226610/bitbucket-cloud-migration-assistant?tab=overview\&hosting=server](https://marketplace.atlassian.com/apps/1226610/bitbucket-cloud-migration-assistant?tab=overview&hosting=server)

<https://support.atlassian.com/migration/docs/plan-your-bitbucket-server-to-cloud-migration/>

For older version you could check if you can utilise the Rest API similar to for example <https://github.com/swoodford/migrate_bitbucket_server_to_bitbucket_cloud>

Cheers

Kurt


Tags: bitbucket-cloud

cloud
Reduce repo size
Asked by Omer Hodzic:

Hi, I've gone over the repo 4GB size limit. I've git reset back to the commit before the limit, but the repo size isn't updating. What do I do?


Answers:
author: Theodora Boudale
body: Hi [@Omer Hodzic](/t5/user/viewprofilepage/user-id/4625687),

I can see in our system that your Bitbucket Cloud account has access to a repo that was over the size limit, so I went ahead and ran a git gc for this repo. Its size is 386.5 MB now.

Please feel free to let me know if things are ok and if you need anything further.

Kind regards,  
Theodora


author: Suvradip Paul
body: Hi [@Omer Hodzic](/t5/user/viewprofilepage/user-id/4625687) ,

Thanks for posting and welcome to the community.

May I request you to go through this guide - <https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/> and undoing the last push and followed by Removing Large Files to sort this out?

Please check and let me know if that helps.

comments: author: Omer Hodzic
body: I've already gone through that and undid the push but I didn't have delete dangling commits enabled so it hasn't cleared up any space.


Tags: bitbucket-cloud

cloud
Integration between Jira Cloud and Atlassian Bitbucket v5.15.0 Server
Asked by ?zg?r MERAL:

Hi all,

I would like to migrate our on-premise Jira to Jira cloud. Export and import are ok. I do not migrate BitBucket yet.

However, I would like to communicate Jira Cloud and our BitBucket server.

I could not manage it.

BitBucket version is v5.15.0.

How can I handle it?

Thanks


Answers:
author: Grigory Salnikov
body: Hi [@?zg?r MERAL](/t5/user/viewprofilepage/user-id/4625509) and welcome to our community!

Please have a look at the following article:

[Bitbucket: Connect Bitbucket Server to JIRA Software Cloud](https://confluence.atlassian.com/confeval/development-tools-evaluator-resources/bitbucket/bitbucket-connect-bitbucket-server-to-jira-software-cloud) {#toc-hId--1211288077}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Hope it helps.

comments: author: ?zg?r MERAL
body: Hi [@Grigory Salnikov](/t5/user/viewprofilepage/user-id/1323725) , thank you for reference link.

That post indicates "application links".

Could you share url of "application links" on jira cloud platform? I could not see current jira cloud.

Thanks


Tags: bitbucket-server

migration-customer-care

server
Code CheckStyle, Snyk Security are without any data returned
Asked by YY Brother:

In fact, my codes don't follow the coding standards, but the piepline cannot read the data out as shown below:

#### [security/snyk (yong.yang)](https://app.snyk.io/org/yong.yang/pr-checks/ef0fc07f-54e8-4d56-931a-fc0fb53d414f) {#toc-hId--510224178}

Snyk reported 42 minutes ago

This pull request introduces 0 issues  

Total
:   **0**

High severity
:   **0**

Medium severity
:   **0**

Low severity
: **0**  
There were no annotations provided in this report.

#### my-codestyle-report {#toc-hId-1977288655}

checkstyle-report pipe reported 45 minutes ago

Checkstyle report  

Violations
:   **0**

Low Severity
:   **0**

Medium Severity
:   **0**

High Severity
: **0**  
There were no annotations provided in this report.


Answers:
author: YY Brother
body: - step: \&build-test-checkstyle  
name: Check Code Style  
caches:  
- maven  
script:  
- mvn clean install -Dmaven.test.skip=true  
artifacts:  
- target/\*\*  
after-script:  
# Collect checkstyle results, if any, and convert to Bitbucket Code Insights.  
- pipe: atlassian/checkstyle-report:0.3.0  
variables:  
CHECKSTYLE_RESULT_PATTERN: '.\*/checkstyle.xml$'  
REPORT_FAIL_SEVERITY: 'info'  
CHECKSTYLE_REPORT_TITLE: 'my-codestyle-report'


Tags: bitbucket-pipelines

cloud
Trial licence doesn't work
Asked by ??????? ???:

I've received a trial license on <https://my.atlassian.com/product>  
Trying to place this license into setup page, but nothing happens.  

![Screenshot 2021-11-06 at 17.09.10.png](/t5/image/serverpage/image-id/168249i182773032A1B3058/image-size/large?v=v2&px=999 "Screenshot 2021-11-06 at 17.09.10.png")

![Screenshot 2021-11-06 at 17.15.47.png](https://community.atlassian.com/t5/image/serverpage/image-id/168250iCB28393B0EBBF8D1/image-size/large?v=v2&px=999 "Screenshot 2021-11-06 at 17.15.47.png")  

What am i doing wrong?


Answers:
author: Grigory Salnikov
body: Hello [@??????? ???](/t5/user/viewprofilepage/user-id/4625453) and welcome to our community!

Maybe the similar thread can give you some ideas:

<https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-server-setup-not-progressing-after-entering-licence/qaq-p/633499>

Hope it helps in some way.

comments: author: ??????? ???
body: Thank you [@Grigory Salnikov](/t5/user/viewprofilepage/user-id/1323725) it seems to be exactly same case as mine, thank you. Checking


author: ??????? ???
body: Thanks a lot, again, at the end the [unattended installs](https://confluence.atlassian.com/bitbucketserver/automated-setup-for-bitbucket-server-776640098.html) helped.


author: Grigory Salnikov
body: Dear [@??????? ???](/t5/user/viewprofilepage/user-id/4625453) ,

I'm glad this method worked! :)


Tags: bitbucket-server

server