开发者

Adding Jira comment using soap in PHP [closed]

开发者 https://www.devze.com 2023-04-06 21:08 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered i开发者_运维技巧n its current form.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered i开发者_运维技巧n its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

How to add comment in Jira using SOAP in PHP?


$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
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号