DELETE /rest/api/2/field/{fieldId}/context/{contextId}/option/{optionId}/issue
Replaces the options of a custom field.
Note that this operation only works for issue field select list options created in Jira or using operations from the Issue custom field options resource, it cannot be used with issue field select list options created by Connect or Forge apps.
Permissions required: Administer Jira global permission.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
fieldId |
String | Yes |
The ID of the custom field. |
optionId |
Integer | Yes |
The ID of the option to be deselected. |
contextId |
Integer | Yes |
The ID of the context. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
replaceWith |
Integer | No |
The ID of the option that will replace the currently selected option. |
jql |
String | No |
A JQL query that specifies the issues to be updated. For example, project=10000. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.