You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am creating a application that makes use of the Jira service management API, and I am trying to approve issues from within my own application. I made the assumption that by using Answer approval endpoint I would be able to approve the issues that need to be approved. in the issue fields I can see the needed approver and try to use the issueKey and approvalId to make the call, however this returns a 404 error saying the requestType that I am trying to view does not exist. I use the OAuth flow and have the right permissions (write:servicedesk-request). The approval user that is connected tot the issue is the same user that makes the call with the bearer token, so he should have access to the issue and approval. Does anyone know if is did something wrong or that the desired outcome can be achieved in any other way?
Welcome to Atlassian Community!
According to the error, it seems that the ticket doesn’t have a request type.
Can you please let us know if the ticket has a valid request type?
Is the request type visible in the customer portal or is it hidden?
Is the ticket on a status that requires approval?
If possible, ask the user to access the customer portal or the ticket in Jira to check if it works normally the approval from there.