Rename/Merge From A User ID to a Destination User ID using Groovy Script Issue

DeepakBhatia May 7, 2013

assert gvs.size() == 1 | | | | 2 false [[lastName:Goyal, lowerEmailAddress:abc@nectechnologies.in, updatedDate:2013-05-08 15:47:40.0, directoryId:3, emailAddress:abc@nectechnologies.in, credential:{SHA}ybNZlRwJxdBN5PhSdGZxqystCZQ=, id:11310, lowerFirstName:abc, userName:abc, active:1, lowerLastName:goyal, lowerDisplayName:abc, lowerUserName:abc, firstName:abc, displayName:abc, createdDate:2011-09-19 13:29:17.0], [lastName:Goyal, lowerEmailAddress:abc@nechclst.in, updatedDate:2012-01-18 11:33:45.0, directoryId:10000, emailAddress:abc@nechclst.in, credential:nopass, id:13132, lowerFirstName:abc, userName:abc, active:1, lowerLastName:goyal, lowerDisplayName:abc, lowerUserName:abc, firstName:abc, displayName:abc, createdDate:2012-01-18 11:33:45.0]]

2 answers

1 accepted

0 votes
Answer accepted
DeepakBhatia May 7, 2013

Then how would be rename a user id to a different user id....

0 votes
JamieA
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.
May 7, 2013

Probably won't work if the user already exists in multiple directories.

I would hang on until jira 6, I will remove this script in an upcoming release.

Suggest an answer

Log in or Sign up to answer