Skip to content

Getting plain text if I convert html table to JIRA markup rich text #2

@dchouksey89

Description

@dchouksey89

I am trying to convert HTML string but it is giving me plain text. I need to convert to Jira markup which i can push to the description field of JIRA issue.

HTML String
`
String htmlString="<table style="width:100%">\r\n" +
" FirstnameLastnameAge\r\n" +
" JillSmith50\r\n" +
" EveJackson94\r\n" +
" JohnDoe80\r\n" +
"";

`

Output:
FirstnameLastnameth>AgeJillSmith50EveJackson94JohnDoe80

Expeted outout: somthing like that for table format
||Heading 1||Heading 2|| |Col A1|Col A1| |Col A1| Col A1| |Col A1|  Col A1| |Col A1|Col A2|

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions