Solved

Add multiple tags on ticket creation when using the API

  • 21 September 2022
  • 2 replies
  • 112 views

Badge

What’s the syntax to add multiple tags to a ticket? I’m working in powershell and my script works as expected, I’m just not able to add multiple tags.

These don’t work:

$body.Add('tags','Onboard/Offboard',’onboarding’)

$body.Add('tags',['Onboard/Offboard',’onboarding’])

$body.Add('tags','["Onboard/Offboard","onboarding"]')

 

Not sure how to do this.

 

 

icon

Best answer by GRattu 22 September 2022, 23:01

View original

2 replies

Userlevel 2
Badge +3

Hi @GRattu,

Welcome to Freshworks Community :)

Glad to know that you have figured out the answer by yourself. Feel free to reach us if you have any other further concerns. We will be delighted to assist you.

Cheers,
Vidya D

Badge

Figured it out:
$body.Add('tags',('Onboard/Offboard',’onboarding’))

Reply