Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,366
Community Members
 
Community Events
165
Community Groups

How to list users who are counted towards the Crowd License using Rest API

Requirement: I need to derive no of users who are counted towards license for Crowd.

 

Apps structure in crowd: 

Currently we have 2 applications defined in crowd namely App1 & App2.

Also we have 2 directories created as well, dir1 and dir2.

Both the directories are mapped to both the applications in the same order.

Now I have created two groups "grp1" & "grp2", one in each directory respectively and added some users in each group.

Now in "Who can authenticate" section of "app1", I have mapped "grp1" under 

"dir1" and under "dir2", "grp2" has been mapped.

The same goes for "app2" as well, in "who can authenticate" section for "app2", I have mapped grp1" under "dir1" and under "dir2", "grp2" has been mapped.

 

Now I need to fetch the no of users who are counted towards license from the above setup using rest API's.

Can anyone list out any Rest end point available in crowd for achieving this requirement or maybe can even point out the approach to be used using the existing crowd Rest Api's.

Any help would be appreciated.

1 answer

Hi @Mohd Abdul Aleem

One of the ways to retrieve the count, is running the database query against the Crowd Database. You can review this page, which has queries to list users who are counted towards the Crowd License. 

Thanks,
Amith Mathur 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Improving the Create Issue Experience in Jira Service Management Cloud

Hello everyone!  We are very excited to announce some much needed changes to the issue create experience in JSM (the blue "create" button) at the top of the screen.  We have just starte...

124 views 6 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you