Adding tables to descriptions #162
joergmerkle1973
started this conversation in
General
Replies: 1 comment 1 reply
-
Hi! In my experience, I query'd a work item with tables through the getWorkitem() method and made a template out of the material I have gotten. When I uploaded a work item like that it seemed to be working fine for me. I hope it works for you as well! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i would like to add tables to descriptions of work items.
I looked up in the Polarion repository browser in the workitem.xml how tables look like and added tables via html tags < table >, < tr > and < td > to the description text. After setting the description by 'workitem.setDescription' it ends up in workitem.xml with all tags replaced '<' to '& lt ;' and '>' to '& gt ;'.
Interestingly, tables are shown correctly but i wonder if this is the correct way to add tables or if there is any other API that i missed...
Beta Was this translation helpful? Give feedback.
All reactions