Hi folks,
I'm making a Jira API client that posts issues from our monitoring services. I'm trying to (correctly) present forwarded data inside a {code} block, without said data breaking rendering in Jira.
My first thought was to simply replace { and } with backslash-escaped variants of themselves, but this causes the backslashes to present to the user.
I tried making a code-block whose contents were the literal string {code} in the Visual editor inside Jira, and saving the page caused two empty code-blocks to appear. My assumption is that Jira is not actually doing any escaping here, so it sees three {code} blocks and processes it as the start/end of a first block, then the start of a second one.
Is there a "correct" way to do this? Did I have the misfortune of uncovering a rendering bug in Jira's markup?
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.