When trying to run the groovy builtin merge users script I now get an error.

This did work in 5.X but now after moving to 6.2.5 it doesn't. I am using Version: 2.1.17 of the plugin and here is the error.

groovy.lang.MissingMethodException: No signature of method: com.atlassian.jira.issue.search.CachingSearchRequestStore.removeFromCache() is applicable for argument types: (java.lang.Long)

Anyone run into this

1 answer

Are both users in the same directory? The script is not smart enough to deal with multiple directories or duplicate usernames that may exist in multiple directories. I generally run sql to see what the script is seeing.

I was already working on that. In the 5.X it did work that way. The user is in AD and the orher is in JIRA internal. I am going to remove the AD account, create another with the correct spelling on the internal. I'll let you know if that works and thanks for the help.

If you have access to the db, I'd have a look at things before making any changes. cwd_user is the table to look at. The Script Runner script expects user_name to be unique, even though duplication is perfectly legal in the Jira schema as long as users are in different directories. I've never known the rename/merge user script to work when users are in different directories, though.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,316 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot