YouTrack Standalone 2018.2 Help

Create New Issue

PUT /issue

Report a new issue to YouTrack.

PUT /rest/issue?{project}&{summary}&{description}&{attachments}&{permittedGroup}

Parameters:

Name

Type

Description

project

string

ID of a project to add new issue to.

summary

string

Short summary for the new issue.

description

string

Description for the new issue.

attachments

file in the "multipart/form-data" format

One or several files in the "multipart/form-data" format that should be attached to the new issue.

permittedGroup

string

Set visibility for the new issue, that is: Specify a user group to which the issue will be visible.

Sample

Request

PUT https://example.com/youtrack/rest/issue?project=TST&summary=new+issue&description=description+of+new+issue Cookie: $Version=0; JSESSIONID=j9wmm40hwk3t1lp8e11l9p0d4; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=MTVhMjY2OGUxMTUxMTI5MGMzNjhlZWM5NTJiNGJkNmIyNzc3NjdjZmM3YWU4MTVjYzQwYWE1MWZlYTkwNTcxNzphcHBfZXhjZXB0aW9u; $Path=/

Response

HTTP/1.1 201 Created Content-Type: application/xml;charset=UTF-8 Location: https://example.com/youtrack/rest/issue/TST-1 Content-Length: 0
Last modified: 7 March 2019