Good day!
I am trying to search if there is any possibility to convert the wiki text that JIRA gives us in a comment to HTML.
I mean:
Using scriptRunner, I can check the text that a comment gives us. This text give us a format similar to that:
as*dasdasd*
{color:#ff5630} asda{color}
{noformat}asdasd{noformat}
{color:#ff5630}asdadsasd{color}
What I want to get its the HTML format , not the wiki format.
In server, the method used to do that is similar to that:
String renderWikiMarkup(Map issue, String data) {
RendererManager rendererManager = ComponentAccessor.rendererManager
JiraRendererPlugin renderer = rendererManager.getRendererForType("atlassian-wiki-renderer");
String output = renderer.render(data, issue.getIssueRenderContext());
return output
} Is there any similar or any endpoint to do that in jira cloud?
Thanks!