Hello,
I’m trying to create a subticket via API using a rule with a webhook. I’m not even sure it’s possible but I’m giving it a try. I have added the appropriate headers and values. Here’s what I have for the json which currently is not working to spawn a ticket.
Json body:
{
"TicketNumber":"{{Ticket.TicketNumber}}-1"
"Subject":"Escalation: {{Ticket.TicketSubject}}",
"IssueDescription":"{{Ticket.IssueDescription}}",
"IssueCategoryId":"{{Ticket.IssueCategoryId}}",
"IssueId":"{{Ticket.IssueId}}",
"IssueTypeId":"{{Ticket.IssueTypeId}}",
"LocationId":"{{Ticket.LocationId}}",
"AssignedToTeamId":"98f04f05-5d16-f011-8b3d-000d3a0db164",
"ParentTicketNumber":"{{Ticket.TicketNumber}}",
"LocationDetails":"{{Ticket.LocationDetails}}",
"Priority":"{{Ticket.TicketPriority}}",
"ProductId":"88df910c-91aa-e711-80c2-0004ffa00010"
}
I am using the templating values to fill in the json fields for the subticket based on the parent ticket. I am not even sure ParentTicketNumber is a valid API option (it is not documented in the API), but hoping it’s a hidden one, or maybe it’s SourceId??
I was trying to expand on the sample request here:
I have only just attempted it, and looked through the API some, but hoping someone in the know can shortcut my having to pull out Postman to troubleshoot and all that. My frustration with iiQ grows daily and we haven’t even rolled it out yet. This is an attempt to overcome its shortcomings and not have to write up extended procedure for something that should be simple.