Use JazzPlainJava call to modify fields other than Coments?
![]()
I use JazzPlainJava API call to write some ClearCase checkin data into the RTC Comments field of the work item they specify.
But they can't query and generate report to sort the data out of the Comments field. So we are think of writing the data into a custom field instead of Comments. I remeber there are limitations on updating the RTC fields using JazzPlainJava API call but don't remeber the details. So can I use it to write data into a custom field? If anyone has tried, could you post an example please? |
2 answers
![]() I use JazzPlainJava API call to write some ClearCase checkin data into It is possible to add data to custom fields using plain java, and I am not aware of any limitations here. You can use (pseudo-code): IWorkItemCommon workItemService= ... IAttribute attribute= workItemService.findAttribute(projectArea, "your custom attribute id", monitor); workItem.setValue(attribute, yourValue); -- Regards, Patrick RTC Work Item Component Lead |
![]() I use JazzPlainJava API call to write some ClearCase checkin data into It is possible to add data to custom fields using plain java, and I am not aware of any limitations here. You can use (pseudo-code): IWorkItemCommon workItemService= ... IAttribute attribute= workItemService.findAttribute(projectArea, "your custom attribute id", monitor); workItem.setValue(attribute, yourValue); -- Regards, Patrick RTC Work Item Component Lead Thanks, Patrick. |