HI,
I am trying to send an web request API to a status page we have and when there is a single line of text in the custom field it works however if you add any new lines the request fails with BAD REQUEST
e.g - working
No business impact. No customer impact
e.g - Not Working
No Business impact
No Customer Impact
What do i need to change to the "incident_details" part to make multiple lines work in the API web request!? (it's also the same with Business /Customer impact but the fix for this will apply here)
Here is my API Call
{ "statuspage_id": "XYZ",
"incident_id": "{{issue.customfield_14416}}",
"incident_details": "\n Incident Update: {{issue.customfield_14408}} \n \n Business/Customer Impact: {{issue.customfield_14409}} \n \n Next Update: We will provide a further update in {{issue.customfield_14414}}.\n \n Incident Manager: {{issue.customfield_13934}} \n \n Impact Start time: {{issue.Customfield_14410.mediumDateTime}}",
"message_subject": "Incident Update: {{issue.summary}}",
"notify_email": "1",
"notify_sms": "0",
"notify_webhook": "0",
"social": "0", "irc": "0",
"msteams": "0",
"slack": "0",
"current_status": {{currentstatusvalue}},
"current_state": {{currentstatevalue}}
}