Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to approve issues from cmd (json)

Pooja Goudappanour August 24, 2021

We are creating/updating issues using curl command and json file, how to approve the issues via same?

1 answer

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 26, 2021

Hello @Pooja Goudappanour ,

Currently, the approval API is listed as experimental so it may change in the future, but the endpoint you are looking for is :

POST /rest/servicedeskapi/request/{issueIdOrKey}/approval/{approvalId}

Using the data package:

{ "decision": "approve" }

or

{ "decision": "decline" }

Regards,
Earl

Pooja Goudappanour August 30, 2021

Thank you:) I will try this.

Like Earl McCutcheon likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events