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

Retrieving WorkItem

Hi,
What is the best way to retrieve WorkItem programmatically? Is it by using the IQueryClient interface by defining an expression?

Thank you.

0 votes



One answer

Permanent link
What is the best way to retrieve WorkItem programmatically? Is it by
using the IQueryClient interface by defining an expression?

It depends ;)

If you have a work item handle, you can use the ItemManager to fetch the
work item or alternatively
IAuditableClient#resolveAuditable

If you have a work item ID, you can use
IWorkItemClient#findWorkItemById

Otherwise, you have to query for the work items. For details, please see:
https://jazz.net/wiki/bin/view/Main/QueryDevGuide

--
Regards,
Patrick
Jazz Work Item Team

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

Question asked: Aug 25 '09, 7:09 a.m.

Question was seen: 6,112 times

Last updated: Aug 25 '09, 7:09 a.m.

Confirmation Cancel Confirm