You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I've connected Opsgenie with Jira (using the Jira Service Management Cloud integration) so certain alerts in Opsgenie are reflected as an issue in Jira.
I'm including YAML code blocks in the alert description using the text formatting notation specified here, so the issue description is something like:
Some description of the alert here.
My code block:
I expect the issue description to be something like:
The problem is the language is not being properly highlighted in Jira. Although it understands the code block as such, it doesn't seem to detect the configured language (YAML) and highlights it as Java code:
Is there any other way of formatting code blocks via API?
tl;dr: I'm trying to format a YAML code block using Jira's markup language, but the code block is being presented as Java code. I'm using the API interface, not the browser. What's the proper way to do it?
Hi @Jorge Carpio ,
This is a case I think would benefit from being looked at closer in a Support Ticket, but can you confirm what API endpoint you're using so that we can do some testing on our end between languages?