I am developing a plugin for JIRA cloud, and have to get unique id for the user across installations.
JiraAuthenticationContext authContext = ComponentAccessor.getJiraAuthenticationContext();
ApplicationUser loggedInUser = authContext.getLoggedInUser();
loggerInUser.getId(); //10000
For me loggerInUser.getId() returns 10000. So can there be a case where it returns the same id(i.e 10000) for different user in a different team, different project ??
If yes, what is the best way to uniquely identify a user?