You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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?
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
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...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.