Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Does the Crowd REST Client allow renaming users?

Graham Bakay
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.
July 28, 2015

I'm guessing no, which is really annoying.

def user= new UserTemplateWithAttributes(crowdClient.getUser('gbakay'))
user.name= 'graham'
crowdClient.updateUser(user)

results in:

Caught: com.atlassian.crowd.exception.UserNotFoundException: User <graham> does not exist

Note, the User object coming back from Crowd has the externalId property field on it, but apparently Crowd still matches based on name.

Anyone know any tricks?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
Caspar Krieger
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 4, 2015

This will be available in Crowd 2.8.4 and later: https://jira.atlassian.com/browse/CWD-3388

0 votes
Graham Bakay
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.
July 30, 2015
TAGS
AUG Leaders

Atlassian Community Events