Jira API addBase64EncodedAttachmentsToIssue 不适用于状态=已关闭
我目前正在将问题从 Salesforce 迁移到 Jira。由于附件无法正常导入,我将其他字段导入到Jira中,并编写Java代码从Salesforce获取附件文件,将其添加到Jira中的相应问题中。
除了已关闭的问题之外,我还可以使用 API addBase64EncodedAttachmentsToIssue
添加附件。但对于 Jira 中的关闭状态,我无法添加它们。
I am currently migrating issues from Salesforce to Jira. As attachments could not be imported properly, I imported other fields to Jira and wrote Java code to get attachment files from Salesforce to add them to the corresponding issues in Jira.
Other than closed issues I am able to add attachments with the the API addBase64EncodedAttachmentsToIssue
. But for the closed status in Jira I am not able to add them.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
执行迁移时,您可以将工作流的 jira.issue.editable 属性更改为 true。这将使问题可编辑,并且您将能够添加附件。在默认的 Jira 工作流程中,所有已关闭的问题默认都是不可编辑的。
http://confluence.atlassian.com/display/JIRA/Configuring+Workflow#uneditable_steps
You can change jira.issue.editable property of the workflow to true while you are performing migration. This will make the issue editable and you will be able to add attachments. In default Jira workflow all closed issues are uneditable by default.
http://confluence.atlassian.com/display/JIRA/Configuring+Workflow#uneditable_steps