It's all about the answers!

Ask a question

What IItemHandle classes possible in IWorkItem.getValue(IAttribute)


Marko Tomljenovic (3163994) | asked Jan 21 '16, 10:42 a.m.
Hi,
can anybody send me an overview of which IItemHandle subclasses can be encountered if IWorkItem.getValue(IAttribute) is called.

I need this for a utility that provides a string representation for any encountered work item attribute.

There is overall a huge amount of subclasses but I guess not all of them can be returned by the mentioned method.

Thank you

Accepted answer


permanent link
Ralph Schoon (61.8k33643) | answered Jan 21 '16, 12:45 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
See the code attached to A RTC WorkItem Command Line Version 3.0 see the ExportWorkItemCommand class.
Marko Tomljenovic selected this answer as the correct answer

One other answer



permanent link
sam detweiler (12.5k6189201) | answered Jan 21 '16, 4:54 p.m.
see my workitem dumper code here, the accepted answer
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes

static void printAttributes(IWorkItem workItem,

Your answer


Register or to post your answer.