youngmon/atlassian-qna huggingface dataset:
How to update services under PargerDuty app
Asked by anuj tyagi:

Is there any endpoint for parsing and updating services under pagerduty app?

<https://manage.statuspage.io/pages/>\<pager_id\>/pagerduty#tab-inactive-services-table

I've services under this page, part of Pagerduty app under apps.

I want to update these services from api. Since Pagerduty app is pulling all of the services from Pagerduty but I want to only retrieve a subset of it.   
Any suggestions how should I go with that?


Answers:
author: Jesse Klein
body: Hello Anuj,

This is Jesse from the Statuspage support team. Welcome to the community and thanks for the question.

We do not have an endpoint for updating and parsing the Pagerduty services lists. Everything that we use as a part of that app comes from the Pagerduty side and it is an all or nothing sort of integration. There is not a way to get a subset of the services, unfortunately. My apologies for the inconvenience.

I am curious what your use case is on why this would be needed. I can create a feature request if I had the context for this. Any additional information on this would be greatly appreciated.

Regards,  
Jesse
Crowd, Transfer one single user from a directory to another
Asked by Omry Hassan:

Hi

I found the way to transfer users from a directory to another in bulk.

However, I need to do this only for one user.

Is there any way to avoid to copy all the directory to another?

BR


Answers:
author: Bruno Vincent
body: Hi [@Omry Hassan](/t5/user/viewprofilepage/user-id/1588198)

As of today, Crowd does not have the ability to copy/move a specific user from one directory to another.

You might want to watch and vote for the following feature request: <https://jira.atlassian.com/browse/CWD-747>

comments: author: Omry Hassan
body: Hi,

Thank you for the explanation.

I definitely will.

BR
Instructions for migrating the Crowd internal HSQDLB database to SQL Server
Asked by Thomas Douglas:

Does anyone have any experience with migrating Crowd from it's internal database (HSQDLB) to a SQL Server instance? I would imagine there is an Atlassian document on it but I have not had any luck finding one.

Thanks,

Byron Douglas


Answers:
author: Bruno Vincent
body: Hi [@Thomas Douglas](/t5/user/viewprofilepage/user-id/852290)

Please follow these instructions: <https://confluence.atlassian.com/crowd/migrate-to-another-database-180290495.html>

(The procedure is the same for all databases, including HSQLDB)

comments: author: Thomas Douglas
body: Thanks


