This method lets you update multiple issue attributes in a single call. For example, update custom fields, add tags, and link issues.
POST /rest/issue/{issue}/execute?{command}&{comment}&{group}&{disableNotifications}&{runAs}
Parameters:
Name
Type
Description
issue
issueById
The ID of the issue for which the command is applied.
command
string
A command to apply to the specified issue. The command can contain a string of attributes and their values. This means that you can change multiple attributes with a single command. For example, the following command sets the values for the custom fields Type=Bug, Priority=Critical, Fix version=5.1, and adds the regression tag:
Type Bug Priority Critical add Fix versions 5.1 tag regression
The name of a group. Use to set the visibility settings for a comment.
disableNotifications
boolean
If true, the command is applied without notification. The default value is false.
runAs
string
Login for a user on whose behalf the command is executed.
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!":