Whats the (best) way to populate custom fields?

I have a customfield in which I want a list of potential build numbers i.e. 1 to 5000 I dont fancy doing this by hand for all our projects which will have the same filed.

1. Whats the best way to populate the field? Can I do it from a file? I couldnt seem to see anything in JCLI which might help but I may have missed the obvious.

2. Can you sort dropdowns e.g. most recent version is at the top

Many thanks


3 answers

It's also pretty straightforward to do it with curl, or script your browser using webdriver. Well, straightforward if you've done it before.

Also see https://answers.atlassian.com/questions/92385/importing-project-from-another-jira-instance-how-do-we-mass-import-custom-field-multi-select-options?page=1#92622

Yes, this would be the easiest option.

0 votes

JIRA remote APIs don't support it yet and that is why CLI doesn't support it.

The best way might be to write a small servlet which programmatically add the options.

The easiest waut might be to add it in the database directly (customfieldoption table) as long as you know what you are doing. You will have to take JIRA offline, reindex once back up etc.

Ah yes, can do this as well.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,392 views 15 19
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you