Restrict Work Item Owned By Attribute, by Project Area or Team Area member?
Accepted answer
Comments
The searching for other users by using the wild card is what I don't want. Or it only searches for those 'members of the project area hierarchy'. We have multiple project areas and thus some one can add a user who is not a member of the current project area and then when they click on the link from the email notification they get an error. Of course, because they don't have access. I would like to try and avoid that error in the first place.
Hi Robert, There is no way to prevent searching with the wildcard currently. However, this would be an excellent candidate for an RFE. I recommend that you open up an Enhancement record on jazz.net for this feature if one does not exist.
What about using Role-based user list or Script Based Value Set as referenced here, Customizing attributes and here, Script Based?
Script based may work, but would need to be customized on your own. The role based user list will still allow the wildcard selection when you search for users.
"may work"???
It will work, but this is something that needs to be done on your own, since we don't provide this OOB.
What does "OOB" mean?
Out Of The Box.
Java Script will not work, you have no access to roles and user lists in Java. Explanation why and how to do something like this in Java can be found in https://rsjazz.wordpress.com/2013/06/26/attribute-customization-java-based-value-providers-conditions-and-validators/ it includes an example for value set providers that looks for roles in certain contexts.