-
Bug
-
Resolution: Timed out
-
Low
-
2
-
Severity 3 - Minor
-
Issue Summary
the componentsLeadByUser function in JQL still uses user_name as argument.
This is fine for most cases, but will fail if the display_name is different than the user_name
Steps to Reproduce
- Have a user whose "user_name" is different than the "display_name". This can usually happen after an import from Server where the email address matches an existing AA ID
- Add that user as a component lead
- Perform a JQL:
component in componentsleadbyuser(that_user)
Expected Results
The issues with that component will show as results
Actual Results
The JQL will throw an error:
"Function 'componentsleadbyuser' can not generate a list of components for user 'display_name'; the user does not exist.
Workaround
Provide the AAID (Atlassian Account User Id) as an argument to componentsLeadByUser() function instead of a user name. In order to learn what the AAID of particular user is, one may try building a JQL query in Advanced Mode for an assignee field, i.e. assignee = start_typing_user_name. User picker would pop up and the query would be completed with the selected user AAID, e.g. asignee = abcde-12345. Copy that AAID into the original component in componentsLeadByUser(abcde-12345) query.
- mentioned in
-
Page Loading...