Hi all,
I am creating Jira tickets through an API. Descriptions of these tickets contain yaml code snippets and they are not being displayed properly.
I screen recorded my interaction:
https://drive.google.com/file/d/1B97yS8WH70PkM2gu7z5BmaA-Vk5u3qva/view?usp=sharing
You can see that at first we see the ticket displays the four line code snippets as 2 lines.
I then switched to the text-only mode, displaying the underlying formatting: it should be 4 lines. I then just made a tiny change, this time adding a space, to the text, and switched back to visual mode, then the snippet is displaying correctly.
I think that this is a Jira issue, since I removed that space again and then the visual display remains correct.
This formatting issue does not appear for all my code snippets. Maybe has something to be with text padding?
Is this a known issue? Any idea how to resolve this?
Contacted the support team and they are aware of this issue: https://jira.atlassian.com/browse/JRASERVER-43015
The current workaround is to use {noformat}snippet{noformat} instead of
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.