Jira Cloud REST Api to fetch number of users having access to a product

Is there any REST API that can fetch the number of users that have access to a product like Jira software/JSM.
Or if there are any workarounds i can do to fetch them.
Right now what i can think of is fetching users → fetching users groups → fetch groups with product access like jira/JSM → compare them and generate value
But I feel like the above approach is too complicated for the purpose

@random1knd,

Have you seen the Application roles endpoint? With GET /rest/api/3/applicationrole, a Forge app can get attributes like these related to product licensing:

    "numberOfSeats": 10,
    "remainingSeats": 5,
    "userCount": 5,
    "userCountDescription": "5 developers",
    "hasUnlimitedSeats": false,
1 Like

HI thank you for your answer, but i can only see the availability for jira-software , jira-core and jira-servicedesk.
isn’t there something similar for confluence

1 Like

@random1knd,

No. I’m not aware of anything similar for Confluence Cloud.

Is there a way I can get groups and their specific product accesses, for example knowing that members of a certain group will be have access to certain products @ibuchanan

@YvesIvadHABIMANA it is generally considered poor forum etiquette to ask the same question in multiple threads and to resurrect old ones unless you have a really good reason.

1 Like

Noted @rcsr

1 Like

@YvesIvadHABIMANA,

I’m not aware that configuration information is available in any APIs. I recommend logging a feature request so you, and others who might stumble upon this thread, would have something formal to track. Could you please open a “suggestion” (our term for feature request) issue yourself in our open Jira (JAC) in the ECO project. Once you have the issue key, please let us know here so other folks can watch, vote, and comment.