Can someone assit with a Script Runner Bulk Import Custom Field Values example script

I need to import around 1000 options to a custom select field. From my research on this site, it looks like using Script Runner is my best option for this: https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-BulkImportCustomFieldValues

My problem is I'm not really sure from the documentation how this script should be structured. My situation, for example: Say I have a custom field called CustomField. I have a context, ContextA, that has a number values and is associated with multiple projects. I created a new context, ContextB which is empty and associated with a new project. What would the script look like for importing values Value1, Value2 and Value3 into ContextB?

1 answer

1 accepted

1 vote
Accepted answer

If you choose the builtin script to bulk import custom field values you have to select the field config for which you want to import the values from a select list. If your custom field has to field configs there are two entries for this custom field.

Ah ok, I was looking in the wrong spot, I didn't see the link for the Built In Scripts, that's exactly what I needed. I thoguht I needed to write a script and run it to do the import. Thank you.

Is there instructions on how the Bullk import custom field values work? I have a csv to import that is part of of the application but not clear on how this works.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 15 hours ago in Jira

How you can achieve compact and easy-to-maintain workflows in your JIRA( Server)

This approach requires you to have the JIRA administrative rights. The main aim of this article is to help you achieve an organized, easy-to-maintain workflows in your JIRA instance thereby, reducin...

147 views 0 0
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