YouTrack Server
 
2019.2
Get YouTrack Standalone
You are viewing the documentation for an earlier version of YouTrack Server. View this page in the current documentation

Apply Command to an Issue

Last modified: 17 December 2019

POST /issue/{issue}/execute

Apply a command to an issue.

This method lets you update multiple issue attributes in a single call. For example, update custom fields, add tags, and link issues.

Parameters:

Samples

Sample 1

Request

The following request applies command for the issue with ID "HBR-60" and sets issue Type to "exception" and simultaneously adds a comment "exception naturally!":

Response

Sample 2

The command in this sample is applied to the issue "TP-30" and sets its Priority to "Major" and State to "Fixed".

Request

Response

Sample 3

Below you will find a sample of an erroneous command.

Request

Response