Skip to content

resolution

create

Create resolution

Creates an issue resolution.

Permissions required: Administer Jira global permission.

POST /rest/api/3/resolution

FlagTypeRequiredDescription
--bodystringNorequest body (JSON string, @file, or - for stdin)

Example:

bash
jr resolution create

delete

Delete resolution

Deletes an issue resolution.

This operation is asynchronous. Follow the location link in the response to determine the status of the task and use Get task to obtain subsequent updates.

Permissions required: Administer Jira global permission.

DELETE /rest/api/3/resolution/{id}

FlagTypeRequiredDescription
--idstringYesThe ID of the issue resolution.
--replaceWithstringNoThe ID of the issue resolution that will replace the currently selected resolution.

Example:

bash
jr resolution delete --id <id>

get-resolution

Get resolution

Returns an issue resolution value.

Permissions required: Permission to access Jira.

GET /rest/api/3/resolution/{id}

FlagTypeRequiredDescription
--idstringYesThe ID of the issue resolution value.

Example:

bash
jr resolution get-resolution --id <id>

get-resolutions

Get resolutions

Returns a list of all issue resolution values.

Permissions required: Permission to access Jira.

GET /rest/api/3/resolution

Example:

bash
jr resolution get-resolutions

move

Move resolutions

Changes the order of issue resolutions.

Permissions required: Administer Jira global permission.

PUT /rest/api/3/resolution/move

FlagTypeRequiredDescription
--bodystringNorequest body (JSON string, @file, or - for stdin)

Example:

bash
jr resolution move

Search resolutions

Returns a paginated list of resolutions. The list can contain all resolutions or a subset determined by any combination of these criteria:

  • a list of resolutions IDs.
  • whether the field configuration is a default. This returns resolutions from company-managed (classic) projects only, as there is no concept of default resolutions in team-managed projects.

Permissions required: Permission to access Jira.

GET /rest/api/3/resolution/search

FlagTypeRequiredDescription
--idstringNoThe list of resolutions IDs to be filtered out
--maxResultsstringNoThe maximum number of items to return per page.
--onlyDefaultstringNoWhen set to true, return default only, when IDs provided, if none of them is default, return empty page. Default value is false
--startAtstringNoThe index of the first item to return in a page of results (page offset).

Example:

bash
jr resolution search

set-default

Set default resolution

Sets default issue resolution.

Permissions required: Administer Jira global permission.

PUT /rest/api/3/resolution/default

FlagTypeRequiredDescription
--bodystringNorequest body (JSON string, @file, or - for stdin)

Example:

bash
jr resolution set-default

update

Update resolution

Updates an issue resolution.

Permissions required: Administer Jira global permission.

PUT /rest/api/3/resolution/{id}

FlagTypeRequiredDescription
--bodystringNorequest body (JSON string, @file, or - for stdin)
--idstringYesThe ID of the issue resolution.

Example:

bash
jr resolution update --id <id>