如何使用 jira-python 查找更新了 JIRA issue 的用户?

How to look for user who updated JIRA issue using jira-python?

我似乎没有查看问题转换的权限。

常用片段:[(t['id'],t['name']) for t in j.transitions(issue)] returns 有效问题上的空列表。我可以看到问题,它从 Web 界面的转换。

当问题处于"Fixed"状态时,我想找到哪个用户将它从"Assigned"更改为"Fixed"。这是我的工作流程:

如何使用 python-jira 实现此目的?

插入以下内容。我使用 python-3,因此您可能需要调整打印语句格式。

issue = jira.issue('project-682', expand='changelog') changelog = 
issue.changelog

for history in changelog.histories:
    for item in history.items:
        if item.field == 'status':
            print ('Date:',history.created,' From:',item.fromString, 'To:',item.toString, ' By: ',history.author)