Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,096
Community Members
 
Community Events
165
Community Groups

Edit Issue status field value using REST API

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you