I'm looking for a method to add an approver to existing JSM tickets via the API. Looking at the JSM API docs I don't see a method to add one, just get a list of existing ones.
So, some digging turned up the answer - you have to specify the approver's account ID. Once you have that, you can do an update to add them:
{"update":{"[Approver customfield]":[{"add":{"accountId":"[User Account ID"}}]}}
This is tested and working.
It looks like you're new here. Sign in or register to get started.