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

0 votes
Accepted answer


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.

0 votes
Mirek Community Champion Mar 04, 2014


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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,789 views 18 22
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