How do you set the fixVersions field using jira-python

。_饼干妹妹 提交于 2019-12-06 07:22:17
mdoar

Take a look at the example of add, set and remove for components in https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Edit+issues You can use the name instead of the id which is helpful, e.g.

issue_dict = { 'fixVersions' : [{'add': {'name': 'Name of the version 10115'}}] }

Played around more with it, realized the error.

It was failing due to some required fields being unset. Code snipped in the original question is ok, error reporting from the jira-python library however leaves a lot to be desired...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!