Unable to get modified states of workitem programmatically after moving the work items from one project area to other
Pheneenda gadipoodi (1●1●7●10)
| asked Jan 21 '13, 5:58 a.m.
edited Jan 24 '13, 3:10 a.m. by Ralph Schoon (63.5k●3●36●46) 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
Please let me know if more information needed. Thanks & Regards, Pheneendra G. |
Be the first one to answer this question!
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.