Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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
Answer accepted

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.

Did Script Runner get rid of this?

I only have 3 options under Built In Scripts, and this is not one of them

For me it's there (on Jira Server). If you click on the left side on "Fields", the first entry for me is "Bulk import custom field values". If this is not the case for you, I would suggest to contact Script Runner support.

I am on Cloud and it is not there.

:(

Suggest an answer

Log in or Sign up to answer
TAGS

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