0

我想知道 Jira 的 REST API 是否支持将附件添加到问题(现有的或新的)以及上传附件的能力?查看 API 文档,我什么也没看到,但也许我错过了一些东西。

4

3 回答 3

1

这看起来像您所追求的方法:

http://docs.atlassian.com/jira/REST/latest/#id339692

于 2012-10-26T19:55:59.880 回答
0

创建问题后,您可以单击该特定问题的更多操作选项卡。

您将能够附加文件并附加屏幕截图。

如果我理解您的要求有误,请纠正我。

谢谢。

于 2012-10-26T19:52:18.627 回答
0

在 Python 中:

jira = JIRA(options="Jira_Server_URL", basic_auth=("userID", "Password"))
jira.add_attachment(issue=issue, attachment="attachment_path")

相应地替换 Jira_Server_URL、用户 ID、密码和附件路径。

于 2020-07-15T04:08:24.520 回答