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 (60.5k33643) | 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.