RESTful API Help
Create
- Http Method
- POST
- End Point
-
/~api/issues
- Request Body
-
- Content Type
- application/json
- Example
-
{
"projectId"
:
1
,
"title"
:
"string"
,
"description"
:
"string"
,
"confidential"
:
true
,
"iterationIds"
:
[
1
]
,
"fields"
:
{
"field1"
:
"value1"
,
"field2"
:
[
"value1"
,
"value2"
]
}
}
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
1
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> -X POST -d@request-body.json -H "Content-Type: application/json" https://git.codedune.app/~api/issues
Page is in error, reload to recover