youngmon/atlassian-qna huggingface dataset:
Bamboo
Asked by M_Tayyab:

what's a advantage the use of Bamboo.


Answers:
author: Nic Brough -Adaptavist-
body: It's a rather nice build service. Probably in the top part of a very very swamped market for them.

In some ways, I'd rate it higher than Jenkins (which is generally seen as the "best" CICD tool currently) because

* it's got a simple and clear UI that seems to make sense to most (I find myself regularly having to show people around Jenkins because it's not as clear)
* It can do everything you want from a CICD tool, like all the others
* It has a good "this version is in that environment" report built-in, which the competetion all seem to need plugins for (this is rather unusual for Atlassian - most Atlassian stuff needs plugins to get the clever functions out, but in the case of Bamboo, it's the other way around - most of the competition needs plugins to be clever)
* It, of course, works well with other Atlassian applications (another set of plugins you don't need)

comments: author: Gordon Churchill
body: Second this, over Jenkins. The problem with our former Jenkins installation is you're on your own with regard to problems/support. Great if you know how to fix whatever is ailing Jenkins at the time but what you think you save in upfront costs you pay for in your maintenance time.

Besides all the niceties mentioned from the reply above, Bamboo has a fairly consistent support structure with \*far\* less time required to keep it running. This is almost a set-it-and-forget-it build system with some caveats depending on how you configure your build server(s). I've also been quite pleased with "you get what you pay for" because my time is valuable. Showing off Bamboo capabilities to more team members across our org is a better use of my time than Jenkins maintenance. Also I have to say I love the integration with Bitbucket \& Jira in particular.
Remove -SNAPSHOT from project version in pom before deploying to maven repository.
Asked by Ambili Venugopalan:

Hi Team,

I have a pom with the following data.

    <groupId>com.company</groupId><artifactId>test</artifactId><version>1.0.0-SNAPSHOT</version>

In the Bamboo build step, before the package, I want to forcefully remove the "`-SNAPSHOT` " from the version.

Can you suggest a solution?

Thanks.


Answers:
author: Boris Van Hardeveld
body: Hello [@Ambili Venugopalan](/t5/user/viewprofilepage/user-id/4101346) ,

If you have Maven installed on the agent (which I assume given a pom file), and you know the version you would like to set you can easily do so using the following command (for example using a shell task):

```
mvn versions:set -DnewVersion=1.0.0
```

Alternatively, you should be able to drop the -SNAPSHOT suffix using the following command, given you have at least version 2.1 of the Version Maven Plugin (see: <https://www.mojohaus.org/versions-maven-plugin/set-mojo.html#removeSnapshot>)

    mvn versions:set -DremoveSnapshot

If you do not have Maven on the agent or you do not have version +2.1 and do not know the version in advance (e.g. it is set by the developers), you will need to extract the version part first and then update the file. In that case you might be interested in a plugin we have been working on: <https://marketplace.atlassian.com/apps/1223553/metadata-maniac-for-bamboo>.

Hope this helps.
How can I monitor the test's performance?
Asked by geomecon:

To detect performance issues for new commits, I would like to monitor the performance of some tests by running a profiler on them or at least store the total duration and then:

* visualize the times over the test versions
* get a notification email once some condition for the saved times is met, e.g. increase in duration by more than 10%

I couldn't find anything related online so far. However, I cannot imagine its a rare use care is it? Has anybody done that before? Or do you have any idea how to achieve that in Bamboo? Is there any plugin?

I am using Atlassian Bamboo: Version 6.6.2 Build number 60606 Build date 8/14/18

Many thanks for your help


Answers:
author: Gonchik Tsymzhitov
body: Hi!

You can start from Java Melody

[https://marketplace.atlassian.com/apps/20909/javamelody-monitoring-plugin?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/20909/javamelody-monitoring-plugin?hosting=server&tab=overview)


Tags: performance

test
Configure build/deploy plans expiry at project level.
Asked by Ambili Venugopalan:

Hi Team,

Is it possible to Configure build /deploy plans expiry at the project level?

ex: dev/sat build/deploy plan doesn't keep artifacts/logs more than 5 copies(all plans under project1)

release build plan/deploy doesn't keep artifacts/logs more than 10 copies.(all plans under roject2).

I could see only the global expiry setting and plan level expiry.

Could you please suggest a solution.

Thanks

Ambili


Answers:
author: Alexey Chystoprudov
body: There's no project level settings for expiry. I would suggest to use Bamboo Java Specs for such configuration
Crowd Backward compability?
Asked by David Forsman:

We run Confluence 3.4.1 and Jira 4.2.1 with Crowd 2.0.7.

We want to upgrade Crowd to latest, 2.5.1.

\* Is Crowd backward compatible? I.e. will our current Jira and Confluence work fine with Crowd 2.5.1?

\* Do I have to upgrade crowd client jar files in our old confluence \& jira?

(I've started uppgrading Bamboo and Fisheye. They requiere a upgrade of Crowd - hence this situation. I'm not in a position to upgrade Jira and Confluence now.)


Answers:
author: Bhushan Nagaraj
body: Check for compatibility

<https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+Confluence>

and

<https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Atlassian+JIRA>

Make sure you perform the upgrade in a development environment first

comments: author: David Forsman
body: Thanks. New Crowd seems to support old Confluence \& Jira.

But - will a upgraded crowd requiere me to upgrade crowd-client-jar at our "old" confluence \& jira?
How can an admin determine when someone's password last changed in Crowd?
Asked by JoeI:

Hi folks, how can I tell when someone last changed their password via Crowd?

I see User \> Attributes \> passwordLastChanged variable, but it's unclear how to convert this into a date. For example, what does this passwordLastChanged value signify?

1331653714613


Answers:
author: JoeI
body: **Solution** : Remove the last three digits from Crowd's timestamps, then visit [epochconverter.com](http://www.epochconverter.com/) in order to determine the date.

It seems that the dates in Crowd are too long to be standard Unix time because Crowd lists the dates as 13 digits, even though Unix time willl only be 10 digits long for the next \~7,992 years. According to Giuliano, the extra three digits represent milliseconds.

So if *passwordLastChanged* = *1331653714613* then ...

<br />

1. Truncate to only 10 digits: *1331653714*

2. Enter this into [epochconverter.com](http://www.epochconverter.com/)

3. Results:

GMT: Tue, 13 Mar 2012 15:48:34 GMT

Your time zone: Tue Mar 13 2012 11:48:34 GMT-4


author: Giuliano C.
body: Just to implement, you can convert this into a date through a third-party page:

<http://www.onlineconversion.com/unix_time.htm>

Kind Regards

comments: author: JoeI
body: **Solution** : remove the last three digits from Crowd's timestamps, then visit [epochconverter.com](http://www.epochconverter.com/) in order to determine the date.

It seems that the dates in Crowd are too long to be standard Unix time because Crowd lists the dates as 13 digits, even though Unix time willl only be 10 digits long for the next \~7,992 years. According to Giuliano, the extra three digits represent milliseconds.

So if *passwordLastChanged* = *1331653714613* then ...

1. Truncate to *1331653714*

2. Enter this into [epochconverter.com](http://www.epochconverter.com/)

3. Results:

GMT: Tue, 13 Mar 2012 15:48:34 GMT

Your time zone: Tue Mar 13 2012 11:48:34 GMT-4


author: Bhushan Nagaraj
body: Hi Joe,

Refer <http://en.wikipedia.org/wiki/Unix_epoch>


author: Zachary Buckholz
body: Thank you Joe for informing us of this. I was starting to get a little crazy.

Without removing the last three digits I was getting things like:

Last Successful Login : 46522-12-20 22:26:55 -0700  
Once I removed the last three difits all was good.  
Last Successful Login : 2014-07-21 08:19:02 -0700  
What confused me was that I was using the [epochconverter.com](http://epochconverter.com)website to test the numbers I was working with and it was returning proper date/time. But in my Ruby code it was not. I guess the Ruby implementation does not account for ms.  
In my User Class  

```
@lastAuthenticated = (responseHash["attributes"][1]["values"][0])[0..-4].to_i
```

In my method where the output is displayed

```
puts "Last Successful Login : " + (Time.at(user.lastAuthenticated)).to_s
```
When connecting Crowd to Microsoft Active Directory, do we have to pull all the users from the LDAP?
Asked by Office Alias:

We would like to connect Crowd to our LDAP.

However, we don't want all of the users in the LDAP to be users in Crowd .  
We have lawyers, managers, accountants, and several other people that will never use JIRA, Confluence, etc.

If we were to pull all of the users from Active Directory, we would have to upgrade the licenses we would have to end up getting: we don't want to do that.

Can we only pull specific user groups, or specific users into Crowd?  
How will this affect the user-limit on our licenses?


Answers:
author: Septa Cahyadiputra
body: Hi there,

You most certainly can limit the amount of users retrieved by Crowd from your LDAP user. This way, you can limit the licensed users for Crowd as Crowd count the licensed users by counting the amount of users that can login into Crowd or other application integrated to Crowd.

Please refer to the documentation below to limit the number of users from Crowd using search filter:

* [Restricting LDAP Scope for User and Group Search](https://confluence.atlassian.com/display/CROWD/Restricting+LDAP+Scope+for+User+and+Group+Search)

Hope it helps.

Cheers,  
Septa Cahyadiputra

comments: author: Office Alias
body: that link indicates how to restrict LDAP score for Apache Directory Studio, my question pertained to Microsoft Active Directory. Can we restrict LDAP Score with Microsoft Active Directory as well?


author: Septa Cahyadiputra
body: Hi there,

Actually the mentioned Apache Directory Studio is just the LDAP Editor Tool used to access and review your LDAP server which will also work for Microsoft Active Directory. The other information should provided is applicable for Microsoft AD.

Cheers,  
Septa Cahyadiputra


Tags: active-directory

configuration

ldap
Crowd SSO Question
Asked by JongBum Lee:

<br />

1. SSO = AUTO LOGIN ???

Crowd, Confluence, Bamboo is installed on one server.

Of the three applications you want to configure. Sso

Connect to the IP / PORT. (Not a domain environment)

One individual with the connection, the system is well, you can not auto-login.

2. Confluence / Bamboo Not concurrent logins

The user has all the rights group.

However, the Confluence and Bamboo users can not log in at the same time.

<http://10.240.48.208:8090> -\> our Confluence url

<http://10.240.48.208:8085> -\> our Bamboo url

if confluence login, bamboo is disconnected.

also bamboo login, confluence disconnected.

please solve these problem..


Answers:
author: Septa Cahyadiputra
body: Hi Lee,

You might want to add context path for each of the products to avoid corrupted session cookies which might be the cause of the issue.

Please refer to this [documentation](https://confluence.atlassian.com/display/JIRAKB/User+is+Logged+Out+of+JIRA+after+Confluence+Login) for detailed information on context path. Hope it helps.

Cheers,  
Septa Cahyadiputra
Bonfire not playing nice with JIRA 4.4.3 + Crowd 2.2.7 SSO
Asked by charleslcso:

Whenever I try to log into JIRA via Bonfire extension, and as long as I have already logged into JIRA via another tab in the same browser, Bonfire extension will complain a 401.

I have to log out from the JIRA tab, before I can log into JIRA thru Bonfire.

This is not very nice... because usually we work on multiple projects in JIRA.

Is it by design?

Bonfire 2.3.1.0 extension.


Answers:
author: FagnerF
body: Hi Charles,

I believe it's not by design, at least I don't think so.

What is the current Bonfire version? Is it happening in any browser?

Have you tried to use another browser?

It can may be some browser issue. You can check out in [Bonfire Compatibility Chart](https://confluence.atlassian.com/display/BONFIRE/Bonfire+Compatibility+Chart).

I hope it helps

comments: author: charleslcso
body: Hi Fagner

Originally I think it should not be designed like this. It happens on all browsers.

Annoying. Very annoying.

We wont upgrade to a latest version of JIRA, Confluence or Bonfire. We'll have to live with Bonfire 2.3.1.0.


author: charleslcso
body: See comment


Tags: capture-for-jira

jira
Update Crowd License
Asked by Van Le:

Hi all,

I'm using Crowd trial and it was expired. I tried to get new evaluation license and updated it. Then it caused Crowd not to start up ( get timeout error/ ....).

Now, i've got Crowd developer license.

How would I update this license without login to Admin console?

I'd appreciate your help.


Answers:
author: Rodrigo Girardi Adami
body: Hi Van,

That's strange. Usually changing to evaluation license should work to get the instance back online when it get's expired or with the number of users exceeded.

Try to create another evaluation license and if the issue persists, I believe the best would be to open a ticket for [support.atlassian.com](http://support.atlassian.com) so we can investigate this behavior.

Hope that helps!

Rodrigo


Tags: licence
When configuring an application does crowd check group membership for an application recursively.
Asked by Chad Barnes:

If I choose to NOT allow all to authenticate to a Crowd application (where I map a directoy to an application in Crowd) and instead specify a group will Crowd check that group's membership recursively or must I also add all nested groups that need to access the application?


Answers:
author: Tiago Comasseto
body: Hi Chad,

There is no need to add the nested groups. The application will associate the members of those nested groups to the parent group.

Cheers

comments: author: Chad Barnes
body: Thank you for the response.


Tags: directory

nested-group
Integration crowd 2.5.0 + spring security 3
Asked by Jean-brice Rougeot:

After reading the following documentation to integrate crowd and spring <https://confluence.atlassian.com/display/CROWD/Integrating+Crowd+with+Spring+Security>, I still have some questions.

My goal is to implement SSO for our own custom application and Jira, Confluence.

1)First of all I have a problem with the authentication provider:

Initially, to authenticate the users when connecting to our application, I use the class DaoAuthenticationProvider from spring like this:

\<beans:bean id="daoAuthenticationProvider" class="org.springframework.security.authentication.dao.DaoAuthenticationProvider"\>

\<beans:property name="userDetailsService" ref="userDetailsService/"\>

\<beans:property name="saltSource" ref="saltSource/"\>

\<beans:property name="passwordEncoder" ref="passwordEncoder/"\>

\</beans:bean\>

but Crowds uses a different provider(RemoteCrowdAuthenticationProvider) which expects different parameters.

How can I deal with these 2 providers?

2)The documentation says:If you have an existing user data model, then you can extend or wrap the CrowdDetailsService does it mean my model must extend the CrowdUserDetailsServiceImpl class?

<br />


Answers:
author: JohnA
body: Hi Jean-Brice,

Having looked at the document you are referring to, it is is suggesting that extending the CrowdUserDetailsServiceImpl class in your own application should allow you to get this configured.

All the best,  
John
What changes to applications that use Crowd do I need to do when migrating and upgrading Crowd?
Asked by Tom:

I am upgrading Crowd from 2.2.7 to 2.5.1 by installing/migrating it to a new server and new DB (MYSQL) and importing the XML from the old Crowd instance. That has worked fine for a test instance. I know I need to edit my applications' (Jira, Bamboo, Confluence) atlassian-jira/WEB-INF/classes/crowd.properties files to reflect the new URL for the new Crowd instance and restart them.

Do I need to do anything else to those applications? For example, do I need to update the versions of the atlassian-jira/WEB-INF/lib/crowd\<whatever\>.jar files, or update plugins?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Not all the applications use crowd.properties now. They use it for SSO but there are other configurations in the UI where the crowd server url needs to be changed.

And if the url is not using cnames, you should better have an admin user who can login and change it after Crowd is moved to the new server.

I am not sure about the jar version but you can find it in your Crowd server itself.


Tags: crowd-integration

migration
Cannot connect to localhost:8095
Asked by Austin Delorme:

I have unzipped the crowd folders into a directory, and have changed the crowd-init.properties to indicate where I want the Crowd Home directory (which is not the same as the installation directory). I click start-service.bat, and the cmd window flashes up. Despite these, when I try to connect to localhost:8095, I cannot.

I am using IE9, and installing Crowd on a remote server, connecting with Remote Desktop.


Answers:
author: Austin Delorme
body: I believe the issue was that I did not run the start_service.bat as an administrator, so there was nothing to access at <http://localhost:8095>


author: Addam Webber
body: Just clicking on the batch file even if you run as administrator just does not work for me. What I have to do is open a cmd prompt as administrator. Then start the batch from the command line. This works on windows 7 ultimate 32-bit.

The crowd command window will open and stay opened until you run the stop batch.

comments: author: Edward
body: This was my solution as well. I'm running this on Server 2016.


author: Casey Harford
body: That would definitly do it!


author: Casey Harford
body: Are you acccessing the "localhost" from within the remote desktop session, or from your workstation? You may need to swap "localhost" with the ip address of your server.


author: Harry Chan
body: Hi, can you post the full URL you are trying to access? Although Chrome and Firefox inserts this for you, sometimes in IE when you do localhost:8095, it doesn't add http:// to the front and causes issues. Ensure you are accessing it via [http://localhost:8095](http://localhost:8095.).


author: Nic Brough -Adaptavist-
body: I'm afraid the answer to that is "read the logs". There's not a lot we can help you with unless you can read the logs....


author: Austin Delorme
body: I am not sure, how do I check that?


author: Vishwajeet Singh
body: are there any exceptions in the logs ?


Tags: install

localhost
Unable to authenticate JIRA 5.0.2 with Crowd 2.4.1 after upgrade
Asked by William Wells:

We recently performed an upgrade from JIRA 4.1.2 and Crowd 2.0.7 to 5.0.2 and 2.4.1 respectively. After the upgrade, we are unable to authenticate users against Crowd and are receiving the following error in the Crowd logs:

org.hibernate.StaleStateException: Batch update returned unexpected row count from update 0 ; actual row count: 0; expected: 1

We also upgraded out Confluence from 3.3.3 to 4.1.7 and found a similar issue where it seemed that Confluence was holding onto an old stale state with the older version of Crowd. To resolve that issue, we reset the Confluence internal directory password for the admin account and went through the steps to re-establish a Crowd integration.

We didn't seem to have an admin account in our JIRA instance so we followed the steps in <https://confluence.atlassian.com/display/JIRA050/Retrieving+the+JIRA+Administrator> but that didn't seem to help us any and we still cannot login (locally nor crowd related). We've been looking through all of the knowledge base, documentation, submitted to the Ask Atlassian forums, but we're stumped at this point.


Answers:
author: William Wells
body: it was actually a mispelling of the password in the crowd.properties. Pretty simple and stupid on my part. Thanks for helping.


author: MatthewC
body: Assuming you have a valid licence, I'd raise a support call with Atlassian? <http://support.atlassian.com>
No users can log into the production Crowd server.
Asked by Raghuram Pulijala:

<br />

All Crowd users could log into Crowd before I restarted Crowd yesterday. After I restarted Crowd no user could log in. The error Invalid Login displays on the Crowd Console log in page. We know the user id's and passwords. I don't know what happened to the configuration. I don't think I made a configuration change that was incorrect and would have only showed up after a reboot. Maybe I made an error in configuration of Crowd weeks ago that would have caused this problem after the reboot yesterday?

I need to get the users able to log in to Crowd console immediately to support the application that use Crowd authentication. I got a notification from Crowd saying I got 963 users counting toward my license of 50!

I can't log in to get the SEN. I can't create a support zip. I should be able to login to Crowd with username admin which would be in the local directory of Crowd. But I cannot. Before the reboot I could.

What change to my Crowd do I need to make to get admin local directory user to be able to log in . I followed the directions to reset the password in the file system and that didn't work: Recovering Your Console application Password.

If I could just get that admin user working to log in to Crowd I could fix the configuration for the 963 users.


Answers:
author: Raghuram Pulijala
body: - <https://confluence.atlassian.com/display/CROWDKB/Getting+InvalidAuthenticationException+in+the+Log+File+when+Logging++into+Crowd>

- <https://confluence.atlassian.com/display/CROWDKB/Restoring+Passwords+To+Recover+Admin+User+Rights>

I did both the above for my Crowd Admin account in the internal directory.