Archived users in search results
Hi,
We have a user which has changed his userid multiple times, so now he has two accounts with his name which are archived and one active account.
Now when I search for the name of the user in the work item web interface (to set "owned by") I get all three users as result (including the archived), and I can not distinguish between them, which is really annoying.
My question is: How can I get rid of the archived user accounts in the search dialog?
We are in a big company with a huge naming directory and policies, and I can not simply rename the user for the archived accounts.
We have a user which has changed his userid multiple times, so now he has two accounts with his name which are archived and one active account.
Now when I search for the name of the user in the work item web interface (to set "owned by") I get all three users as result (including the archived), and I can not distinguish between them, which is really annoying.
My question is: How can I get rid of the archived user accounts in the search dialog?
We are in a big company with a huge naming directory and policies, and I can not simply rename the user for the archived accounts.
Accepted answer
Hello,
this is a defect:
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=296256
Fixed in 5.0
this is a defect:
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=296256
Fixed in 5.0
2 other answers
Hi Stefan,
As far as my knowledge goes, ideally the archived users will not be displayed in the "Owned by" option.
Please check once if the user account is unarchived by any one else. Check if the user account is listed in the Archived user's list or Active user's list.
Best option is to follow a re-naming convention if possible while archiving and prefix the user name with "archive" before archiving the user (which is ruled out from your end as i can see but worth giving it a try if permitted)
Regards,
Meena
Comments
Hi,
I've checked the accounts, two of them are archived and are only listed in the "archived user" panel, one is active. If you hover over them in the web UI the state is displayed appropiate.
I also would suspect the archived user not to be displayed in the "Owned by" option, thats why I opened this forum entry.
Regards, Stefan
Just because a user is archived, this does not mean the user is no longer the owner of the work item.
The same for who created a work item. The user is still the creator, even if he was archived.
This is also why users don't get deleted. You would end up with dangling references if the user was deleted.
If you want to get rid of archived users in attributes like owner or custom contributor type attributes, run a query for the user you archived and set the values to unassigned, or remove the user from the list (in case of contributor/user list attributes).
The same for who created a work item. The user is still the creator, even if he was archived.
This is also why users don't get deleted. You would end up with dangling references if the user was deleted.
If you want to get rid of archived users in attributes like owner or custom contributor type attributes, run a query for the user you archived and set the values to unassigned, or remove the user from the list (in case of contributor/user list attributes).
Comments
Hi Ralph,
Thats not the point, for existing data everything should be in place, even when a user gets archived.
But I create a new work item and enter the name of the user in the "owned by" dialog. I get three entries as result, and I have no chance to see which one is the current valid and which are the archived ones as they look all the same. Simply not usable.
I agree and Piotr points to a defect.