Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get duplicated users mapping

Returns duplicated users mapped to their directories with an indication if their accounts are active or not. Duplicated means that the user has an account in more than one directory and either more than one account is active or the only active account does not belong to the directory with the highest priority. The data returned by this endpoint is cached for 10 minutes and the cache is flushed when any User Directory is added, removed, enabled, disabled, or synchronized. A System Administrator can also flush the cache manually. Related JAC ticket: https://jira.atlassian.com/browse/JRASERVER-68797

GET/api/2/user/duplicated/list
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
flushboolean

if set to true forces cache flush, user must be sysadmin for this parameter to have an effect.

Responses
200

Returns all avatars which are visible for the currently logged in user.

idstring
ownerstring
selectedboolean
401

Returned if the current user is not authenticated.

403

Returned if user is not an admin.

404

Returned if the requested user is not found.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/user/duplicated/list' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "id": "1000",
  "owner": "fred",
  "selected": true
}

Was this page helpful?