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

How to set value for a custom attribute type workItemList using plain Java API

hi,
  I want to create a workItem using plain Java API with some custom attribute, however, when I set value for a attribute type workItemList, it give error indication "$Proxy20 incompatible with java.util.List", I really don't know what this type meaning for.
Could anybody tell me how to set value for the attribute of this type-workItemList.

BR,
Michael

1 vote



One answer

Permanent link
I know how to do, workItemList is the workItem list, using List<IWorkItem> wkItemlist = Arrays.asList(wkItem);
then this can be set to the attribute type workItemList.

0 votes

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
× 102

Question asked: Aug 20 '12, 9:31 p.m.

Question was seen: 6,467 times

Last updated: Aug 22 '12, 2:41 a.m.

Confirmation Cancel Confirm