Multiple comments synchronization using connector framework
I am using connector framework for synchronizing comment in rtc workitem.
The problem arises when there is long comment which can not fit in workitem as a single comment. Currently i break it in smaller chunks of comment and synchronize one by one. Similar problem is for description, if length exceeds greater than allowed limit, i break it and again synchronize as extra comment. I want to know if there is a way to save a list/array of comments using connector framework so that i can synchronize all comment in one call. (Similar thing is provided by workitem -> IComments where i can append multiple comment and save once.) |
2 answers
When comments are transmitted back and forth between the RTC server and an external system, they are encoded in a format that allows for multiple comments (implemented by the com.ibm.team.interop.service.managers.workitem.SimpleNoteEntry class). So you should be able to generate an incoming sync "packet" that contains a comments property encoding multiple comments. The CQ synchronizer does this.
|
I am using connector framework for synchronizing comment in rtc workitem. sounds like you need a valueTransformer, which would let you take multiple properties and combine them before passing them off to the InteropWorkitemManager handler. the manager expects ALL comments to be in ONE stream of data. the Manager then compares ONE note at a time to look for note presence or absence (they cannot be updated or changed). 3.01 added support for date/timestamp in notes to allow you to keep them in date time order. Sam |
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.