IWorkitem List Manipulation
Moti Wertheimer (189●1●36●28)
| asked May 13 '14, 9:07 a.m.
JAZZ DEVELOPER edited May 13 '14, 3:46 p.m.
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
|
Accepted answer
Ralph Schoon (63.3k●3●36●46)
| answered May 14 '14, 3:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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
|
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.