如何在PHP中使用SOAP在Jira中添加注释?
答案 0 :(得分:6)
$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"));
<强>参考强>