Adding Jira comment using soap in PHP [closed]

五迷三道 提交于 2019-12-30 20:53:56

问题


How to add comment in Jira using SOAP in PHP?


回答1:


$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"));

References

  • 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


来源:https://stackoverflow.com/questions/7533899/adding-jira-comment-using-soap-in-php

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!