I want to transition status with approval function via API

遠藤 一樹 April 17, 2023

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?

1 answer

1 accepted

0 votes
Answer accepted
Krzysztof Bogdan April 18, 2023
遠藤 一樹 April 21, 2023

@Krzysztof Bogdan 

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.

Like Krzysztof Bogdan likes this
Krzysztof Bogdan April 21, 2023

Maybe workflow is blocking transition?
@遠藤 一樹Are you able to transition status using Jira web UI?

遠藤 一樹 April 28, 2023

@Krzysztof Bogdan 

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.

2023-04-28_18h27_37.png

↓API error message.

2023-04-28_18h29_26.png

Krzysztof Bogdan April 28, 2023

@遠藤 一樹


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?

Like 遠藤 一樹 likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events