IBM Support

The OSLC CM REST API truncates multiline fields

Technote (troubleshooting)


When you use the OSLC CM REST API in IBM Rational ClearQuest, multiline fields in the REST client are truncated for default installations whenever multiline fields are greater than 2000 characters.


The maximum multiline field length is an adjustable value in OSLC and by default it allows 2000 characters.
If you leave this default value as-is, multiline fields that are greater than 2000 characters are truncated.

Resolving the problem

To resolve the issue:

  1. Open the following directory on the CM server:

    ClearQuest 8.0.0.x and 8.0.x:


    The <CQWebProfile> is the location of the WebSphere profile hosting the CQ Web application.
    For example, for a 32-bit machine, the ClearQuest installer creates the WebSphere profile here:
    C:\Program Files\IBM\RationalSDLC\ClearQuest\cqweb\cqwebprofile

    For ClearQuest 7.1.x on 32 bit Windows:

    C:\Program Files\IBM\RationalSDLC\common\CM\profiles\cmprofile\installedApps\

    For ClearQuest 7.1.x on 64 bit Windows:

    C:\Program Files (x86)\IBM\RationalSDLC\common\CM\profiles\cmprofile\installedApps\

  2. Open the file The file should contain text similar to following. The max.multiline.text.length is the one we will be editing.

  3. Change the line as follows.




  4. Restart the CM server.


  • You can use 0 if you don't want your data be truncated but don't know the maximum length of your multiline fields. The query will fetch the entire multiline text field and the buffers will not have any wasted space. Be careful about using 0:

Document information

More support for: Rational ClearQuest
CM Server

Software version: 7.1,,, 7.1.1,,,,,,,,,, 7.1.2,,,,,,,,,,,,, 8.0,,,,,,,,, 8.0.1,

Operating system(s): AIX, HP-UX, Linux, Solaris, Windows

Reference #: 1590934

Modified date: 20 August 2014