Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can Service level credentials are able to approve other approver request

Harshada Pawar February 17, 2021

We have established REST API connectivity with JIRA service Desk with oauth2 token using service account credentials/service account login.

We are able to read all requests calling API end point : “https://jadeboomi.atlassian.net/rest/servicedeskapi/request

Is there any way to approve a request from API end point, using service account oauth2 token? Or JIRA only allows approvals from user access credentials?

 

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2021

Hello @Harshada Pawar ,

The later portion you noted is correct "JIRA only allows approvals from user access credentials"  so Yes the user that is the approver would need to issue approval API via the POST to the endpoint "Answer Approval" with that accounts credentials and the service account would only be able to issue an approval as the service account.

  • POST /rest/servicedeskapi/request/{issueIdOrKey}/approval/{approvalId}

This is also true for all other API endpoints as well, the credentials used to issue a call are the same credentials used to see and edit the content on the front end, if the account does not have permission to see or edit details in the Jira front end they will not have access via the API on the back end.

Regards,
Earl

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events