Skip to main content
Solved

JSON Line Break

  • December 16, 2024
  • 2 replies
  • 47 views

Forum|alt.badge.img+10

I am trying to update the description on a ticket via API call.  The description will be multiple lines though.  I cannot get the JSON formatted to be multiple lines though.

Also, of note, the use case is creating child tickets in Onboarding and I need the description in the newly created child ticket to be like the inherently created child tickets in the Onboarding module. 

 

 

Best answer by Daniel Söderlund

shannon.mejia wrote:

I am trying to update the description on a ticket via API call.  The description will be multiple lines though.  I cannot get the JSON formatted to be multiple lines though.

Also, of note, the use case is creating child tickets in Onboarding and I need the description in the newly created child ticket to be like the inherently created child tickets in the Onboarding module. 

 

 

You can use HTML tags in the description, so <br> for new line, <b></b> for bold etc. 
The employee information is a Onboard function and I haven’t seen a way to do via API. 
So if you like it to similar is to build it with HTML in the description. 

Sometimes I build a template manually in the web gui and then use API to get the html code. 
Add it to my payload in the web request node. 

 

View original
Did this topic help you find an answer to your question?

2 replies

Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14
shannon.mejia wrote:

I am trying to update the description on a ticket via API call.  The description will be multiple lines though.  I cannot get the JSON formatted to be multiple lines though.

Also, of note, the use case is creating child tickets in Onboarding and I need the description in the newly created child ticket to be like the inherently created child tickets in the Onboarding module. 

 

 

You can use HTML tags in the description, so <br> for new line, <b></b> for bold etc. 
The employee information is a Onboard function and I haven’t seen a way to do via API. 
So if you like it to similar is to build it with HTML in the description. 

Sometimes I build a template manually in the web gui and then use API to get the html code. 
Add it to my payload in the web request node. 

 


Forum|alt.badge.img+10
  • Author
  • Skilled Expert
  • 86 replies
  • December 19, 2024

@Daniel Söderlund  that worked great! thanks!!!


Reply