Example #1
0
 public function index()
 {
     $host = 'https://arsenaltech.atlassian.net';
     $username = '******';
     $password = '******';
     $jira = new JiraClient($host);
     $jira->login($username, $password);
 }
Example #2
0
 /**
  * Implements CreatableInterface::create().
  *
  * @see http://docs.atlassian.com/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#createIssue(java.lang.String, com.atlassian.jira.rpc.soap.beans.RemoteIssue)
  */
 public function create(JiraClient $jira_client)
 {
     $data = $jira_client->call('createIssue', $this);
     return new RemoteIssue($data);
 }
Example #3
0
 /**
  * Implements CreatableInterface::create().
  *
  * @see http://docs.atlassian.com/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#createUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
  */
 public function create(JiraClient $jira_client)
 {
     $data = $jira_client->call('createUser', $this->name, $this->_password, $this->fullname, $this->email);
     return new RemoteUser($data);
 }
 /**
  * Implements CreatableInterface::create().
  *
  * @see assian/jira/rpc/soap/JiraSoapService.html#createProject(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.atlassian.jira.rpc.soap.beans.RemotePermissionScheme, com.atlassian.jira.rpc.soap.beans.RemoteScheme, com.atlassian.jira.rpc.soap.beans.RemoteScheme)
  */
 public function create(JiraClient $jira_client)
 {
     $data = $jira_client->call('createProject', $this->key, $this->name, $this->description, $this->url, $this->lead, $this->permissionScheme, $this->notificationScheme, $this->issueSecurityScheme);
     return new RemoteProject($data);
 }
Example #5
0
 /**
  * Implements CreatableInterface::create().
  *
  * @see http://docs.atlassian.com/rpc-jira-plugin/latest/com/atlassian/jira/rpc/soap/JiraSoapService.html#createUser(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
  */
 public function create(JiraClient $jira_client)
 {
     $data = $jira_client->call('createGroup', $this->name);
     return new RemoteGroup($data);
 }