Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,337
Community Members
 
Community Events
165
Community Groups

Can't add user to restriction

I've faced strange behaviour of add user to restrictions dialog.

Source for drop-down user picker list is this url:

https://confluenceurl/rest/prototype/1/search/user-or-group.json?max-results=6&query=TERM&_=1653574329076

request to this url with username in term returns not empty result (as user found) but it contains wrong userkey value - it can't be found on database

On other hand request to https://confluenceurl/rest/api/user?username=TERM returns corrent user object with correct userkey that could be found in DB.

So, somewhere in system (bot in db) there is wrong key to user mapping and first endpoint returns this value.

Only one user seems to have this problem. I've tryed to remove it from users (it's AD synchronized) and delete unsincronized user after - but it didn't helped. 

 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Confluence: Where work and wellness meet

Feeling overwhelmed by the demands of work and life? With a 25% increase in the prevalence of anxiety and depression worldwide during the pandemic, for most of us, it’s a resounding yes . 🙋‍♀️ ...

733 views 5 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you