Remove a Label from an Issue
PUT {{baseUrl}}/rest/api/3/issue/:issueIdOrKey
Edits an issue. A transition may be applied and issue properties updated as part of the edit.
The edits to the issue's fields are defined using update
and fields
. The fields that can be edited are determined using Get edit issue metadata.
The parent field may be set by key or ID. For standard issue types, the parent may be removed by setting update.parent.set.none
to true. Note that the description
, environment
, and any textarea
type custom fields (multi-line text fields) take Atlassian Document Format content. Single line custom fields (textfield
) accept a string and don't handle Atlassian Document Format content.
Connect app users with admin permissions (from user permissions and app scopes) can override the screen security configuration using overrideScreenSecurity
and overrideEditableFlag
.
This operation can be accessed anonymously.
Permissions required:
- Browse projects and Edit issues project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
notifyUsers | boolean | Whether a notification email about the issue update is sent to all watchers. To disable the notification, administer Jira or administer project permissions are required. If the user doesn't have the necessary permission the request is ignored. | |
overrideScreenSecurity | boolean | Whether screen security should be overridden to enable hidden fields to be edited. Available to Connect app users with admin permissions. | |
overrideEditableFlag | boolean | Whether screen security should be overridden to enable uneditable fields to be edited. Available to Connect app users with admin permissions. |
Request Body
{"update"=>{"labels"=>[{"remove"=>"Used API"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |