我真的无法改变我的问题的解决方案!你能帮我么 ?jira = jira.connect()issue = jira.issue(my_issue) jira.transition_issue(issue.key, '1311', resolution={'id': '10306'})其中:1311- 转换为"Complete",10306- 分辨率为"Completed"我收到:response text = {"errorMessages":[],"errors":{"resolution":"Field 'resolution' cannot be set. It is not on the appropriate screen, or unknown."}}我想要:决议变更完全删除分辨率值
2 回答

侃侃尔雅
TA贡献1801条经验 获得超16个赞
我能够使用以下代码关闭问题并更改解决方案。
issue = jira.issue(str(sys.argv[3]))
jira.transition_issue(issue, transition='Close', resolution={'name':'Cannot Reproduce'})

慕容708150
TA贡献1831条经验 获得超4个赞
未实现清除,但已在https://jira.atlassian.com/browse/JRACLOUD-75100上提出功能请求(GUI 上的相关请求位于https://jira.atlassian.com/browse/JRASERVER-11444)。

慕少森
TA贡献2019条经验 获得超9个赞
您不能直接更改问题的解决状态。
与Web界面相同;您必须应用适当的工作流程转换来使问题完成;IE。将状态字段更改为“完成”或工作流程中显示的任何内容作为完成的标准
添加回答
举报
0/150
提交
取消