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
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.
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.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG