Assigning a ticket to the CI owner group
Here's what we're trying to do:
The user fills in a form and selects the appropriate Application Configuration Item (CI). The Application CI has an assigned owner group. Assign responsibility for the ticket to the owner group.
It seems the most straightforward way is to have a workflow use condition and then web service method to assign. How can you do a GET and PUT "ResponsibleGroupID" : "ownerGroupID"? We don't have iPaaS (yet).
Answer (1)
Hello Steve,
I think you would have to have your workflow start by making a GET of the ticket's Assets/CIs. Then reference that GET's response body to obtain the BackingItemID of the CI in array position [0], assuming there will only ever be one CI (no assets) on the ticket, and use that to GET the CI record itself. You refer to the response body of *that* call to pull the OwningGroupID.
Then use that value to set PATCH the ticket's ResponsibleGroupID value.
Sincerely,
Mark Sayers
Sr Support Consultant, CS