-
Suggestion
-
Resolution: Won't Fix
-
None
-
None
NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
Currently there is no (easy) way for a remote client to discover a list of all user in a Jira installation. The best that you can do (if you are an admin user) is call getUsers(Group) where group is the jira-users group. It would be really handy if there were a service to get a list of all users in the system. With this information it would be possible for remote clients to provide user lookup facilities and mappings between user id's and real names.
However, I do understand that adding such a service opens the system up to abuse. It would be trivial to write a client that could harvest a list of valid email addresses from the system. Requiring the user to login before calling the service may help this a bit.
Here is the RPC service code:
public RemoteUser[] getAllUsers() { Collection usersCollection = UserUtils.getAllUsers(); RemoteUser[] users = new RemoteUser[usersCollection.size()]; int i = 0; for (Iterator iUsers = usersCollection.iterator(); iUsers.hasNext(); i++) { users[i] = new RemoteUser((User) iUsers.next()); } return users; }
- incorporates
-
JRASERVER-1549 Ability to rename a user
- Closed
- is duplicated by
-
JRASERVER-14880 how to get all user list from jira soap service without admin permission?
- Closed
- is incorporated by
-
JRASERVER-12951 Consider adding a SOAP service to get all groups
- Closed
-
JRASERVER-13297 SOAP Service Improvements - Especially with user management
- Closed
- relates to
-
JRACLOUD-8970 Consider adding a SOAP service to get all users
- Closed
-
JRASERVER-13004 Ensure that JIRA integrates well with Mylyn
- Closed