IResolution value list for a workitem
Who do I get the IResolution value list for a workitem through the Jazz API
using plain Java code? -- Sincerely, Ahmed Hadad |
2 answers
Who do I get the IResolution value list for a workitem through the Jazz If you have a workitem, then you can find the resolutions as follows: IWorkflowInfo workflowInfo= workItemClient.findWorkflowInfo(workitem, monitor); For all resolutions: Identifier<IResolution>[] resolutions= workflowInfo.getAllResolutionIds(); For all resolutions of a specific state: Identifier<IResolution>[] resolutions= workflowInfo.getStateResolutionIds(stateId); For all resolutions of a specific action: Identifier<IResolution>[] resolutions= workflowInfo.getResolutionIds(actionId); The name and icon of the resolution can then be accessed using String name= workflowInfo.getResolutionName(resolutionId); URL iconURL= workflowInfo.getResolutionIconName(resolutionId); ImageDescriptor imageDescriptor= WorkItemUI.getImageDescriptor(iconURL); HTH, Patrick Jazz Work Item Team |
Thanks a lot.
-- Sincerely, Ahmed Hadad "Patrick Streule" <patrick_streule> wrote in message news:g3svfl$84m$1@localhost.localdomain... Who do I get the IResolution value list for a workitem through the Jazz |
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.