author: Mikael Sandberg
body: [Migrate to Another Database](https://confluence.atlassian.com/crowd/migrate-to-another-database-180290495.html) has the instructions to migrate the database.

comments: author: Thomas Douglas
body: Thanks for this information! The document seems to outline migrating to a new server and migrating in the process. In my case, I'd like to upgrade my existing server, without changing anything other than the data store. Is there a way to change it without uninstalling and reinstalling my Crowd instance? It would be preferable if so

Thanks


author: Mikael Sandberg
body: It's been a while since I played around with Crowd, but I don't think you can do the migration from within the tool, so after you done the XML backup you can follow these instructions to [Restart the setup wizard from scratch](https://confluence.atlassian.com/crowd/restarting-the-setup-wizard-from-scratch-131466209.html).


author: Bruno Vincent
body: [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) is right, restarting from a fresh crowd.cfg.xml is the way to go.

[@Thomas Douglas](/t5/user/viewprofilepage/user-id/852290) You might also want to read my answer to that very similar question: <https://community.atlassian.com/t5/Crowd-questions/how-can-I-point-existing-crowd-installation-to-new-database-had/qaq-p/785912>


author: Thomas Douglas
body: Thanks Mikael and Bruno, both of these links look like exactly what I need.


Tags: database
connecting crowd to mysql - why aren't all the tables being created?
Asked by Abby Embree:

I'm connecting my crowd instance to a mysql database and am getting some errors in the logs like:

```
2018-06-28 17:43:57,724 http-nio-8095-exec-7 ERROR [engine.jdbc.spi.SqlExceptionHelper] Table 'crowd.cwd_property' doesn't exist
2018-06-28 17:43:57,782 http-nio-8095-exec-7 ERROR [engine.jdbc.spi.SqlExceptionHelper] Table 'crowd.cwd_cluster_job' doesn't exist
```

when I look in mysql, those specific tables do appear to be missing:

```
aembree @ dev : ~ [ 18:00 ] >>> sudo mysql -B --execute 'use crowd; show tables;'
Tables_in_crowd
CWD_DATABASECHANGELOG
CWD_DATABASECHANGELOGLOCK
cwd_app_dir_default_groups
cwd_app_dir_group_mapping
cwd_app_dir_mapping
cwd_app_dir_operation
cwd_application
cwd_application_alias
cwd_audit_log_changeset
cwd_audit_log_entity
cwd_audit_log_entry
cwd_cluster_heartbeat
cwd_cluster_message
cwd_cluster_message_id
cwd_directory
cwd_directory_operation
cwd_expirable_user_token
cwd_granted_perm
cwd_group
cwd_group_attribute
cwd_membership
cwd_synchronisation_status
cwd_synchronisation_token
cwd_token
cwd_tombstone
cwd_user
cwd_user_attribute
cwd_user_credential_record
cwd_webhook
hibernate_unique_key
```

why were some tables created, but others weren't? I confirmed I have '`transaction-isolation = READ-COMMITTED' set and the database engine is innoDB by default.`  


Answers:
author: Andy Heinzer
body: Is this a new installation of Crowd? Or is this an upgrade? What version is this?

I would want to confirm that you are following this guide if using MySQL: <https://confluence.atlassian.com/crowd/mysql-4030924.html>

When the database is created, are you using the utf8 encoding and the utf8_bin collation?

You can detect the cause for this using the below SQL statements, replacing **\<DATABASE_NAME\>** in each:

Make sure to set MySQL to use the information_schema DB to make the queries below work. Use this command "Use information_schema" before and replace **\<DATABASE_NAME\>** with confluence database name you want to check.  

```
SELECT schema_name, default_character_set_name, default_collation_name FROM schemata WHERE schema_name = '<DATABASE_NAME>' AND (default_character_set_name <> 'utf8' OR default_collation_name <> 'utf8_bin');SELECT table_name, table_collation, engine FROM tables WHERE table_schema = '<DATABASE_NAME>' AND table_collation <> 'utf8_bin';SELECT table_name, column_name, character_set_name, collation_name FROM columns WHERE table_schema = '<DATABASE_NAME>' and data_type in ('varchar', 'text') and (character_set_name <> 'utf8' OR collation_name <> 'utf8_bin');
```

If any rows are returned in any of those three queries, then there is something in the database which is either not set to use utf8 encoding, or does not have the utf8_bin collation.

Also, it could be that the user account Crowd is setup to use might not have been granted all the rights to create the necessary tables/relations, but if that happens then we typically should see that in the logs when first started.

comments: author: Abby Embree
body: looks like I forgot the collation! thanks
crowd still pointing towards the old version 2.8.4,but the new version 2.9.1 was already in place
Asked by ramani_chandran:

can anyone please help me on this issue, i have crowd 2.9.1 running before the ssl certificate upgrade ,once after the import i restarted the crowd,then it started running with the old version 2.8.4. i have started crowd by going into the crowd-latest folder which is pointing to the latest version,later i came to know that the crowd-latest folder was pointing the crowd old version 2.8.4. now how can i start crowd with the latest version?


Answers:
author: Craig Castle-Mead
body: Sounds like you may just need to change the crowd-latest folder symlink to point to 2.9.1

Failing that, step through your setup (dns \> reverse proxy \> crowd config etc) and re-validate everything. I've found it can be very helpful doing this with another person. Talking through the setup is sometimes enough to realize a small config problem.

CCM

comments: author: ramani_chandran
body: Hi Craig,

Thanks for your reply, there was one proxy port and url missing in the server.xml after updating that it started working.

After that yesterday when i stopped and restarted for some other changes to take place,it was showing apache tomcat 404 error while loading the url in browser, but the application is up and running at the back end,Could you please suggest what might be the problem?
Crowd Installation on Windows 10 Pro x64
Asked by cliper:

Hi, I went through the Getting Started installation guide at <https://confluence.atlassian.com/crowd/installing-crowd-and-crowdid-191862.html> and I'm stuck with this:

```
C:\Crowd>start_crowd.bat

To run Crowd in the foreground, start the server with start_crowd.bat /fg

The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program
```

I have Java SE Development Kit 8 Update 172 (64-bit) no JRE.

My {CROWD_INSTALL} is at C:\\Crowd  
My Crowd Home is at C:\\Crowd_data  
My crowd-init.properties setting is crowd.home=c:/Crowd_data

I've also renamed the files to the 64bit files.

![temp.png](/t5/image/serverpage/image-id/25707iB8E9F870C66A9F1A/image-size/large?v=v2&px=999 "temp.png")

Here's my Environment variables looks like:

![temp.png](/t5/image/serverpage/image-id/25708iE2C6BBD2E52C6603/image-size/large?v=v2&px=999 "temp.png")

I tried everything from here, adding JRE_HOME, in Path variable that are suggested in the community forum and all still no luck.

and when I tried to start the bat file under step

4. Start Crowd and Complete the Setup Wizard {#toc-hId-1819217046}
------------------------------------------------------------------

it throws the error above.

Hope someone can shed some light.


Answers:
author: AhmadDanial
body: Hi, Neil.

With reference to a question that was asked before - [Crowd is not starting](https://community.atlassian.com/t5/Crowd-questions/Crowd-is-not-starting/qaq-p/701118), let us look at the answer provided by Ann Worley which refers to the requirement of Crowd:
> the JAVA_HOME variable has to point to a full JDK, we shouldn't be using JRE_HOME:
>
> It is not enough to have the JRE only. Please ensure that you have the full JDK. You can download the Java SE Development Kit (JDK) from the Oracle website.  
> Once the JDK is installed, you will need to set the JAVA_HOME environment variable, pointing to the root directory of the JDK. Some JDK installers set this automatically (check by typing 'echo %JAVA_HOME%' in a DOS prompt, or 'echo $JAVA_HOME' in a shell). If it is not set, please see [Setting JAVA_HOME.](https://confluence.atlassian.com/display/CROWD029/Setting+JAVA_HOME)

Can you please give this a try and let me know if it works for you?

comments: author: cliper
body: Hi [@AhmadDanial](/t5/user/viewprofilepage/user-id/781639), thank you. I've fixed the issue already by removing the /bin in the path.


author: AhmadDanial
body: Hi, Neil.

Excellent. Please let me know if you have any other concerns and I will be happy to help. Else, please accept the answer provided as the solution. Thanks.
Is it possible to integrate Crowd with Service-Now?
Asked by krkredde:

Is it possible to integrate Crowd with Service-Now?


Answers:
author: Mirek
body: I would say... There are no existing connectors but I think you can write your own and try to integrate both systems. More information you can get from this doc:

<https://confluence.atlassian.com/crowd/integrating-crowd-with-a-custom-application-192511.html>

<https://confluence.atlassian.com/crowd/supported-applications-and-directories-201544.html>

comments: author: Craig Castle-Mead
body: <https://community.atlassian.com/t5/Crowd-articles/The-Crowd-team-is-looking-for-feedback-on-Server-amp-Data-Center/ba-p/738688> mentions that the Crowd team have Crowd as a SAML provider on the roadmap. While I haven't seen anything in the changelog about where this is up to, but connecting ServiceNow (which talks SAML) to Crowd will be straightforward.

CCM


Tags: crowd-administration

crowd-development
Swapping license keys
Asked by Netzlink Informationstechnik:

Hello,

We have following scenario:

* Confluence server A: 50 licenses
* Confluence server B: 50 licenses

our sales team purchased an user upgrade for the license of server A (to 100 users). but the desired server to upgrade the user tier, was server B. is it possible to just swap the licenses between these servers to achieve that server B instead of server A gets the user upgrade by copy the licenses through the admin interface? Or do we have to contact the support to change that to the correct license?

Thanks for help.


Answers:
author: Mirek
body: Hmm.. I think you cannot simply swap license keys since all licenses are associated with a ServerID. Every instance have an unique ServerID.

<https://confluence.atlassian.com/confkb/what-is-the-confluence-server-id-151519275.html>

So if a wrong license was upgraded maybe someone this could be updated either on my.atlassian.com or on Confluence or someone can make a license switch but for that I think the only way is to contact Atlassian Sales Support

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

comments: author: Netzlink Informationstechnik
body: Ok. thank you for your help. We will contact the sales support.


Tags: confluence

confluence-server

licence

server
Is there a hardware limit for Crowd users?
Asked by Amir El Sayed:

When browsing for any technical limit of Crowd users I can't seem to find any restrictions. The maximum Data Center license refers to 20,000+ users, but is there a hardware or software capacity in internal Crowd users?

The biggest number I was able to find was someone managing around 100k users in Crowd.

Our customer wants to manage around 200k, is this possible without any issues?


Answers:
author: Craig Castle-Mead
body: Hey Amir,

Running 75k in ours without an issue and appears to be plenty of headroom for growth. Be interested to hear how it goes with 200k as that's where we're heading too.

CCM
crowd-integration-springsecurity: How to get source code
Asked by Carleen Dickerson:

I can't find the source code for crowd-integration-springsecurity 3.2.1 anywhere! Has Atlassian abandoned support of this product? Can someone tell me where to look? I'm using the maven repo <https://m2proxy.atlassian.com/repository/public>.


Answers:
author: Bruno Vincent
body: Hi [@Carleen Dickerson](/t5/user/viewprofilepage/user-id/589212)

Go to <https://my.atlassian.com> and download Crowd's source code (you will see the download link if you have a license for Crowd, any license will do).

![crowd integration spring source code.png](https://community.atlassian.com/t5/image/serverpage/image-id/25205i74A175C5FD42CB2F/image-size/large?v=v2&px=999 "crowd integration spring source code.png")

comments: author: Carleen Dickerson
body: Thank you. It says source is not available for my license though...


author: Bruno Vincent
body: Which one do you have? Even the starter edition should allow you to download the source code.


author: Carleen Dickerson
body: I have an old license for Jira. Do I need to sign up for Crowd specifically?


author: Bruno Vincent
body: Yes you do need a Crowd license. You can purchase a starter one for $10.


author: Carleen Dickerson
body: Oh wow... Ok, I'm using a decompiler, and for now that's enough. Thanks for your help!!


author: AnnWorley
body: I found the Crowd 3.2.1 source at <https://my.atlassian.com/download/source/crowd> and verified that crowd-integration-springsecurity is included in the directory: atlassian-crowd-3.2.1-source/atlassian-crowd/components/crowd-integration.

I hope this is the information you are looking for.


Tags: java
User Management tool
Asked by Vigneshwar:

Hi,

We have a requirement that we need to use single user management tool that integrated to all the following Dev-ops tools:  
Gitlab,Jenkins,Jira,Confluence,Jfrog,Sonar, XL release and XL deployment (At least majority of the tools)  
Tool expectation:  
Maintain Same user name credentials for all the tools ,  
Can Provide access and remove access to the user for the above tools.

Kindly Guide me on this.

Thanks \& regards  
Vigneshwar


Answers:
author: Sloan
body: LDAP!

Jira and Confluence are LDAP Compatible and I think the other applications as well.  
Also have a look at Crowd maybe to manage your users and directories: <https://www.atlassian.com/software/crowd>

There are a few ways to implement LDAP, not only Active Directory. OpenLDAP for example.

Cheers  
Niklas

comments: author: Vigneshwar
body: Thank You Mr. Niklas Becker for your suggestion.

Regards,

Vigneshwar


author: Craig Castle-Mead
body: SAML is another option, but I believe it's only supported in Jira/Conf with the Data Center versions and/or with third party add-ons.

CCM

comments: author: Vigneshwar
body: Thank You Mr. Craig Castle-Mead for valuable suggestion. But I want at least XL release and XL deploy integrate to the tool.

Regards,

Vigneshwar


Tags: atlassian-support
Upgrade from JIRA 7.3.4 and Crowd Version 2.7.2 to Current
Asked by Johnny Lam:

Hi All,

I've recently been tasked to upgrade our instance of JIRA and Crowd as I currently can't access the Crowd Portal due to the license being expired. I have then tried to enter a new key but it doesn't seem to like it. I believe the key is for a higher version.

My current environment consists of:

* Ubuntu Linux (64-bit)
* Atlassian JIRA (v7.3.4#73015-sha1:a262b34)
* Crowd Version: 2.7.2 (Build:#626 - 2014-05-13)
* Operating System Linux 3.13.0-66-generic
* OS Architecture amd64
* Application Server Apache Tomcat/7.0.52
* Servlet Version 3.0
* Java Version 1.8.0_60

I have tried reading the Crowd Upgrade documentation but can't seem to find the recommended upgrade path for the latest version (Server 3.2)

<https://confluence.atlassian.com/crowd/upgrading-crowd-22544441.html>

What I'd like to know is do I upgrade JIRA first or Crowd?

If I upgrade Jira or Crowd first would it break the other functionality of the other? (Eg. Can I upgrade one first and then next week upgrade the other without any downtime?)

If anyone can provide me with a general guide on this I'd really appreciate your help.

Cheers!


Answers:
author: Mirek
body: Typically an Crowd upgrade is pretty smooth. For every upgrade it is good to make a test upgrade on test environment. Thanks to that you do not need to worry much. You simply follow upgrade procedure and check how it does. That is my recommendation.

Overall for every upgrade you need to read all release notes for all version starting from 2.8. I do not remember any specific upgrade path. Upgrade directly to the latest version should be fine. If you are afraid you can make an upgrade to 3.x and then to 3.2 (or latest) but definitely if you are using 7.3.x JIRA and Crowd is working now then it will be working later (after upgrade to the latest version). I think there should be no problem with upgrading Crowd first and then doing JIRA a week later.

comments: author: Johnny Lam
body: Thanks Mirek,

I'll see if I can arrange for a backup and then have Crowd upgraded and see if it works.


author: AnnWorley
body: Hi there - Johnny, wanted to share this in case you did not find this doc with two upgrade methods described: [Upgrading Crowd](https://confluence.atlassian.com/crowd/upgrading-crowd-22544441.html)


Tags: jira-server

upgrade
How to add application in crowd via rest api
Asked by sarthak:

Hi All,

I want to add applications to crowd automatically rather using crowd UI. Does anyone has any idea if there is such REST endpoint which can create an app inn crowd and configure it.

Thanks in advance!

Thanks,

Sarthak


Answers:
author: Craig Castle-Mead
body: Hey Sarthak,

Based on the documentation at <https://developer.atlassian.com/server/crowd/crowd-rest-resources/> - it doesn't look like there is.

CCM


Tags: rest-api
Crowd with Azure Active Directory and Guest Users
Asked by Darryn Capes-Davis:

Hi,

I have Crowd running with Azure Active Directory. We have a small number of organisation accounts (our Exec team) and they can authenticate fine. However, the guests accounts (our members) can't login via Crowd.

A guest account can login fine to Office 365 groups so that is all fine. The guest users all appear in Office 365 Admin console and Azure AD.

In the Crowd application I use the Test authentication. If I use the Guest foreign user id (email address) it complains that the user is not know, which I understand is the case.

![Capture.PNG](/t5/image/serverpage/image-id/24749i9FC718065B3FEA92/image-size/large?v=v2&px=999 "Capture.PNG")

When I use the local user id, I don't get the 'does not exist' error but I still get 'Invalid Verification'.

![Capture.PNG](/t5/image/serverpage/image-id/24750i290B71D1F23050B3/image-size/large?v=v2&px=999 "Capture.PNG")

Is this meant to work? If I can get the local ID to work then I can manage that (I am updating an old Joomla Crowd plugin and will handle the foreign to local user id translation on the Joomla side. \[And yes, ODCC has a nifty script but as an NFP we are using zero cost solutions here\].

Thanks

Darryn


Answers:
author: Bruno Vincent
body: Hi [@Darryn Capes-Davis](/t5/user/viewprofilepage/user-id/1371698)

Disclaimer: I work for the vendor of the [ODCC](https://marketplace.atlassian.com/apps/1216544/office-365-directory-connector-for-crowd) plugin you mentioned in your post.

Crowd's native Azure AD connector relies upon the [ADAL4J](https://github.com/AzureAD/azure-activedirectory-library-for-java) library which - as of today - [does not support the authentication of external guest users](https://github.com/AzureAD/azure-activedirectory-library-for-java/issues/120) (i.e. not belonging to Azure AD tenants).

On the contrary, the ODCC plugin does not use ADAL4J and hence does support external guest users authentication (and you're right, in that case you can either use the userPrincipalName or the email address as the user's login name).

comments: author: Darryn Capes-Davis
body: Thanks [@Bruno Vincent](/t5/user/viewprofilepage/user-id/853568). I will get in contact with you regarding ODCC.
Import users from JIRA into Crowd: Missing most users, a lot of deactivated users
Asked by Friedhelm Hellerhoff:

Hello all,

I was trying to import our \~320 users from JIRA into Crowd.

I used .Atlassian Importer", made all the settings during the import steps (DB URL, user, pw, etc." and Crowd succeeded. Unfortunately, about \~100 of my users have been imported only!

In addition, only a few of those imported users were active (\~10), most of the users were deactivated.

I checked log files (did I get them all?) but could not find any reason why it.

Did anybody have same problems and could share some ideas?  

Thanks in advance for any help!

Environment:

Crowd V3.2.1, JIRA V7.0.1 on separate Windows 2012R2 machines, JIRA uses SQL Server DB, Crowd Postgres


Answers:
author: Neha Lokhande
body: Hi Friedhelm,

<br />

Are all these \~320 users in your JIRA internal directory?

If not, it is recommended that you migrate your JIRA users into an Internal directory first. See [Configuring the internal directory](https://confluence.atlassian.com/adminjiraserver071/configuring-the-internal-directory-802592349.html) and [Migrating users from one directory to another](https://confluence.atlassian.com/jirakb/migrating-users-from-one-directory-to-another-303661430.html)

Also, set the 'Password Encryption' to 'ATLASSIAN-SECURITY', otherwise the passwords will not be copied to Crowd.

<br />

If you do have your users' in the internal directory, then check the following logs for any errors around the time of import:

\<crowd-home\>/logs  
\<crowd-install\>/apache-tomcat/logs

If you're not able to locate any errors, let us know and we can open a ticket for you.

Thanks,

Neha

comments: author: Friedhelm Hellerhoff
body: Hello Neha,

thanks for your answer. Yes, you are right, not all users were in JIRA internal directory.

So we decided to use CSV import instead.

best regards, Friedhelm


Tags: jira