How many chars I can put in the Description attribute on 2.0
We are moving from CQALM to RTC using Jazz importer for Bugzilla rcords.
Strating from RTC 2.0 we found than a few CQ records failed to be imported with error messages like:
Could not create work item from bug 10207
Exception saving work item
But they can be imported on RTC 1.0.1.1.
Check the XML file for import and we cant find anything wrong except that all failed records have an unusuall long Description attribute as the following example.
Test show thta if we cut the string shorter and the import will work, which makes us to believe that there is a text length limit for the Description attribute introduced in RTC 2.0.
Could we know what the lenth limit is, like how many bytes is allowed so we can at least use it in our migration script to bring in whatever is allowed instead of completely reject the record?
Strating from RTC 2.0 we found than a few CQ records failed to be imported with error messages like:
Could not create work item from bug 10207
Exception saving work item
But they can be imported on RTC 1.0.1.1.
Check the XML file for import and we cant find anything wrong except that all failed records have an unusuall long Description attribute as the following example.
Test show thta if we cut the string shorter and the import will work, which makes us to believe that there is a text length limit for the Description attribute introduced in RTC 2.0.
Could we know what the lenth limit is, like how many bytes is allowed so we can at least use it in our migration script to bring in whatever is allowed instead of completely reject the record?
5 answers
Ideally, I think the importer should just cut off the part of description exceeding the limit rather than failed and reject the record completely.
But for now, I'd like to find out the exact number of chars this attribute allow so I can use it in my script to pass only the allowed length of the string to this attribute.
Please help.
But for now, I'd like to find out the exact number of chars this attribute allow so I can use it in my script to pass only the allowed length of the string to this attribute.
Please help.
lngooiwrote:
The work item description field can hold 32768 characters.
Thanks,
I created a work item for this:
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=94742
In the work item editor, very long descriptions are truncated and the
entire description is automatically saved as an attachment. This might be
a solution for the importer as well.
--
Regards,
Patrick
Jazz Work Item Team