Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Accepted answer

Permanent link
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.
Don Yang selected this answer as the correct answer

0 votes

Comments

Thanks Ralph for the info.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019

Question asked: Jul 23 '20, 6:32 a.m.

Question was seen: 1,178 times

Last updated: Jul 29 '20, 8:44 p.m.

Confirmation Cancel Confirm