Set a default user from a 'Role Based User List' value set instead of Unassigned
RTC 6.0.6 used
There is a contributor type of custom attribute using 'Role Based User List' value set. When creating a work item, the default value of this custom attribute will be Unassigned. The requirement is to set any user from the value set list instead of Unassigned. Is there any way to achieve that using Java or Javascript?
Thanks
Don
Accepted answer
A role based user list is a value set and not a default value provider. If you want to set a default (or calculated) value you must create a default (or calculated) value provider that returns the user ID. You can not access the value set as far as I can tell. Java or Java Script does not really matter.
You could create a custom value set in Java and use the same code in a Java default value provider, i don't think you can access the existing one.