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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.