Hello,
I am trying to update a field ( for example fields status), using the POST method from Python.
I followed the documentation but when i check the result the status of issue doesn't changed.
Here is the code I try to run:
in this example I want to change status to "Request Info" with:
import requests
from requests.auth import HTTPBasicAuth
import json
auth = ('myuser', 'mypassword!')
# set the url
url = "myorganizationurl/rest/api/2/issue/SF-6831/transitions"
# simulating that the transition id will be status : TO DO
data = {"transition": {"id": 331}}
#make the authenticated request to the JIRA API
r = requests.post(url, auth=auth, json=data)
print ("HERE's the JSON RESPONSE\n\n ", r.status_code, r.headers)would be great if you can guide my through on how to update not only this field but also ( comments, fix version, Reporter, Description ,Priority ,Team...)
Thanks.