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 |