You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to add a new version.
First I can see that the documentation and the implementation of add_version are different (different names for function parameters).
There is a parameter project_key and projecet_id. I know that one of this is deprecated so I just give the same project key to both.
Using this example code results in an exception:
strPrjId = 'TST'
version_data = {
'name': "TestVersion",
'project': strPrjId,
'description': "Just a test description",
'released': False
}
jira.add_version(project_key= strPrjId, project_id=strPrjId, version = version_data)
Exception: requests.exceptions.HTTPError: Invalid request payload. Refer to the REST API documentation and try again.
I didn't find any code using this method or an example.
The text was updated successfully, but these errors were encountered:
I try to add a new version.
First I can see that the documentation and the implementation of add_version are different (different names for function parameters).
There is a parameter project_key and projecet_id. I know that one of this is deprecated so I just give the same project key to both.
Using this example code results in an exception:
Exception:
requests.exceptions.HTTPError: Invalid request payload. Refer to the REST API documentation and try again.
I didn't find any code using this method or an example.
The text was updated successfully, but these errors were encountered: