Setting a Ticket's Parent Using Patch
Hello, TDX Community and Happy Friday:
I am trying to create a PATCH method to set the parent of newly created tickets in a workflow. I am running the code below and it returns 200 OK, but does not seem to apply the new parent to the ticket. Any advice would be appreciated.
[
{"op": "replace", "path": "/ParentID", "value": "27066375"}
]
Thank you.
Answers (2)
We were having the same issue and decided to add children to the parent instead. So we're using the "Adds all of the specified tickets as children to the specified parent ticket" (/api/{appId}/tickets/{id}/children) endpoint and it does exactly what we were looking for.
Hi Anderson,
Does the parent ticket have a classification that is higher than the tickets classification that you're setting as the child? It might be helpful if you could also post the full response body so we can take a look.
Best,
Brittany Renn
TDX Support