Add a New Issue
POST {{baseUrl}}/issues?fields=idReadable
Create new issue.
Put the ID of the project into the sampleProject variable or replace the variable with the project ID in the request body.
To get the project ID, send a GET request to /api/admin/projects?fields=id,name,shortName and find the ID of the target project.
https://www.jetbrains.com/help/youtrack/devportal/resource-api-issues.html#create-Issue-method
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
fields | string |
Request Body
{"summary"=>"Houston!", "description"=>"We have a problem!", "project"=>{"id"=>"{{projectID}}"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"idReadable":"SP-39","$type":"Issue"}