Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,553,550
Community Members
 
Community Events
184
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

0 votes
Amith Mathur _Appfire_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Feb 05, 2019

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
AUG Leaders

Atlassian Community Events