How to get Bamboo users and groups when connecting to Jira/Crowd

Platform Notice: Data Center Only - This article only applies to Atlassian apps on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

When Bamboo is connected to Jira or Crowd as a user directory, it retrieves users, groups and group memberships through the Crowd REST API (/rest/usermanagement/1). This article lists the REST endpoints you can call to see the users, groups and memberships that Jira/Crowd returns to Bamboo.

Solution

These are the requests done by Bamboo to get users, membership and groups:

  • Get users

curl -H "Accept: application/xml" \ -H "Content-Type: application/xml" \ -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><null-search-restriction/>' \ -X POST '<JIRA_OR_CROWD_URL>/rest/usermanagement/1/search?entity-type=user&start-index=0&max-results=-1&expand=user' \ --user <APPLICATION>:<PASSWORD>
  • Get groups

curl -H "Accept: application/xml" \ -H "Content-Type: application/xml" \ -d '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><null-search-restriction/>' \ -X POST '<JIRA_OR_CROWD_URL>/rest/usermanagement/1/search?entity-type=group&start-index=0&max-results=-1&expand=group' \ --user <APPLICATION>:<PASSWORD>
  • Get membership

curl -H "Accept: application/xml" \ -X GET '<JIRA_OR_CROWD_URL>/rest/usermanagement/1/group/membership' \ --user <APPLICATION>:<PASSWORD>
  • Get events

curl -H "Accept: application/xml" \ -X GET '<JIRA_OR_CROWD_URL>/rest/usermanagement/1/event' \ --user <APPLICATION>:<PASSWORD>

⚠️ Please make sure you change the <JIRA_OR_CROWD_URL> to your JIRA or Crowd url, also <APPLICATION> and <PASSWORD>. You should use the same credentials used by Bamboo to get the same results.

Updated on October 28, 2026

Still need help?

The Atlassian Community is here for you.