Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
Description
Issue Summary
Currently, if you try to delete a Custom Field option via the Jira Users Interface and the option is being used in an issue then you will see the following message:
But if you try to delete the same Option using REST API call Delete custom field options it goes through without any verification.
Steps to Reproduce
- Create a custom field with Options, for any of:
- Checkboxes.
- Radio Buttons.
- Select List (single choice).
- Select List (multiple choices).
- Select List (cascading).
- Assign the field to a screen.
- Select a value in an issue.
- Delete the Custom field option via REST API: Delete custom field options
Expected Results
Just like the Jira UI, to respond with an error stating that the option is being used by issues.
Actual Results
The REST API successfully deletes the option without any verification.
Workaround
Currently, there is no known workaround for this behavior. A workaround will be added here when available