Forums

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

Jira Rest API not able to search for users after first 100 even using startAt 100

ChristopherChilds
Contributor
October 2, 2025

This is strange. 

We have only noticed this since upgrading to Jira 10.3.11

It is an API we do not user regularly, however, we are not able to search for users beyond the first 100 available users. 

for example

If I user the following:
/rest/api/latest/user/search?username=.&startAt=0&maxResults=100

I will get 100 results. However, if I were to increase the startAt to 99 for example I get a single result where the user is equal to the last user in the first call (the 100th user)

I have tested this against issue search and I do not get this problem. It seem that the response is different for Issues as they are paginated. 

 

 

2 answers

1 accepted

1 vote
Answer accepted
Sunny Ape
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.
October 2, 2025

Hello @ChristopherChilds 

What you have encountered is a well known issue with that REST API endpoint that happened with the release of Jira DC v10

Refer to JRASERVER-78660

ChristopherChilds
Contributor
October 2, 2025

Great thanks for the link. I did search but I was not searching correctly. 

0 votes
David Nickell
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.
October 2, 2025

This has turned out to be more interesting than I thought.  I want to go a little further, but here has what I've realized so far.

There are "User" endpoints and "UserSearch" endpoints.   Your variation seems to be the Search (single "user" in the path) which would seem to be Jira oriented based on the endpoints

I have tested the Users variation and it works exactly as you expect  (users plural in the path).  It seems to be more system/instance .. not Jira App specific

Both User and UserSearch say they return an array of users and both support the statrAt and maxResults parameters.   I may update your question once I confirm when/why/where on User "get" is appropriate versus trhe other.

2025-10-02_05-27-53-0000.png

 

I am going to work little more-- and I am surprised I never noticed.  The screenshot is from an internal tool... if you go to the atlassian documentation, both endpoints are there right next to each other

thanks

Sunny Ape
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.
October 2, 2025

Hello @David Nickell 

The OP's question is about Jira DATA CENTER's V2 REST API endpoint... but you are showing and talking about endpoints from Jira CLOUD's V3 REST API, which is a totally different thing in a totally different product.

David Nickell
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.
October 2, 2025

I totally appreciate the information.  Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
10.3.11
TAGS
AUG Leaders

Atlassian Community Events