Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Line breaks in description using Alert API

Is it possible to add line breaks to the description field using the Alert API?  I've tried using /n and </br> but those don't seem to work.

Thanks,
Bill

2 answers

1 accepted

2 votes
Answer accepted
Nick H Atlassian Team Nov 30, 2021

Hi @Bill Grubbs ,

Just completed a few tests via Postman, and was able to get this format working to account for line breaks:

apicomm1.jpg

apicomm2.jpg
"description": "Format for line\n\nbreaks\n\nRelated to Community Post: https://community.atlassian.com/t5/Opsgenie-questions/Line-breaks-in-description-using-Alert-API/qaq-p/1874638?utm_source=atlcomm&utm_medium=email&utm_campaign=immediate_general_question&utm_content=topic"

 

Hope that helps! Let me know if you have any other questions.

Hi @Bill Grubbs ,

Can you just check with <br> for line breaks instead of </br>

Thanks,

Avinash

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Opsgenie

Leveraging Atlassian’s Opsgenie and AWS Cloudformation Registry to stay ahead of incidents

In the past, managing IT infrastructure was a hard job. It required a lot of manual effort and it was hard to keep track of all the necessary information (monitoring, scalability etc). Thankfully, as...

2,428 views 0 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you