JIRA-php
JIRA-php copied to clipboard
How to use
Hi, kinf of lost, could you please give me an example how to use your class to retrieve a list of projects?
Thanks
Ok, I found out how to use, most of the functions work, but I have troubles to create new issue. This is my code:
[code]
'username', 'password' => 'pass', 'host' => 'jira.domain.com'); $issue = new Jira($config); // vytvoreni issue $new_issue = array( 'fields' => array( 'project' => array('key' => 'Test'), 'summary' => 'Test via REST', 'description' => 'Description of issue goes here.', 'issuetype' => array('name' => 'Bug') ) ); $data = json_encode($new_issue); var_dump($issue->createIssue($data)); [/code] This returns false. Anything I'm doing wrong?