I've just tried using the Script Runner built-in script to Rename a User ID, and it failed badly.
I previewed it, then ran it, and all looked fine, and the renamed user appeared in the user list. But...
and worst of all...
It looks like the index of user names became corrupted in some way.
Fortunately, running the script again to change the user id back to the original name solved all these problems.
Has anyone else used this built-in script successfully?
thanks,
Mark.
Hi Mark,
I'm not very familiar iwth 6.0 upwards, but I was able to find the following, it might help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your reponse.
We're running script runner 2.1.15 with Jira 6.0.8 (build 6109).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've just tried removing the user from all groups prior to running the rename script, but exactly the same thing happens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
I'm not very familiar iwth 6.0 upwards, but I was able to find the following, it might help
https://confluence.atlassian.com/display/JIRAKB/JIRA+Login+Fails+With+the+Message+-+User+exists+but+has+no+unique+key+mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I too am experiencing the same issue. Mark's mention of -
"Fortunately, running the script again to change the user id back to the original name solved all these problems."
- did fix the problem but still leaves me unable to change a username within JIRA. This was attempted on a local JIRA directory account. Has anyone found further information?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mark,
What version of Jira and Script runner are you using? We frequently have problems with the rename script not changing the group associations or the names in custom user picker fields. Can you maybe define the error page the user gets when trying to log in? Try removing the user from all its groups before doing the rename then readding them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reponse.
We're running script runner 2.1.15 with Jira 6.0.8 (build 6109).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.