Cannot get ApplicationUser

Tatiana Shambereva April 13, 2017

Hello,
I logged in as the "test_admin" user in JIRA.
I tried to get ApplicationUser using UserUtil.getUserByKey. for the user "test_operator"
It returns null, however "test_admin" has permissions to get information about "test_operator".

I tried the same using rest api
/rest/api/2/user?username=test_operator
and I managed to get the information.

Why is UserUtil.getUserByKey returning null?
For the other users it works correctly, the problem occurs only with one user.

The User Directory has "Atlassian Crowd" type.

JIRA server - 6.1

Thanks in advance,
Tatiana.

1 answer

0 votes
Grigory Salnikov
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.
February 22, 2019

Hi @Tatiana Shambereva !

Have you managed to resolve the issue?

I've found the following information regarding this issue:

deprecated.jpg

Suggest an answer

Log in or Sign up to answer