How to retrieve customized attributes from workitem by java
Because our team's busness logic, we added some customized attributes in RTC defect. Besides owner, priority, severity, created date, modified date, we add ODC_activity, ODC_qualifier, ODC_impact as new attributes for defect in RTC.
The question is, how can we retrieve them by Plain Java API. There is no getODCAttributes() method in API. Thanks a lot! It's very urgent. |
One answer
On 11/17/10 3:53 PM, liyuncdl wrote:
Because our team's busness logic, we added some customized attributes You can use: IAttribute attribute= workItemClient.findAttribute(projectArea, "your custom attribute id", monitor); Object value= workItem.getValue(attribute); -- Regards, Patrick RTC Work Item Component Lead |
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.