Forums

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

Render (custom) fields as code

Jeroen Roosen
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!
May 20, 2019

We have a few use cases in which certain issue fields always contain snippets of code / yaml / other formatted information. The default renderer strips white spaces and the wiki renderer tries to apply formatting we definitely did not intend in this case, so both are unsuitable for our needs.

Currently we use the wiki renderer and A4J to wrap the field in {code} tags to make it readable, but it also means that bits of other automation need to strip the {code} tags before they can use the contents of those fields.

Is there a renderer or other trick we could use to render those fields as code (no need for fancy features, just monospaced text is fine) without having to affect the content of these fields?

0 answers

Suggest an answer

Log in or Sign up to answer