Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I add options to a Select List custom field programatically?

Hi there,

I would like to know how to add default options to a custom select list programatically.


7 answers

I wrote a plugin to add/remove/edit customfield values.

The plugin provides a REST API. It works from Jira 6.2+


use OptionsManager createOption(FieldConfig fieldConfig, Long parentOptionId, Long sequence, String value)

Check thread:

Use search option before asking new question. Add options to select list is so common issue, that it was already answered in the past.

Sorry for repeating the question. Anyway, by using the precious link, I dont know how to set a value in a select field from a plugin. In the example is shown how to create an option but not how to select one of the previously created options.

Any help?

Try use


and as newValue parameter use on of the options from your select CF. I think, that this solution do not update change history tab. To update history use

customField.updateValue(fieldLayoutItem, issueObject, modifiedValue, changeHolder)

Some links:

I was wondering if there is a way to programatically (REST API or other way) "add/remove/edit" parrent child options within CASCADE Custom Field?!


The current version of the Custom Field Editor Plugin (1.1+) supports cascading Fields and offers a REST API:

Do you have ticket created so I can track this feature?! Thank you.

Is there still no solution to this problem in 2019?

I'm in the same boat, I'm using Jira Cloud and I have to sync 100 field options in my custom field select list with an outside system that changes every month.


I'd love to find out how to do this.

@Nathan Given Did you ever figure out how to do this?

@Brandon Robins 


I abandoned the idea of a custom field and instead used components (since you can use the API to update components).

Not ideal, and definitely doesn't work in all cases. But it may be something you're also able to do.

A year later. Any solution?

I need this. In the meantime, I see it's available in Bob Swift's Command Line Interface plugin.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

160 views 2 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you