I'm trying to develop some automation to approve ServiceDesk tickets from Slack using Workato. I'm referencing the documentation on ServiceDesk API here: https://docs.atlassian.com/jira-servicedesk/REST/3.11.2/#servicedeskapi/request/\{issueIdOrKey}/approval-getApprovals
We have Workato connected to our development instance of Jira Server using basic authentication to a service account. When I try to use the ServiceDesk API above to approve a ticket, it gives the following response
{
"errorMessage": "You don't have approve permission.",
"i18nErrorMessage": {
"i18nKey": "sd.approval.error.approve.permission",
"parameters": []
}
}
Which makes sense, because the service account isn't the approver. How can we allow the service account to approve on behalf of the approver?