Replace Issue Field Option
DELETE {{baseUrl}}/rest/api/3/field/:fieldKey/option/:optionId/issue?replaceWith=<long>&jql=<string>
Deselects an issue-field select-list option from all issues where it is selected. A different option can be selected to replace the deselected option. The update can also be limited to a smaller set of issues by using a JQL query.
This is an asynchronous operation. The response object contains a link to the long-running task.
Note that this operation only works for issue field select list options added by Connect apps, it cannot be used with issue field select list options created in Jira or using operations from the Issue custom field options resource.
Permissions required: Administer Jira global permission. Jira permissions are not required for the app providing the field.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
replaceWith | string | The ID of the option that will replace the currently selected option. | |
jql | string | A JQL query that specifies the issues to be updated. For example, project=10000. |