Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Jira yaml code snippet display issue

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:

You can see that at first we see the ticket displays the four line code snippets as 2 lines.

Screen Shot 2022-07-25 at 2.23.15 PM.png

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.

Screen Shot 2022-07-25 at 2.23.33 PM.png

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?


1 answer

1 accepted

0 votes
Answer accepted

Contacted the support team and they are aware of this issue:

The current workaround is to use {noformat}snippet{noformat} instead of 


Suggest an answer

Log in or Sign up to answer