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 vote

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 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 Thursday 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...

60 views 0 5
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