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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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
4,457,754
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events