Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Render HTML in Jira SDK

raffaele avenir
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 2, 2018

Is there a way to render content from the issue description field in other places or at the very least render HTML content?

Right now I have made a tab in the issue section displaying this string:

String test = <b> test </b>

but all this does is print out the text as is.

fe88f4ccc592bf75804ed3cf6cb69f026586bdae

Is there any way to do this?

1 answer

0 votes
Prakhar Srivastav {Appfire}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2018

@raffaele avenir

You need to explain more on what you are doing but I think htmlEncoding and Anti XSS protection to be in work here.

Follow this documentation for enabling/disabling xss protection from Atlassian Add-ons.

https://developer.atlassian.com/server/confluence/enabling-xss-protection-in-plugins/

Regards

Prakhar

Suggest an answer

Log in or Sign up to answer