Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way, perhaps by add-on, to bulk disable or delete a custom fields options?

Mick Lovell
Contributor
October 19, 2018

We have a set of fields with thousands of options.  We can add new values with ScriptRunner, but we also need to be able to remove or disable hundreds of options at a time.  If we can't do that, is there perhaps a way to point a field to a list of options in  a file, and change the data in the file periodically?  Thank you.

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 19, 2018

Hello Mick,

You can configure a JSON Script using JIRA REST API to delete a custom field option when you need with the following call:

DELETE /rest/api/3/field/{fieldKey}/option/{optionId}

Please, check the documentation below to get more details about it:

Delete Issue Field Option

Suggest an answer

Log in or Sign up to answer