It's all about the answers!

Ask a question

Retrieve WI state, resolution and custom attributes values


Hollis Chui (2177) | asked Apr 23 '12, 2:03 p.m.
I am currently only able to retrieve the values for these attributes if there is an existing WI in the project area using "workItemClient.findWorkItemById(workItemID, IWorkItem.FULL_PROFILE, monitor);".

Is there a way to retrieve the values for these attributes from an empty (ie. no WIs) project area?

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Apr 25 '12, 6:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I would try to either access the process specification or try to use


IAttribute custom = workItemClient.findAttribute(fProjectArea,
"SomeID", null);

custom.getAttributeType()

Your answer


Register or 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.