We have created a service account with a scoped API token to fetch JIRA issues (including service management issues). We are able to fetch the issues, but still get the following error for fetching SLA custom fields (time to resolution/time to first response):
You do not have permission to fetch the list of SLA custom fields"
taken steps:
- we have concluded with a personal scoped API token that the issue is not the included scopes
- we have added the service account to the group "jira-servicedesk-users"
- The service account has "user (agent)" accessto jira service management
any idea on how we can manage to get the correct permissions to fetch data from these fields?