Last active
August 29, 2015 14:12
-
-
Save rightgo09/0c2ae1be3d9e59229e82 to your computer and use it in GitHub Desktop.
JIRA API JSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "fields": { | |
| "project": | |
| { | |
| "key": "TEST" | |
| }, | |
| "summary": "REST ye merry gentlemen.", | |
| "description": "Creating of an issue using project keys and issue type names using the REST API", | |
| "issuetype": { | |
| "name": "Bug" | |
| }, | |
| "labels": ["mylabel"], | |
| "components": [{"name":"mycomponent"}], | |
| "assignee": {"name": "r9"} | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ curl -D- -u r9:password -X POST -d @create_issue.json -H "Content-Type: application/json" http://localhost:8080/rest/api/2/issue/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment