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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can Service level credentials are able to approve other approver request

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

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
Community showcase
Published in Jira Service Management

Security Advisory for Jira Service Management

On October 20, 2021, Atlassian published a security advisory for Jira Service Management. The full advisory is available at this link.  We've seen a number of questions already asking for...

208 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you