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

Nick

3 answers

1 vote

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 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

35 views 0 4
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