Query for user details using the Jira Align REST API fails for legacy alphanumeric UIDs

Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Attempting to do a user lookup (GET query) using the Jira Align REST API fails if the user’s UID is alphanumeric.

ℹ️ Alphanumeric UIDs were generated for Jira Align users created in early versions of Jira Align. For example:

(Auto-migrated image: description temporarily unavailable)

Environment

Jira Align

Diagnosis

  • Using a GET call against the Users endpoint for an alphanumeric ID

(Auto-migrated image: description temporarily unavailable)
  • Results in Response = 400 Bad Request and “The value ##### is not valid”

(Auto-migrated image: description temporarily unavailable)

Cause

This is expected behavior. The Jira Align API requires the ID for all elements, not the UID. This is an easy mixup given that the ID and UID values are the same for users created in more recent versions of Jira Align. For example:

(Auto-migrated image: description temporarily unavailable)

Solution

A user’s ID should be used when performing an API lookup for the user. For example:

(Auto-migrated image: description temporarily unavailable)

A user's ID can be obtained using one of the following methods:

  1. Modify the API call being used to query for all users ( /rest/align/api/2/users ) or for a specific user based on their last name ( /rest/align/api/2/users?filter=lastName eq '<name>' ). The resulting output will include the correct id information for the user(s)

  2. From Jira Align > Settings / Administration > People, use the More Actions button to Export the list of users and review the content of the exported information

    (Auto-migrated image: description temporarily unavailable)
  3. From Jira Align > Settings / Administration > People, open the User Details Panel and the browser address will show the ID value at end of the URL where MasterUserID=<ID>

    (Auto-migrated image: description temporarily unavailable)

Related Content:

References:

https://help.jiraalign.com/hc/en-us/articles/360045371954-Getting-started-with-the-REST-API-2-0

Updated on April 14, 2025

Still need help?

The Atlassian Community is here for you.