JIRA SOAP API是否允许我在不同项目中的两个问题之间进行链接?我已经在网上找过了,但没有找到这样做的方法。我见过的最接近的是createIssueWithParent方法,它创建子问题(我想要链接两个问题,而不是子问题),并且要求问题在同一项目中(也不是我想要的)。
有谁知道这样做的方法吗?
发布于 2012-08-08 13:48:35
通过SOAP API使用I don't think that linking is possible。我已经使用带有createIssueLink函数的XML-RPC API完成了这项工作:
from com.atlassian.jira import ComponentManager
# get issue objects
authenticationContext = ComponentManager.getInstance().getJiraAuthenticationContext()
issueLinkManager = ComponentManager.getInstance().getIssueLinkManager()
# Link parent issue to subtask
issueLinkManager.createIssueLink(issue.getId(),otherIssue.getId(),10003,1,authenticationContext.getUser())https://stackoverflow.com/questions/11856098
复制相似问题