youngmon/atlassian-qna huggingface dataset:
How to set proxy for plugins in Marketplace
Asked by Kurt Harvilak:

We are trying to get the Veracode Upload and Scan plugin working, but are having issues with it connecting to Veracode. We have an account setup and configured in the plugin, but the connection keeps timing out. Our network is behind a firewall, we have a system proxy set on the server, and Bamboo itself uses the proxy to get out to the marketplace. However, the plugin doesn't seem to be able to connect external to the network. Does anyone know where the proxy would need to be set in order for the plugin to use it and access sites outside of our network? Thank you.


Answers:
author: Daniel Ebers
body: Hi Kurt,

[while this knowledge base article describes the settings](https://confluence.atlassian.com/kb/how-to-configure-outbound-http-and-https-proxy-for-your-atlassian-application-834000120.html) to use an outbound proxy and the plugin basically should honour those settings I'd suggest to double check with their team in case the steps outlined in the knowledge base article should not suffice or should not be of any help.

Cheers,  
Daniel


author: Alexey Chystoprudov
body: I think it's better contact vendor at Marketplace


Tags: atlassian-marketplace

veracode
Failure to initialize external database
Asked by Chris Machemer:

I've tried numerous times now, with both SQL Server 2017, and Postgresql 11, and it gets to the spinny screen where it claims its initializing the database, and hangs there forever. I'm using openJdk 1.8.0-build252 on Windows 2012. If I hit refresh, it says an internal system error has occurred, with the following as the first line in the stacktrace:

```
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
```


Answers:
author: Chris Machemer
body: Must have been some sort of resource constraint issue. I shut down all the other services on the machine and retried, and now it worked with postgres.
Atlassian Bamboo Agent Stuck in Registering
Asked by Jack:

I cannot complete the registration of a Bamboo agent. It just says loading in the logs.

Doing a **telnet bamboo-server-host 8085** works but **telnet bamboo-server-host 54663** does not. I cannot confirm but this might be the reason why it's not registering.

There are no firewalls that prevent 54663 from being accessed.


Answers:
author: Jeyanthan I
body: Hi [@Jack](/t5/user/viewprofilepage/user-id/1022338) ,

Bamboo server and agents need 2 ports to talk to each other.

* Port of the Bamboo itself: 8085 by default and when no proxy is used
* Port of the broker: 54663 by default. You'll find the full broker URL in the Bamboo admin panel (System -\> General Configuration)

The traffic between agent and server is bi-directional, initial connections are only sent from agent to server. Responses are sent from server to agent. So, ensure that telnet to 54663 works from your agent.

For more info: [Technical Overview of Remote Agent Connectivity Mechanism](https://confluence.atlassian.com/bamkb/troubleshooting-remote-agents-216957427.html)

Hope that helps.

Cheers,  
Jey

comments: author: Jack
body: Hi Jey, thanks for the response. Yes, that's my concern. For some reason, 54663 is not accessible from the agent. Although 8085 is accessible.


author: Jeyanthan I
body: > For some reason, 54663 is not accessible from the agent. Although 8085 is accessible.

You'd need to work with your network admins to make this port accessible from the agent.

I'm confident that you can see the agent loading on the server once 54663 is accessible.

Cheers,  
Jey


author: Jack
body: Hi [@Jeyanthan I](/t5/user/viewprofilepage/user-id/1124775) this doesn't work either so I don't think that's the problem.

telnet localhost 54663  
Trying 127.0.0.1...  
Trying ::1...  
telnet: Unable to connect to remote host: Cannot assign requested address


author: Jack
body: This is from the Bamboo server host.
Really slow operation, Windows 10, MSSQL
Asked by Chris Bradshaw:

My new install of Bamboo on a fresh Windows PC is running really slowly. Each page takes 20-30 seconds to be served. I can configure a plan eventually, and it runs correctly. I currently cant use Bamboo like this.

I installed a trial of Bamboo on my laptop using MySql and this performs as usual (2-3 seconds per page I'm used to).

I'm running a pilot in the company so only have the starter license for now, so cant raise a support ticket.

I have Bamboo 7.1.2 build 70119 running on Windows 10 Enterprise (Xeon @ 3.7GHz, 28GB RAM, SSD) connected to remote MSSQL database (checking its performance, no concerns shown there). Also Java JDK 8.

Any suggestions on what aspects to log to try to capture the cause of the issue?


Answers:
author: Chris Bradshaw
body: So my issue was that the database server is quite a long way away from the host running Bamboo.

Doing a ping to the DB server gave me a steady 100ms.

Hosting the database physically closer made the page response time "normal", i.e. 2-3 seconds.

I'm presuming there is a sensible limit to the time/distance between the application and the database that should be communicated somewhere.
Random Variable UI display in vs 7.1.1 b70117
Asked by Ian Underhill:

After upgrading to this version of bamboo branch plans dont display the overriden variables correctly.

I have a plan defined with a set of variables (also 2 global variables exist).

I have a few branch's created for this plan, that customise these variables.

With this version of bamboo its random what bamboo displays in the variables tab list,

It seems to show the correct number of overriden variables however the name of the variable and the value of it will be mixed up. (im using chrome if that makes a difference).

is this fixed in a different version of bamboo?


Answers:
author: Marcin Gardias
body: Sounds like an instance of this bug: <https://jira.atlassian.com/browse/BAM-21054>.

Version 7.1.4 has been just released and it contains some more fixes to that Branch Variables page, I think you should try upgrading to it.

comments: author: Ian Underhill
body: great we have just upgraded to 7.2.3 b70210, ill check its working
Bamboo Java Spec
Asked by Dounia M_ A_:

Hi,

Does Atlassian have a demo or tutorial for Bamboo Java Spec?

Thank you


Answers:
author: Marcin Gardias
body: You'll find information on how to create your Java Specs project here: <https://confluence.atlassian.com/bamboo/tutorial-create-a-simple-plan-with-bamboo-java-specs-894743911.html>

More documentation (with sample code) of the Specs: <https://docs.atlassian.com/bamboo-specs-docs/7.1.4/specs.html?java>

comments: author: Dounia M_ A_
body: Thank you Marcin.
Access Payload from Bitbucket-Clou remoteTrigger
Asked by Mike Kunze:

Hello,

I'm searching very long but do not find any description that may hellp me.

I have some build-plans in bamoboo and they are triggerd remotely from the bitbucketcloud with a webhook.  
what i found so far is

<br />

<https://support.atlassian.com/bitbucket-cloud/docs/event-payloads/#EventPayloads-entity_repository>

that tells me that all the data i need is inside the payload.  

but how do i access the payload from inside the Build?

I have a shell script that needs information from this data.  

i need the branch name that triggerd the webhook to start the build inside my bamboo


Answers:
author: Winn Johnston
body: Need this too.

I have been able to do it successfully from GitHub and Jenkins w/ the generic webhook addon.


Tags: bitbucket

webhook
Setting Bamboo project variables via REST api
Asked by yevhen_rudenko:

Hi,

I'm looking for a way to programmatically define project variables (a new feature since Bamboo 7.1.2).

<https://confluence.atlassian.com/bamboo/defining-project-variables-1018270685.html>

There is a REST endpoint

<https://docs.atlassian.com/atlassian-bamboo/REST/7.1.2/#d2e2848>

However, I just can't get what to pass as a body for this POST request. I guess it should be something like a json containing varName/varValue pair, but just can't find an example.

I would appreciate it if I could have an example of doing this.

Thanks.


Answers:
author: yevhen_rudenko
body: A possible solution is to pass the following xml as your request body:

```
<variable name="ABC" value="123"/>
```
Unable to create additional local agents
Asked by Philip White:

I found the [help page](https://confluence.atlassian.com/bamboo0610/creating-a-local-agent-980469554.html) on adding addition local agents, but I don't see any button "Add Local Agent" as described in step 3. Is there some configuration I'm missing here to enable having more than one local agent?


Answers:
author: Philip White
body: It turns out that I didn't have full "Admin" permissions, rather I was a "Restricted Admin". I had never run across any restriction in my use of Bamboo so it hadn't occurred to me that there were 2 tiers of "Admin".


author: Jimmy Seddon
body: Hi [@Philip White](/t5/user/viewprofilepage/user-id/4136444),

Welcome to the Community!

Any chance you can share a screenshot of what you are seeing?

We are running version 7.0.3 of Bamboo and this is what I can see:

![LocalAgent.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/115367iDDF5244765C1E98B/image-dimensions/576x166?v=v2 "LocalAgent.PNG")

-Jimmy

comments: author: Philip White
body: Thanks [@Jimmy Seddon](/t5/user/viewprofilepage/user-id/512822) ,

It looks like we are still on 6.5.0 (free community license).

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


author: Jimmy Seddon
body: [@Philip White](/t5/user/viewprofilepage/user-id/4136444) I think the free license is the key here, as you should be able to creat as many local agents as you want on any of the paid license tiers (the cheapest of which is $10)

<https://www.atlassian.com/software/bamboo/pricing>

I hope that helps!

-Jimmy


author: Philip White
body: [@Jimmy Seddon](/t5/user/viewprofilepage/user-id/512822) Thanks for your response. That could be; I've been trying to figure out what restrictions might be in place for the Free Community License without much success. Pretty much the only description I can find is this:

"Atlassian is happy to provide **free** Server (self-hosted) licenses for registered charitable non-profit organizations that are non-government, non-academic, non-commercial in nature, have no religious affiliation and that would not otherwise be able to afford Atlassian software."

I've tried reaching out directly to Atlassian Support and we'll see what they say.

-Cheers
Bitbucket server pull requests do not create a plan branch on Bamboo
Asked by Sina Afrooze:

I am using Bitbucket server with Bamboo. I have a linked repository between the two and have enabled "create plan branch with pull request is created", but I don't see any plan branch created.

**My setup:**

Bamboo 7.1.2 linked with the following:

<br />

![Screen Shot 2020-10-21 at 6.10.32 PM.png](/t5/image/serverpage/image-id/115235iE6E8386E2B4EF16E/image-dimensions/748x110?v=v2 "Screen Shot 2020-10-21 at 6.10.32 PM.png")

My bamboo setup:  

![Screen Shot 2020-10-21 at 6.12.37 PM.png](/t5/image/serverpage/image-id/115236i3692D556E45BD0C3/image-dimensions/680x115?v=v2 "Screen Shot 2020-10-21 at 6.12.37 PM.png")

And

![Screen Shot 2020-10-21 at 6.13.17 PM.png](/t5/image/serverpage/image-id/115237i7A98CD8D4CCCB648/image-dimensions/460x480?v=v2 "Screen Shot 2020-10-21 at 6.13.17 PM.png")

I see in the logs that bitbucket pull-requests are received:  

```
2020-10-21 17:11:28,736 INFO [http-nio-8085-exec-23] [AuthenticatorImpl] Authenticated app 'Bitbucket:5482248460' as user 'null' successfully

2020-10-21 17:11:28,738 INFO [AtlassianEvent::0-BAM::EVENTS:pool-1-thread-12] [PullRequestAwareEventListener] Received pull request opened event [ part-recognition, from: refs/heads/VCVCOR-841-gtest_discover_tests, to: refs/heads/master]
```

but no pull-request plan branch is created and no pull-request builds happen.


Answers:
author: Sally S_ Miller
body: does it work if you have it set to making the branch plan when a new branch is created?

comments: author: Sina Afrooze
body: Yes, creating a new branch on bitbucket repo does result in a new plan branch to be created.


author: Sina Afrooze
body: I discovered that if I create a PR for branch of the same repo to master branch of the same repo, a plan branch is created. However if a PR is created from a fork of the repo to the main repo, plan branch is NOT created.


Tags: bitbucket

bitbucket-server
Does Bamboo Server 6.6 support macOS Catalina (10.15.7)
Asked by Myke:

Our team needs to upgrade our mac to macOS Catalina so we can use Xcode 12, we currently use Bamboo Server 6.6 and would like to see if it is compatible with Catalina. Catalina drops all 32bit software support so we just wanted to make sure we're good before running the upgrade.


Answers:
author: Alexey Chystoprudov
body: Yes, Bamboo works at Catalina


Tags: catalina

mac
Crowd LDAP Connection Pool setting
Asked by Jiannan Tang:

Hi:

My Users is below 2000.

What's the advise setting of LDAP Connection Pool .

If the Preferred Pool Size set 3, can it cause the LDAP connection timeout?

**My setting**

Initial Pool Size: 1

Preferred Pool Size: 50

Maximum Pool Size: 0

Pool Timeout (seconds): 3

Pool Protocol: plain

Pool Authentication: simple


Answers:
author: Bruna Griebeler
body: I don't believe this can cause timeout.

Either way, you can set you pool timeout as 0 so it will be unlimited.

If for some reason you perform timeout issues synchronizing with LDAP check this doc:

<https://confluence.atlassian.com/display/CONFKB/Debugging+LDAP+Connection+Properties>

Hope it helps!

comments: author: Jiannan Tang
body: If timeout setting unlimited, then the max LDAP connection could be the login users.

Does it affact the LDAP server.


Tags: configuration

ldap
Java or .Net code and sample custom apps that demonstrate SSO authentication?
Asked by Giuliano C.:

Hi Atlassian,

I have a customer with an interesting question, which I would be glad if we can point some kind of help to him, since I'm not so expert on these kind of codes:

> Are there any pointers to Java or .Net code and sample custom apps that demonstrate SSO authentication?
>
> We just can't see how it would work. This is a shame because we are evaluating Crowd but can't see the benefit of it if we can't get it to work with custom applications.
>
Thanks in advance for any help.

Regards,

Giuliano


Answers:
author: Sam Kenny
body: To be more specific, we are want to integrate our .NET app with Crowd using SSO. There are some sample (Java-based) apps that are deployed with Crowd. They use the crowd-integration-api-2.5.3.jar library. This jar contains the byte code.

If we could get the source code to this, then we could infer how to do integrate our .NET app with Crowd using SSO. Is that possible?


author: Sam Kenny
body: We got our .NET app working with Crowd.


Tags: authentication

javascript

sso
Crowd Event Listener Question
Asked by Sam Tse:

I'm currently evaluating Crowd and there is one specific functionality that I need - I would like to setup an event listener that will get called during an authentication (from ANY application as setup in Crowd) and use the corresponding username and password for further processing. I noticed there is an event in Crowd called UserAthenticationSuceededEvent (http://docs.atlassian.com/atlassian-crowd/latest/com/atlassian/crowd/event/user/UserAuthenticationSucceededEvent.html) but it does not seem to provide the username and password. Any advice is appreciated.

Thank you.


Answers:
author: Sam Tse
body: Thanks for your quick reply. Unfortunately, the product that I am trying to integrate does not support (Crowd) SSO out-of-the-box and I have no access to its source code (a third-party product). It does provide a REST API for authentication but requires **both** the username and password. The only workaround that I could think of is to have Crowd authenticates behalf of the user when the user authenticate via crowd, which at that point I could forward both the username and password into the product for authentication behalf of the user. However, this requires Crowd to provide both username and password via its event. I'm running out of idea, any suggestions?

comments: author: Sam Tse
body: Any comments or suggestions?


author: Yilin
body: Since the event is fired after the authentication is done, it will just return the token to let the client to keep login with the applicaiton. But it will at least return the user. Having password insde should be less secure, isn't it?

comments: author: Sam Tse
body: Thanks for your quick reply. Unfortunately, the product that I am trying to integrate does not support (Crowd) SSO out-of-the-box and I have no access to its source code (a third-party product). It does provide a REST API for authentication but requires **both** the username and password. The only workaround that I could think of is to have Crowd authenticates behalf of the user when the user authenticate via crowd, which at that point I could forward both the username and password into the product for authentication behalf of the user. However, this requires Crowd to provide both username and password via its event. I'm running out of idea, any suggestions?
Lost system Admin rights when using JIra with Crowd SSO
Asked by Marcelo Caldas:

The system is working perfectly for everything except Jira System Administrator's priviledges.

I have Jira (5.2) configured with SSO with Crowd (2.5.3) and the free plugin for IWA available on your site.

I have set up crowd directory to sync with my company's AD to provide IWA authentication for users (a requirement since we are PIV enabled here and very soon we'll loose access to our passwords)

the only problem I am having is that my user no longer has access to Jira System Administration issues even though I created a jira-system-administrator group on AD and assigned myself to it. I can validate that CROWD did the sync and shows both the group and myself as a member of that group.

My question is why I don't have access to system administrator functionality?


Answers:
author: Harry Chan
body: Hi[,](https://www.cloudshards.com/confluencehosting.php) besides what Eddie said you['](https://www.cloudshards.com/jirahosting.php)ll need to confirm in JIRA what the groups have permissions on. There is a global permission setting in JIRA that defines what each group can do and perhaps this is set incorrectly[.](https://www.cloudshards.com)


author: Marcelo Caldas
body: thanks Eddie and Harry.. you're both right. While using Jira stand alone, the groups on the local jira "directory" was being used, even though the users were coming from AD. But when we plugged in Crowd, I could no longer add users to groups other than AD and I created the groups with slight different names on AD, causing all the trouble.


author: EddieW
body: I think jira-administrator and not jira-system-administrator is the role you want.

<https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+JIRA#IntegratingCrowdwithAtlassianJIRA-1.3SpecifywhichuserscanlogintoJIRA>


Tags: security

sso
Integrating Crowd with Subversion on Windows
Asked by Mohant:

Our subversion works on apache 2.0 and OS is Windows. When i try to integrate crowd with subversion according to [Integration Crowd with Subversion](https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Subversion), i could not install Crowd-Apache connector.  
[Integrating crowd with Apache](https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Apache) is not supported for apache 2.0 and Windows.

Are there any way to install Crowd-Apache connector?

.


Answers:
author: LuizA
body: Hello There,

As we can see in the documentation that you linked in your question, unfortunately this configuration is not supported for Windows and other UNIX-Like Systems, but maybe customizing this configuration but to do this you'll need some expertise to compile the C library and get it working. In this case, I would suggest you to make a contact with one of our Atlassian Experts, that are a kind of certified partner and they are able to work with specific customizations/developments and different environments, maybe this can be a way. To contact one of them please check the following link:

<http://www.atlassian.com/resources/experts>

Hope this helps.

Kind Regards,

LJ.


Tags: apache

svn
Client Host is Invalid
Asked by Plexus ALM Support:

Test Crowd connection failed with errors. I've attempted to follow <https://confluence.atlassian.com/display/CROWDKB/Client+Host+is+Invalid> but the query fails.

SELECT ID FROM CWD_APPLICATION WHERE APPLICATION_NAME = 'crowd';

Invalid object name 'CWD_APPLICATION'.

<br />


Answers:
author: William Zanchet [Atlassian]
body: Hi There,

I'v followed the same steps, but, everything went fine from my side. So, I've suggested through Atlassian Support to see if you are experiencing problems related to lowercase sensitive, which you have to execute the query with lowercase letters or asked if the query is being executed on the wrong location.

After tried the suggested steps, I would try to perform the queries on the KB again. :)

If that was not the case, any help will be great for us.

Regards,

Giu


author: Giuliano C.
body: |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Hi There, I'v followed the same steps, but, everything went fine from my side. So, I've suggested through Atlassian Support to see if you are experiencing problems related to lowercase sensitive, which you have to execute the query with lowercase letters or asked if the query is being executed on the wrong location. After tried the suggested steps, I would try to perform the queries on the KB again. :) If that was not the case, any help will be great for us. Regards, Giu |


author: John Chin
body: The above link is for Crowd 2.3 and later.

For Crowd 2.1.x or 2.2.x you will also need to store the base-64 representation in the remote_address_binary column. (For example, fwAAAQ== for 127.0.0.1.)

For earlier Crowds, you will need to store the binary representation in the remote_address_binary column. (For example, 01111111000000000000000000000001 for 127.0.0.1.)
Too many users after switching from trial license to starter pack for Crowd. How can I remove some users?
Asked by jeffshea:

We had a trial license for Crowd but it expired so I got a 50 seat starter license for use during setup. This gives us time to go through the purchase process for a full complement of licenses. However, now when I log into Crowd it tells me I have too many users and need to buy more licenses. For now I just want to get rid of some users so I am under the 50 user limit but I can't get into admin to do it. Any ideas?


Answers:
author: SimonS
body: Hey Jeff,

You can actually start another Crowd evaluation to use until the payment process is complete. Just log in to your [my.atlassian.com](http://my.atlassian.com) account and there is a "start new evaluation" link you can use.

-Simon

comments: author: SimonS
body: Happy to help!


author: jeffshea
body: Thanks Simon. I came upon the same solution myself but I appreciate the fast response.


Tags: atlassian-support