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.
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
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