Update Ticket Task PercentComplete via API
I'd like to be able to "close" (complete) a ticket task via the API. The documentation states the PercentComplete property is not editable via the API, and I've confirmed this in my testing. Is there another way to complete a task, or can this property be made editable?
Josh
Asked by Joshua Myles
on Tue 2/20/24 12:06 PM
Last edited Tue 2/20/24 12:07 PM
Sign In to leave feedback or contribute an answer
Answer (1)
This answer has been marked as the accepted answer
Brittany Renn
Tue 2/20/24 12:57 PM
Hi Joshua,
Have you tried to use a different endpoint to Update the Ticket Task, instead? I believe you can update the percent complete via this endpoint: https://servicedesk.mtu.edu/TDWebApi/Home/section/TicketTasks#POSTapi/{appId}/tickets/{ticketId}/tasks/{id}/feed
Let me know.
Best,
Brittany Renn
TDX Support
No feedback
Perfect, that worked. I didn't even think about the PercentComplete update being a feed item, though seeing it show up in the feed should have been a hint!
Josh - Joshua Myles Tue 2/20/24 3:47 PM
Josh - Joshua Myles Tue 2/20/24 3:47 PM