The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

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
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events