Extended Rich Text through Server API
I'm trying to set the description of newly created work items through the server API. The description should contain rich text, such as bold text.
I'm using the method IWorkItem.setDescription(...) to do so, and this is essentially my code:
IWorkItem wi = ... ;
I get the following error message:
"The work item with the ID xxx cannot be saved because this client version cannot modify extended rich text content in the attributes '[Description]'. To modify an attribute that contains extended rich text use the web client.
This means that the Web UI uses different API to handle rich text?!
How can I accomplish this with the server API?
I'm using RTC 6.0.6, Liberty server
|
Accepted answer
One other answer
Ralph Schoon (63.3k●3●36●46)
| answered Dec 18 '18, 2:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I think, I have not played with that using the API, this is related to the new rich text content that can be enabled for RTC. It appears that the client API can not set this information. You will have to look how the Web UI does this. An alternative could be to use a normal text attribute for the automation and let the description to be used by users in the Web UI. |
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.