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

Cannot approve issue approval

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? 

1 answer

0 votes

Hello Ricardo,

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.

Kind regards,
Angélica

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

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! ...

94 views 0 1
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