-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3
-
Severity 3 - Minor
-
0
-
Issue Summary
Disabled values of custom field options can still be updated via PUT Edit issue REST API request.
Steps to Reproduce
- Create a select list custom field.
- Add multiple options.
- Disable one option and ensure that it is not displayed on the screens.
- Run the following REST request
curl -D- -X PUT \ --url 'https://<YourInstance>.atlassian.net/rest/api/3/issue/<Issue Key>' \ --user 'email:token' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{"fields": {"customfield_<ID>": {"id": "<Disabled Option ID>"}}}'
Expected Results
Only non-disabled entries should be updated.
Actual Results
All the custom field values can be updated. Including the disabled ones.
Workaround
Currently, there is no known workaround for this behaviour. A workaround will be added here when available