We got an error in an Automation for Jira rule:
user not found: JIRAUSER15003 (customfield_10200)
The rule is manually triggered and clones the issue to a different Jira project.
The customfield_10200 get the content from the original issue (copy from issue) and some smart values (e.g. {{issue.reporter}})
While working for the very most users the rule fails if one user is in customfield_10200. Please note that the rule fails, if this user is inside customfield_10200 as well as if he is the reporter.
We found that for other users the following smart values all give the username (first part of the e-mail address)
But for the user causing the error we found
In the Jira user database the id of this user is not 15003 but 15103.
We import the userdata from our LDAP.
How could it happen that this user has a different account id and key?
We have found the problem with help from Atlassian support. Thanks!
That users have a different key than the username is normal in an up to date Jira system.
After GDPR came into effect, all users in Jira are created using the format of JIRAUSER##### and then immediately renamed to the actual username indicated when creating the user.
From this, it is expected the username would be different than the user key, especially if this user has been recently created or created after a recent Jira upgrade.
The problem now was that we used the smart value initiator.key for the reporter and that the user that used this rule most times also had a different username and key.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.