Hello, friends!
I have script
string groovyCreateUser = readFromTextFile("groovy/createUser_asAnotherUser.groovy");
string logPckg = "info.shestov.postfunction.employees.createuser";
string userAs = "Robot";
groovyCreateUser = replace(groovyCreateUser, "$logPckg$", logPckg);
groovyCreateUser = replace(groovyCreateUser, "$userAs$", userAs);
groovyCreateUser = replace(groovyCreateUser, "$jiraUserName$", emailemploye);
groovyCreateUser = replace(groovyCreateUser, "$jiraFullName$", nameinjira);
groovyCreateUser = replace(groovyCreateUser, "$jiraMail$", emailemploye);
string groovyResult = executeGroovyScript(groovyCreateUser);
this script create a new user, but the user have some problems - he can't enter the jira. When i'm trying to edit user - i resieve error
The Jira server could not be contacted. This may be a temporary glitch or the server may be down.
java.lang.IllegalStateException: There is no ID mapped for the user key 'JIRAUSER20400'
i'm trying to compare in database this error-user with normal user - no differences!
BUT after rebooting jira - the user is restored and works correctly.
What is the reason? How to fix this problem ?
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.