更新/编辑转换字段Jira Python API

问题描述

是否可以通过Python Jira API在过渡中更新字段?我能够编辑数据并正确更新问题字段,但似乎无法设置/添加/删除过渡字段中的项目。我可以过渡,但我希望能够在过渡前编辑字段。这样可以更改问题的字段,但是过渡似乎没有字段更新。任何帮助将不胜感激。

{'Resolution': [{'set': {'name': 'Fixed'}}],'Labels': [{'add': ['test','random']}

API使用此json进行转换。我以某种方式无法通过https://jira.readthedocs.io/en/master/_modules/jira/client.html#JIRA.transition_issue

处的Python API添加到字典的更新部分中
{
    "update": {
        "comment": [
            {
                "add": {
                    "body": "Comment added when resolving issue"
                }
            }
        ]
    },"transition": {
        "id": "5"
    }
}
enter code here

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)