youngmon/atlassian-qna huggingface dataset:
How do you query Crowd for list of groups and their members?
Asked by Jim Groff:

I'm new to Crowd so I don't even know how to connect to the DB to run the queries? Does this have to be done on the server or is there a remote connector? If someone could give me a simple step by step on how to connect, I can bang out the query I believe from this information. I just don't know how to go about connecting to the DB from a Windows box. Please pardon my ignorance.

<https://confluence.atlassian.com/crowdkb/how-do-i-generate-a-csv-export-of-users-and-memberships-from-a-specific-directory-in-crowd-442271568.html>

The Crowd CLI has been discontinued, I assume I could have done it from there before. We are on 2.8

<https://bobswift.atlassian.net/wiki/display/CRDCLI/Crowd+Command+Line+Interface>


Answers:
author: Steven F Behnke
body: If you are trying to connect to the database directly, you need access to the database server and whatever credentials you can get that will let you run those queries.

A better alternative would be to use the REST apis -- <https://developer.atlassian.com/display/CROWDDEV/Crowd+REST+APIs>

comments: author: Jim Groff
body: Thank you Steven. I was able to use the following query using the rest APIs and obtained a list of users in each group.

[http://mycrowdserver:8095/crowd/rest/usermanagement/latest/group/membership](http://crowd.sharplabs.com:8095/crowd/rest/usermanagement/latest/group/membership)

It returned the group and username which was very helpful. Is there a way to obtain all of the user information, not just the username with the query? I could not seem to find a way to do so here:

<https://docs.atlassian.com/atlassian-crowd/latest/REST/#usermanagement/1/>


author: Steven F Behnke
body: Sorry, what user information specifically?


author: Jim Groff
body: The fields from the View User\>Details tab in the crowd console.

Username, Directory, Email address, Active or Not, First Name, Last Name.

Thanks again Steven.

Jim


author: Globallink Techops
body: Super late but i use this:

/crowd/rest/usermanagement/1/group/user/direct?groupname=$group\&expand=user

gives me all the user details for members of the group in the $group variable


author: tiendungitd
body: Hi [@Globallink Techops](/t5/user/viewprofilepage/user-id/783372)

This command cannot output data via json?


author: Marcelo L. Filho
body: User in the header:

\[{"key":"Accept","value":"application/json","description":""}\]


author: Marcelo L. Filho
body: [@tiendungitd](/t5/user/viewprofilepage/user-id/662901) my answer above...


Tags: crowd-administration
cannot find start_crowd.sh
Asked by Kerstin Drexler:

Hello,

I have now installed , or am trying to install crowd as the authentication server for JIRA, CONFLUENCE, BAMBOO, GIT, SVN and FISHEYE.

i have not come very far and i have the problem that the zip file i downloaded and extracted does not have the

start_crowd.sh which i have to start according to the cowd 101 howto.

my steps where as following:

I installed

-JIRA (own server / own DB)

-CONFLUENCE (own server / own DB)

-FISHEYE and SVN (own server)

now i am on to crowd:

downloaded:

atlassian-crowd-2.9.1-war.zip and atlassian-crowd-openid-2.9.1-war.zip because i was not 100% sure what i should use.

copied everything to my DEBIAN 8 server under /opt

unzipped everything, moved it to it\^s CROWD_INSTALL directory /opt/atlassian/crowd_2.9.1/

put the information into /opt/atlassian/crowd_2.9.1/WEB-INF/classes/crowd-init.properties

crowd.home=/home/crowd-home

* i am not sure if i will be needing the Database here ( seeing that i want every authentication (except for the crowd administrator) to come from an Active Directory - LDAP)

so i thought i would just start the crowd server and see what i can configure online.

But i am not able to find this start_crowd.sh anywhere not with locate, find or anything.

I have downloaded the source now 3 times and unzipped it.

am I missing out in something here ?

Hope someone can help me out here.

Regards

Kim


Answers:
author: Nic Brough -Adaptavist-
body: The WAR download you've got is for deploying Crowd into a container application - it won't run on its own. if you don't want to have to worry about containers, get the "standalone" download instead - it includes the container application (tomcat) and is preconfigured for it.


author: Kerstin Drexler
body: HI again.

Thank you so very much, that was exactly the problem !!

reinstalled and reconfigure and now every thing is working :smile: thank you again

regards

kim


Tags: crowd-administration
Does Product prevent the use of clear-text protocols that would allow for unencrypted transmission of Sensitive Information?
Asked by Anne Brock:

Question from customer for Crowd, BitBucket, HipChat and Bamboo ..

Does Product prevent the use of clear-text protocols that would allow for unencrypted transmission of Sensitive Information?


Answers:
author: Mark de Bont
body: You can configure the application link to use HTTPS/SSL


Tags: bamboo

bitbucket-administration

hipchat
5 user free license
Asked by Ratish Mohan:

I found that 5 user on cloud licenses are free to use now but when I try to add applications to my account, it doesn't give option to add 5-user license product.

Also If i try to create new domain by adding 5 user licenses of various products in my cart, I get only JIRA configured. rest of the applications do not get configured or added to my account? So weird!!!


Answers:
author: Meck
body: Hi Ratish,

<br />

Is it for Confluence Cloud, right? A long time ago, I received this promo too. But it's only for Confluence Cloud. Any way you should contact Atlassian Support, they are more qualified to help you in this case.

Regards,  
Lameck.

comments: author: Matthew Vetter
body: I got it for JIRA and Service Desk + Confluence. The say Get Started for Free and Free up to 5 Users but beyond that its not clear if thats a trial or permanent.


author: Ratish Mohan
body: yes it is for all cloud licenses. When I saw the promo, I went to buy section and saw various products with 5 user licenses marked as free. I added all of them to cart and went on with the site setup. But on completion didn't get any of them added to my account! ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")


author: Matthew Vetter
body: I didn't have any trouble though when I signed up, it added Confluence and Service Desk for me. Other addons like JIRA Core and Capture for JIRA or Questions for Confluence show as $10/month and Free Trial.

What I am uncertain on is the free plan. Is it truly free? It shows my support expires in 6 days, but then says I owe nothing. There is also a billing period of July 13th to August 13th and for my billing estimate says $0 because I am free. So it has me a little confused. Cuz I am thinking the support may be limited and may require payment, but the product doesn't?

Under my Atlassian it also shows my Bitbucket product is an Evaluation, but its for a month period for the support contract.

<https://my.atlassian.com/products/index>

comments: author: Grover Jackson
body: Is this still the case? Less than 5 users is free for cloud?


Tags: account

administration
Not able to connect to Crowd 2.9.1 after restore of Data from 2.7.2
Asked by Vincent Thoul?:

After having followed <https://confluence.atlassian.com/display/CROWD/Migrating+Crowd+Between+Servers>, and also <https://confluence.atlassian.com/crowdkb/restoring-passwords-to-recover-admin-user-rights-283642653.html>, I am not able to connect to Crowd.

I am systematically redirected to the Crowd Login page without error on browser side, nor on Server side.

The only error occured during the restore ...

```
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'pluginUpgradeManager': Requested bean is currently in creation: Is there an unresolvable circular reference?
```

This error is already raise in <https://jira.atlassian.com/browse/CWD-4163> ... But there is no detail about the impact on Crowd.

I have also checked the crowd.properties as mentionned in [KB](https://confluence.atlassian.com/jirakb/cannot-connect-with-crowd-after-upgrade-restore-restart-696386947.html).

Any idea.

Thanks


Answers:
author: Marcin Kempa
body: Hi @Vincent Thoul?!

I believe that the error message that you are seeing in logs is not related to your problem.

Have you tried to clear cookies or maybe login in the chrome icognito mode?

Best regards,

Marcin Kempa

comments: author: Vincent Thoul?
body: I do not have yet cleared cookies, but when the problem occurred, I was with FF. And since I am investigating on the subject, I have installed Chrome (then no cookies) and encountered same issue.

I am currently starting to make same test with a 2.8.4.

V.


author: Vincent Thoul?
body: Same behavior with 2.8.4.

Is there a way to enable more logs

V.


author: Marcin Kempa
body: Here is documentation on how to change log levels in Crowd: <https://confluence.atlassian.com/display/CROWD/Logging+and+Profiling>

Maybe if you could paste here output from developers console / network we could tell more what's happening.

Best Regards,

Marcin Kempa
crowd licencing via MS active directory
Asked by 123123 123123:

Crowd Licences are build on user counts. How it works, when crowd is configured throw MS Active Directory or some LDAP server?

Thnx, Robo


Answers:
author: Bruno Vincent
body: Hi Robo,

When configuring Crowd to use Active Directory as its main directory, you will have to set a user filter so as to fetch only the users that you want to be seen by Crowd. So you might have thousands of users in AD but you can decide to get only 100 of them in Crowd and thus rely on a 100 users only license.

Please take a look at the following page for more details: <https://confluence.atlassian.com/display/CROWD/Restricting+LDAP+Scope+for+User+and+Group+Search>
problem in updating user details in crowd via database
Asked by Gsep Support:

Hello Team,

We know that updating user details via back end is not recommended. But we have a task to achieve this.

We would like to update the missing user details from crowd database. And to achieve this we are able to update the cwd_user table using query (UPDATE CWD_USER SET LAST_NAME='lastname' , FIRST_NAME='firstname' , EMAIL_ADDRESS='email@[email.com](http://email.com)' WHERE USER_NAME ='username':wink: from database. and this is working perfectly fine.

But when we update the user details via database the display name(refer crowd1 screenshot attached highlighted in red) shows the old values even though the table is updated with modified values.

How can we resolve this issue, please suggest.

Only issue is why it is not showing the updated values in under name.(please refer crowd1 screenshot)

refer the before and after updating the values in crowd.(attached screenshots)crowd1.pngbefore_update.pngafter_update.png  
[](https://community.atlassian.com/t5/Crowd-questions/problem-in-updating-user-details-in-crowd-via-database/qaq-p/261462?attachment-id=10426){#link_1159901ff6c3e7}  
[](/tnckb94959/attachments/tnckb94959/crowd-questions/1175/1/before_update.png){#display_1159901ff6c3e7_0}  
[](https://community.atlassian.com/t5/Crowd-questions/problem-in-updating-user-details-in-crowd-via-database/qaq-p/261462?attachment-id=10427){#link_1159901ff6c3e7_0}  
[](/tnckb94959/attachments/tnckb94959/crowd-questions/1175/2/crowd1.png){#display_1159901ff6c3e7_2}  
[](https://community.atlassian.com/t5/Crowd-questions/problem-in-updating-user-details-in-crowd-via-database/qaq-p/261462?attachment-id=10428){#link_1159901ff6c3e7_1}  
[](/tnckb94959/attachments/tnckb94959/crowd-questions/1175/3/after_update.png){#display_1159901ff6c3e7_4}


Answers:
author: Bruno Vincent
body: Hi @Gsep Support,

I think this has something to do with the attributes' lower values or the timestamp. This worked for me on HSQLDB database:

```
UPDATE CWD_USER SET UPDATED_DATE=CURRENT_TIMESTAMP, LAST_NAME='Bar' , LOWER_LAST_NAME='bar', FIRST_NAME='Foo', LOWER_FIRST_NAME='foo', EMAIL_ADDRESS='foo@bar.com', LOWER_EMAIL_ADDRESS='foo@bar.com', DISPLAY_NAME='Foo Bar', LOWER_DISPLAY_NAME='foo bar' WHERE USER_NAME ='myuser';
```

Still, you should definitely use Crowd REST User Resource instead of direct updates to the database: <https://developer.atlassian.com/display/CROWDDEV/Crowd+REST+Resources#CrowdRESTResources-UserResource>

comments: author: Nic Brough -Adaptavist-
body: I also notice no mention of Crowd being offline while you break the database with SQL. You need to have it shut down if you're going to hack the database (and be very careful, and have backups)


author: Bruno Vincent
body: +1 @Nic Brough \[Adaptavist\]

You're right, I actually did it while Crowd was offline.


Tags: crowd-administration
Can anyone tell me the users supported by Crowd SSO product
Asked by Sachin Garg:

Hi,

We are trying to find out solution for Authorization/Authentication framework who can support millions of user.

Just curious about the Crowd that how much load it can handle.


Answers:
author: Bruno Vincent
body: Hi Sachin,

A long long time ago (2008), Atlassian did some load-testing on Crowd (1 million users): <http://blogs.atlassian.com/2008/03/hammering_crowd/>
Crowd setup still accessable after successful setup
Asked by Eric Shoaf:

After completing the setup for Crowd, the setup page is still accessible when accessing the URL, <http://site.com:8095.> I need to put a blank page there, since it appears that all of the application access it through <http://site.com:8095/crowd/....> Is this possible? Maybe something as simple as dropping in an empty index.html page?

Thank you.


Answers:
author: Bruno Vincent
body: Hi Eric,

This question has already been answered here: <https://answers.atlassian.com/questions/33145224>


author: Eric Shoaf
body: Version 2.9.1 (Windows). This is after the initial start of the Crowd/Tomcat using the startup batch file, then, from my workstation (not the server) connect to the <http://ip:8095/> and click that Setup button. I went through the entire setup, database, users, etc, and have already created applications and have JIRA and Confluence using Crowd, but, this screen still exists and I can't have it visible or accessible. Anyone tinkering around could click Setup and reconfigure everything.

Other web based app's that I have installed in the past had a "setup" folder that was either deleted on successful configuration or the permissions were set so it no longer was accessible, is it possible the Setup on the server side missed a step in the process?

Crowd_Setup.PNG

Thanks.

[](https://community.atlassian.com/t5/Crowd-questions/Crowd-setup-still-accessable-after-successful-setup/qaq-p/25889?attachment-id=5306){#link_11634c5d5bbdc1}  
[](/tnckb94959/attachments/tnckb94959/crowd-questions/123/1/Crowd_Setup.PNG){#display_11634c5d5bbdc1_0}


author: Marcin Kempa
body: Hi @Eric Shoaf!

Could you provide some more details about your problem like a screenshot and a version of Crowd application?

Thanks!


Tags: crowd-administration
Get crowd session expire time with Java api
Asked by Acrow:

Hello,

I want to get user crowd session expire time in generic java application. I use crowd java api. And I can not find proper function. I want to get crowd session expire time or session start time.

Thank you.


Answers:
author: Acrow
body: Hi @Marcin Kempa,

I am developing web application and i want to authorize user from crowd. In Crowd, i recorded my application as a generic application.

Yes, you are right, my question mentions crowd java api.

I want to get user token expire time with crowd java api, but i can not find proper function or library.


author: Marcin Kempa
body: Hi @Acrow!

Are you trying to build a custom plugin for Crowd, therefore you would like to use Crowd Java API, or are you trying to get session expire time via Crowd REST API?

The question mentions crowd java api, however you marked this question as \`crowd-rest-java-client\`, so it is a little bit unclear for me what you are after (same for this ticket <https://jira.atlassian.com/browse/CWD-4734>).

Thanks!


Tags: crowd-integration
I am a Crowd administrator and I would like to enable a set of users to have a read-only view of all of the existing groups in Crowd
Asked by Maggie Stearns:

I am running Crowd 2.8.0. I would like to grant the ability for a set of users to be able to see the contents of all groups. I don't want to give them admin permissions in Crowd.

I tried adding a group to the Crowd application, but the only choices are for "System Administrator" and "Admin". If I set "Admin" the user can only see their own profile. I would like them to view all profiles read-only.

2016-05-27_15-15-12.png  
[](https://community.atlassian.com/t5/Crowd-questions/I-am-a-Crowd-administrator-and-I-would-like-to-enable-a-set-of/qaq-p/195200?attachment-id=8690){#link_1159908f9e5593}  
[](/tnckb94959/attachments/tnckb94959/crowd-questions/898/1/2016-05-27_15-15-12.png){#display_1159908f9e5593_0}


Answers:
author: Maggie Stearns
body: I have learned that there is no solution for this in Crowd just yet. It is something others have wished for here: <https://jira.atlassian.com/browse/CWD-3911>

We have however created a nice workaround by creating a Confluence wiki page that uses User List Macros to list the contents of groups for all of our applications.


Tags: crowd-administration
Ideal setup for crowd and two confluence's
Asked by Henrik Mikkelsen:

I'm in the process of setting up another Confluence (ConfB). I validate users through my crowd-installation. I have users that need access to both the existing Confluence (ConfA) and ConfB - and more importantly, I have users (new-users) which will only be allowed on ConfB. They shouldn't even be able to login to ConfA.

I'm thinking about two solutions.

1) Create New-Users directly in ConfB. The old-users can gain access through integration with Crowd and new-users will have no rights on ConfA as they are not even i Crowd.

2) rename the "confluence-users" group in ConfB to ConfBUsers and give this group the global "Can Use" Put all the new users in Crowd and give them the group ConfBUsers. The old-users that need access I can also give the ConfBUsers group.

Are there any other (and better) solutions? Which solution will be the solution that is most "mainstream"?


Answers:
author: Marcin Kempa
body: Hi @Henrik Mikkelsen

If I understand correctly, you have a Crowd instance where you host your users (in an internal directory) who can access ConfA. I believe that the simplest solution for you would be to:

* create another application in Crowd - ConfB (apart for the one you already have ConfA)
* create another internal directory in Crowd which will host new-users (users that can access only ConfB)
* assign newly created directory, which hosts only new-users, to ConfB
* assign old internal directory to ConfB - so users that can access ConfA can also access ConfB

Make sure that ConfA does not have directory with new-users assigned.

I assume that "old users" and "new-users" are completely different users. I believe it would be easier for you to maintain your users from one place, which is Crowd.

comments: author: Henrik Mikkelsen
body: Hi @Marcin Kempa

An even better idea :smile:.

Are there any known challenges in having multiple internal directories? I'm thinking about stretching this idea even further and have some of my user groups having their own internal directory.


author: Marcin Kempa
body: I am not aware of any know challenges. I assume you do not have any external user directory and you rely completely on Crowd?

Are you groups disjoint? I mean your users may only belong to one of those groups and not to two of them at the same time?


author: Henrik Mikkelsen
body: No and yes.

I do have external directories in two forms:

* My crowd adresses a couple of AD's where 75% of Old-Users are. (Delegated Authentication) The remaining Old-Users are in the default crowd Internal Directory.
* In JSD all my customers are only in JIRA - and *not* in Crowd. I did this as i did not have enough licenses for Crowd. But I'm moving towards Unlimited - so there is probably no reason for that anymore.

Yes - at the moment at least the user groups are disjoint.


Tags: crowd-administration
how can I make crowd import Confluence users when Confluence uses an embeded HSQLDB
Asked by Jesse Callejas:

I am trying to import Confluence''s users into CROWD but confluence's database is an embedded HSQLDB database. I added the hsqldb driver into crowd, but for some reason is complaining about the "name"

image2016-5-23 15:42:11.png

I took the HSQLDB data from this link:

<https://confluence.atlassian.com/conf55/confluence-administrator-s-guide/managing-confluence-data/database-configuration/embedded-hsqldb-database/connecting-to-hsqldb-using-dbvisualizer>

what am I doing wrong?

Any help for little that it might seem is greatly appreciated.

Thanks

Jesse

[](https://community.atlassian.com/t5/Crowd-questions/how-can-I-make-crowd-import-Confluence-users-when-Confluence/qaq-p/299442?attachment-id=4342){#link_115990ac780084}  
[](/tnckb94959/attachments/tnckb94959/crowd-questions/1330/1/image2016-5-23%2015%3A42%3A11.png){#display_115990ac780084_0}


Answers:
author: Nic Brough -Adaptavist-
body: I'm not sure why you're trying to use Confluence's database for Crowd.

The two systems should use separate databases. (They can be on the same server and use the same user to connect, but the databases need to be separate)

comments: author: Jesse Callejas
body: Nic thanks for your answer I just rewrote the question, to make it more clear.

Thanks


author: Nic Brough -Adaptavist-
body: Yes, that makes perfect sense now, thank you! Makes my answer mostly irrelevant too, but we can try.

The "name" mention in the error message suggests that it's picking up a property name instead of a value there. Could you show us how you have configured the connection?


Tags: crowd-administration
Pie Chart in a dashboard is not displaying for Shared people
Asked by Johnson, Jeff (RIS-OKC):

This Dashboard is shared out to a group and they can see the dashboard.  

The Pie charts on the dashboard do not display for the group. The filter used in the Pie Charts is shared to the people attempting to view the information.


Answers:
author: Bhanu
body: Hi Jeff

Welcome to the amazing Atlassian Community!

It used to be a known issue that if the filter used in the pie chart is shared with editors, the users who are overlapped as both editors and viewers will not be able to access the filter.

Try removing the editors and confirm if this is indeed the problem.

Hope this will help you with this issue.


Tags: jira-service-desk-data-center

jira-service-management

jira-service-management-data-center
Get a value from custom_field by ObjectId
Asked by Marcus Santos:

Hello everyone,

I'm trying to retrieve the value of a custom field via the REST API, but the API always returns the following information:  

"customfield_10922": \[  
{  
"workspaceId": "field-workspace-id-hash",  
"id": "field-id-hash",  
"objectId": "field-id"  
}  
\]  

I would like to get the actual value for this field, but I can't seem to do so using the Jira REST API. Can anyone help me with this?


Answers:
author: Marcus Santos
body: Hello everyone,

I was able to get the custom_field value by adding the following parameter to the request:  

```
"expand": "names,customfield_10922.cmdb.label"
```

The API response returned the following information:  

"objectAttributeValues": \[  
{  
"value": "Todos",  
"displayValue": "Todos",  
"searchValue": "Todos"  
}  
\]  

I leave this information here in case anyone is experiencing the same problem.  


Tags: cloud

issue-view

jira-service-management

jira-service-management-cloud

object

rest-api