在PHP中使用肥皂添加Jira注释 [英] Adding Jira comment using soap in PHP

查看:65
本文介绍了在PHP中使用肥皂添加Jira注释的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在PHP中使用SOAP在Jira中添加注释?

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

参考

  • 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

这篇关于在PHP中使用肥皂添加Jira注释的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