Forums

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

Edit Issue status field value using REST API

Abderrahim Akarid
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events