如何在 PHP 中使用 SOAP 在 Jira 中添加注释?
$soapClient = new SoapClient("https://YOUR_JIRA_DOMAIN.com/rpc/soap/jirasoapservice-v2?wsdl");
$token = $soapClient->login($username, $password);
$soapClient->addComment($token, $issueKey, array('body' => "your comment"));
参考
- http://docs.atlassian.com/software/jira/docs/api/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#addComment%28java.lang.String,%20java .lang.String,%20com.atlassian.jira.rpc.soap.beans.RemoteComment%29
- https://bitbucket.org/rewbs/satellites-talk-samples/src/cd22351cf368/IssuesFromFilter.php
- http://codingx.blogspot.com/2011/04/play-with-jira-api-from-php.html
- http://confluence.atlassian.com/display/JIRA03x/Creating+a+SOAP+Client
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)