Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use #6

Open
vaclavgreif opened this issue Sep 9, 2013 · 1 comment
Open

How to use #6

vaclavgreif opened this issue Sep 9, 2013 · 1 comment

Comments

@vaclavgreif
Copy link

Hi, kinf of lost, could you please give me an example how to use your class to retrieve a list of projects?

Thanks

@vaclavgreif
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant