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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

148 views 0 4
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