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

Unable to get modified states of workitem programmatically after moving the work items from one project area to other

I have simple client side plugin where I will get a workitem object using the workitem Id provided by user then I will get all modified states of the workitem. using below code.

IAuditableHandle auditableHandle = (IAuditableHandle) workItem.getItemHandle();

List<IWorkItemHandle> handles = itemManager.fetchAllStateHandles( auditableHandle, null);

List<IWorkItem> workItems = new ArrayList<IWorkItem>();

workItems = itemManager.fetchCompleteStates(handles, null);

fetchCompleteStates() returning only one state after moving the workitem from one project area to other. However it is returning all states once I modify and save workitem after movement.

Below is the history of workitem

 Dinakar Sunita Vidyalakshmi  Jan 15, 2013 8:48 AM

Found In 

DEV    <Unassigned>

Project Area 

T24    Product-Core

Filed Against 

Business Intelligence/T24 Products/INSR - Insight Risk    Business Intelligence/T24 Products/INSR - Insight Risk

Planned For 

Release R13/R13 Q5 Milestone/201214    Release R14

Restricted Access 

T24    Product-Core

Please let me know if more information needed.

Thanks & Regards,

Pheneendra G.

0 votes


Be the first one to answer this question!

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
× 411
× 89

Question asked: Jan 21 '13, 5:58 a.m.

Question was seen: 4,228 times

Last updated: Jan 24 '13, 3:23 a.m.

Confirmation Cancel Confirm