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

IWorkitem List Manipulation

 Hi,

I have two lists of IWorkitem or IWorkItemHandle (e.g. ArrayList<IWorkItemHandle>)
I would like to perform Java List operations, like removeAll
So if I have a:
- workitemListA {1234, 4133, 4555} (I write the IDs)
- workitemListB {5133, 4133, 4555}
After performing: 
workitemListA.removeAll(workitemListB) 
it will contain only {1234}.

Since all workitem handles are pointers, this won't work in any case.
So need to implement compare using UUID.

I can write such wrapper class. but maybe such service already exists in the API/SDK?

Thanks,
Moti

0 votes


Accepted answer

Permanent link
Moti,

as discussed I have not come across anything I remember that was public API. At least that I remember. There are probably utilities in the API, but they are most likely internal API.
Moti Wertheimer selected this answer as the correct answer

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
× 10,937

Question asked: May 13 '14, 9:07 a.m.

Question was seen: 4,149 times

Last updated: May 14 '14, 3:05 a.m.

Confirmation Cancel Confirm