I would like to use the Jira REST API to move the status with the approval function, but
I get an error message.
Is it possible to move the status with approval function by API?
@遠藤 一樹Can you explain what does it mean to "move the status with the approval function"? What error do you get?
There is API to approve: https://developer.atlassian.com/cloud/jira/service-desk/rest/api-group-request/#api-rest-servicedeskapi-request-issueidorkey-approval-approvalid-post
And there is API to transition status:
https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-transitions-post
Thank you for your help.
I have tried to transition the status by using the API but I have got an error message that says "Unable to move.
You may not have permission or may not have the required information for the issue. If this issue persists, contact your Jira administrator. ".
I am assigned as an approver for the issue and transition ID is correct.
I wonder if there is any missing information and what the permission means.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your confirmation.
This status is one in which the approval function is enabled.
I want to press this approval button in the API.
And, I would then like to transition to the next status.
↓API error message.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@遠藤 一樹
I would assume that error message is correct.
To verify this, can you check if you can transition ticket using Jira UI?
Can try transition issue from same account (same person) from Jira UI and Jira API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.