Bulk set custom field values - how to?

Hi Everyone,

we just imported a project to our JIRA v6.3.11 and we shockingly realized that 2 custom field values were not imported. It's mysterious because bot fields are enabled for the project and the appropriate screens and the project import report screen put ticks tick nest to the custom fields. We checked the import xml and both fields are there with values!!

Anyway, we'd avoid the re-import because it's a really big project. Is there a way to add these custom field values  by a script? Jelly or groovy? Or in SQL? We have the list of issues with the field values in a different JIRA and the projectID, issuekeys did not change.

Can you please advise?



1 answer

0 votes

You can re-import the list - if the lines have the current issue number in them, then the fields will be imported as changes.  But you'll need to work out why they were ignored the first time.

Scripts can do it, including groovy.  Jelly is deprecated, so I'd avoid that, and the standard rule for SQL is "don't".  Just don't bother with SQL, it's harder than you think it is and can completely trash your system.

Or use bulk edit, if the data is simple enough

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

264 views 0 12
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot