Can I add a code block to a Work Item description ?
Is there a way to add a code block to a Work Item description (like in stack overflow questions for example) ? This can be very useful to explicit a feature or to explain how to reproduce a bug.
One answer
If the code fragment is small, I tend to include it in the work item description and use Courier fixed font for that text. However, descriptions are limited to 65535 bytes. So if the code fragment is too long to include, I just add it as an attachment and then add a link to that attachment in the description.
Comments
Thanks for your answer. Using the Courier fixed font could do the job. However I cannot find how to change the font. I can only toggle to italic and bold. I am using EWM 7.0.2. Does font change is available in a more recent version ?
I have asked my administrator to enable the rich text presentation but he refused because it is not compatible with the Eclipse Client. I will have to use attachments for the code examples.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 20 '23, 6:58 a.m.What does the question have to do with this context? What is the purpose of this question? What is the use case? What is the business value?
There are APIs available that allow to update a work item description and other attributes. See https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding for available APIs