Script Runner - "Rename User ID" built-in script is missing

Apparently, the ability to merge users is available via the Script Runner plug in. We have it installed and have used it extensively. It is current (version 3.05). I go to the Built-In scripts page and cannot find the "Rename User ID" script anywhere. Why is this built in script not built in to my Script Runner plugin?

5 answers

0 vote

What user authentication system are you using?

From memory, if you've enabled any external directory, it can't rename them via the API.

Right now we have internal directory but I am testing out adding Active Directory and merging users.

But I still have the internal directory. If I disable the external directory, will I be able to rename? I don't understand that, because all the results from my Google search say to use Script Runner to merge internal directory users with the AD users

One step at a time - disable the external directory and re-test it. If you can edit names with only the internal directory, then that's where the problem is. If you can't, then it's something else.

I disabled the external directory and the Built-In "Rename User ID" script still isn't showing in the list.

Same problem here. No external directories.

I suppose, that this functionality was removed in Scriptrunner 3.x, as this is supported in JIRA 6.x out of the box.

 

But the rename is Jira doesnt do it well. It rename the new table app_user but don't rename the user around all other tables in Jira. Which mean if you have tools connecting to the database to look for the username (like cwd_user) it will not get the renamed user by Jira... I liked better the rename of groovy runner Martin Ubisoft

The script also supported merging users-- which Jira does not support out of the box.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you