Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira cloud API - how to get users of authorized site

Michailo Liquidus March 24, 2025

Hello 

I need to retrieve list of users of particular site. I'm using 3LO authorization. All endpoints from documentation returns users from all sites that I have in my organisation. 

I managed to do this for confluence - I used the following request 

GET /search/user?cql=type=user

I need to do the same for Jira. I appreciate all answers. 
Thanks
Mike

1 answer

0 votes
Vishal Biyani
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.
March 24, 2025

@Michailo Liquidus 

Have you tried using below API

https://your-instance.atlassian.net//rest/api/3/users

This gives a paginated response. So, if you have more than 1000 users, then you will have to make additional API calls

Michailo Liquidus March 24, 2025

this is not what I'm looking for - all users are returned. I need users of particular product

Vishal Biyani
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.
March 24, 2025

In the first sentence it was mentioned particular site so I thought you have multiple sites.

Can you elaborate with an example what particular product are your referring to?
is it like JSM, JIRA, confluence etc.?

Michailo Liquidus March 24, 2025 edited

I have one organization and within it I have:

- siteY:
    * jira
    * confluence

- siteX:
    * jira
    * confluence

I need endpoint which will return users of siteX jira.

Vishal Biyani
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.
March 24, 2025

To access siteY and siteX, do you navigate to below your URL to access

https://siteX.atlassian.net

https://siteY.atlassian.net

?

Michailo Liquidus March 24, 2025

yes

Vishal Biyani
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.
March 25, 2025

@Michailo Liquidus 

I could find endpoints that gets users in an organization. However, I couldn't find any endpoints that give site specific details.

 

 

Michailo Liquidus March 26, 2025

what am I supposed to do? I need to retrieve users (or number of users) that are counted for charging by atlassian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, loom, AI, meeting recording, community

[NEW] Record your meetings with Loom

Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.

Learn more
AUG Leaders

Atlassian Community Events