JIRA中的数字格式异常
我在尝试使用id获取问题详细信息时遇到数字格式异常JIRA中的数字格式异常,jira,jira-plugin,Jira,Jira Plugin,我在尝试使用id获取问题详细信息时遇到数字格式异常 RemoteIssue ri = jira.getIssueById(JIRAtoken, string.Format(IssueKey)); 这里的jiratoken是字符串。但这是一个例外。有人知道吗?我也有同样的问题,使用JIRA(4)的SOAP Web服务API 我用getIssue而不是getIssueById解决了这个问题。通过getIssue,吉拉希望得到像MYPROJECT-3这样的密钥 现在我发送了一个类似这样的请求,它可以
RemoteIssue ri = jira.getIssueById(JIRAtoken, string.Format(IssueKey));
这里的
jiratoken
是字符串。但这是一个例外。有人知道吗?我也有同样的问题,使用JIRA(4)的SOAP Web服务API
我用getIssue
而不是getIssueById
解决了这个问题。通过getIssue
,吉拉希望得到像MYPROJECT-3这样的密钥
现在我发送了一个类似这样的请求,它可以工作:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://soap.rpc.jira.atlassian.com">
<soapenv:Header/>
<soapenv:Body>
<soap:getIssue soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<in0 xsi:type="xsd:string">MyAuthToken</in0>
<in1 xsi:type="xsd:string">MYPROJECT-1</in1>
</soap:getIssue>
</soapenv:Body>
</soapenv:Envelope>
MyAuthToken
MYPROJECT-1
您能提供更多细节吗<代码>吉拉在什么情况下?RemoteIssue来自哪个软件包?问题的id看起来像12345(不是TEST-1),并且是常量。问题密钥看起来像TEST-1,并且随着时间的推移会发生变化。您可能希望使用getIssue而不是getIssueById