How do I bulk insert values into select list?

If I know the CustomField and CustomFieldConfig Id's can I just bulk insert values into the customerFieldOption table? I just wasn't sure if another table were involved or not.

I basically am just setting up our site and wanted to insert a list of build numbers in bulk, these will then be left in the system. It would just be easier than entering several hundred numbers manually especially since I need to enter them for multiple field configs.

Thanks,

Jon

2 answers

1 accepted

Accepted Answer
0 votes
Henning Tietgens Community Champion Mar 13, 2013

You can use a Script Runner plugin builtin script to easily mass import custom field values.

Henning

Thanks that looks like it will do what I need.

0 votes
Daryl Chuah Atlassian Team Mar 12, 2013

Hi there

Perhaps you might want to try using Jelly Script to achieve this configuration.

For more information, you can refer on this : Jelly Tags

Hope it helps :)

Cheers

I will look at that I was just hoping it would be a simple SQL statement since this is just a one time thing but I would rather do it correctly as well. Thanks for the tip.

The Jelly Tags may work but how do you Get Info on a Custom Field? What I mean is that Jelly allows you to Create a new field and put in values but one thing I didn't see examples of are how do I add values to an existing field and also to a field with a specific field configuration?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

72 views 0 3
Join discussion

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