I've been using the "create_version" jira-python function, which is very useful. However, I sometimes need to change a version name across dozens of projects and there doesn't seem to be an "update_version" function, unless I've totally missed it.
Presumably, this would use the 'Update Version' JIRA rest API.
There does not seem to be a function which does that, but as you guessed, you can still use the REST API. Execute the following request (see documentation here):
PUT /rest/api/2/version/{id}
Requests is a pretty good http client library for python.
Ok - thanks for the tip. I'm a little confused about how to compose the URL, which is the value for the key 'self':
from the documentation: "self": "http://www.example.com/jira/rest/api/2/version/10000"
The JIRA server I'm working with has URL
https://jira.something.org
It looks like you're new here. Sign in or register to get started.