Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

124
Views
creating ticket with GAS through Zendesk api - \n not working properly

Hello I'm trying to make a zendesk ticket via zendesk api with Google Apps Scripts.

I made a message body to post but "\n" is not working properly when it's posted.

For example, I make the following message body.

  "This is a first line of the ticket","\n","This is a second line of the ticket","\n"

Then I expect it to come out like below

This is a first line of the ticket
This is a second line of the ticket

But what I actually get is

This is a first line of the ticket

This is a second line of the ticket

I don' need an empty row in between but it shows that way. I've checked html but there is only one "br" in between. I'd like to know the reason why this happens. Thanks.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!