Edit Issue status field value using REST API

Abderrahim Akarid May 12, 2022

I want to create and edit issue  status field , i tried with this two way but is not work.

 

dt = {"update": {"transition": {"id": "31"}}}

url = "https://acompte.atlassian.net/rest/api/2/issue/" + key +"/transitions"
print(url)
respons = requests.post(url, headers={"Accept": "application/json",
"Content-Type": "application/json"},
data = dt,
auth=("email",apiToken))

 

"status":
{
"name": "Done",
}

can someone here have the best way to achieve this?

0 answers

Suggest an answer

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

Atlassian Community Events