I am trying to update a custom field in Jira, using the following code and I'm getting a 415 error code. Any help would be greatly appreciated!
jiraSession = requests.Session()
username = input("username: ")
password = input("password: ")
jiraURL = 'http://ourbaseurl.jira.com'
#-------------- CALL -----------------
searchAPI = jiraURL + '/rest/api/2/issue/ISSUE-1'
holder = requests.put(searchAPI, auth=(username, password), data=
"value": "FIELD VALUE"
Thanks! I was trying to avoid using the jira python library because it runs kind of slow. Though, my custom field is a Tempo field, so I'm assuming that's what's causing my issues.
The Jira Software Cloud Team has been busy working on a simple, secure, and reliable way to integrate your build and deployment information from Jenkins with Jira Software Cloud. This means you don’t...
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