You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/config.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ Currently the tool has a rather naive implementation for mapping certain constru
93
93
|---|---|
94
94
|MapTitle|Maps summary on the format [id] summary|
95
95
|MapTitleWithoutKey|Maps summary field without [id]|
96
-
|MapUser|Maps users based on email or name by lookup in the users.txt if specified.|
96
+
|MapUser|Maps users based on email or name by lookup in the users.txt if specified, this applies only for Jira Server. When using Jira Cloud mapping can be done email if email is allowed to be displayed on the user profile or by accountId|
97
97
|MapSprint|Maps a sprint by matching the Azure DevOps iteration tree|
98
98
|MapTags|Maps tags by replacing space with semi-colon|
99
99
|MapArray|Maps an array by replacing comma with semi-colon|
Logger.Log(LogLevel.Warning,$"Email for user '{username}' not found in Jira, using username '{username}' for mapping.");
336
-
returnusername;
335
+
Logger.Log(LogLevel.Warning,$"Email for user '{usernameOrAccountId}' not found in Jira, using usernameOrAccountId '{usernameOrAccountId}' for mapping.");
336
+
returnusernameOrAccountId;
337
337
}
338
338
email=user.Email;
339
-
_userEmailCache.Add(username,email);
339
+
_userEmailCache.Add(usernameOrAccountId,email);
340
340
returnemail;
341
341
}
342
342
catch(Exception)
343
343
{
344
-
Logger.Log(LogLevel.Warning,$"User '{username}' not found in Jira, using username '{username}' for mapping.");
345
-
returnusername;
344
+
Logger.Log(LogLevel.Warning,$"User with '{usernameOrAccountId}' not found in Jira, using usernameOrAccountId '{usernameOrAccountId}' for mapping. Using accountId instead");
0 commit comments