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

Retrieve WI state, resolution and custom attributes values

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?

0 votes



One answer

Permanent link
I would try to either access the process specification or try to use


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

custom.getAttributeType()

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,951

Question asked: Apr 23 '12, 2:03 p.m.

Question was seen: 5,322 times

Last updated: Apr 23 '12, 2:03 p.m.

Confirmation Cancel Confirm