Default value of custom field during an import

I am importing data from Bugzilla to Jira. I created some custom fields in Jira to match the ones in Bugzilla. In Bugzilla, some of the custom fields have a default value of '---'. In Jira, I set the default values for those custom fields to be '---' as well. However, after the import the fields that should have a value of '---' show up as empty in Jira. Is there a way to fix this during the import?

2 answers

1 accepted


I think that default values for Custom Fields are not stored in Bugzilla database, at least in the tables that JIM is checking during import, so in the current JIM version I don't think it's possible to set mapping for this default value. Also JIM is not filling default values for JIRA Custom Fields.

Unfortunately, I think the only way to make it work is to Bulk Edit issues after import. You could filter issues with empty Custom Field and then Bulk Edit them with the desired value.

I admit that's unintuitive and uncomfortable for the user, so I've raised an Improvement request in JIM Project:

My experiments with the import too led me to believe that Bulk editing after importing was the only solution at this point.

Thanks for opening an Improvement request.


At some point when you import (for issues with '---') you can set up a default value for the field from the JIRA UI and try again. If JIRA is recognizing '---' as empty then new tickets should get default value set in JIRA. If JIRA is recognizing '---' as '---' but cannot add this to the field then remove '---' value from Bugzilla and try again.

Another option is that you are using incorrect type of field. I am assuming that this is a Text Field < 255 characters. If this will be a Unlimited characters field it may be having problems parsing this '---' value.

Take a look also in the log files for any clue. If importing directly from Bugzilla will still not work event there is a default value consider exporting from Bugzilla to a CSV file and then import it to JIRA. Maybe this option will work.

I hope that will help.

Best Regards,


During the import process, at the "Map values" step, there are some options that are under "Value from importer" that have to be mapped to "Target value in Jira", if the default value in Bugzilla is "---" that value does not show up in the "Value from importer" list. As a result that field in Jira is empty after the import. How can I make the importer plugin recognize the "---" option?

As for the type of field, I am using three different types, Text field <255, Number field and Select List, and the problem of the missing "---" is in all three fields.

I have also experimented with the CSV import option. I found that all the dates get reset to the date the import was done on. There is no easy way to import attachments, comments, depends on and blocks fields.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,802 views 11 18
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
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