Documentation for JIRA 4.1. Documentation for other versions of JIRA is available too.

概要

This page answers some of the commonly asked CSV questions our technical support staffs have encountered. If you are not able to find an answer from this page and our issue tracker, feel free to create a support issue.

For more information about JIRA's built-in CSV Importer, please refer to this page.

よくあるご質問

CSV ファイルでインポーターがまったく動作しません!

Please make sure that it is a valid and not-bad-formatted CSV file. You should be able to spot this with by turning on detailed logging and profiling. Also, please double check your configuration file and ensure that it's properly configured, e.g. exact delimiter, date format, etc.

インポーターが日付フィールドで失敗する

以下のようなエラー メッセージが表示される場合:

[00:55:28] FAILED: Customfield value 01/Nov/06 12:00 AM is invalid
[00:55:28] com.atlassian.jira.issue.customfields.impl.FieldValidationException: Invalid date format. Please enter the date in the format "MMM/dd/yy".
at com.atlassian.jira.issue.customfields.converters.DatePickerConverter.getTimestamp(DatePickerConverter.java:57)
at com.atlassian.jira.issue.customfields.impl.DateCFType.getSingularObjectFromString(DateCFType.java:46)
at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.importIssues(DefaultJiraDataImporter.java:531)
at com.atlassian.jira.imports.importer.impl.DefaultJiraDataImporter.doImport(DefaultJiraDataImporter.java:104)
at com.atlassian.jira.imports.importer.impl.ImporterThread.run(ImporterThread.java:21)

いくつかの理由が考えられます。

  • Date format is not correctly set in the import configuration file
  • 日付ピッカーと日時ピッカーのフォーマットが一貫していません。例:
    jira.date.picker.java.format=dd/MMM/yy
    jira.date.time.picker.java.format=MMM/dd/yy hh:mm a
    
    以下のように修正してください。
    jira.date.picker.java.format=dd/MMM/yy
    jira.date.time.picker.java.format=dd/MMM/yy hh:mm a
    

インポーターが常にカラムに値をマッピングするよう(ステップ3/5で)尋ねてくる

これは、特定の列に対してフィールド値のマッピングをオンにしているためです。CSV から値を使用するには、対応する JIRA フィールドに列をマッピングするか、フィールド値のマッピングチェックボックスをオンにする必要があります。

Why doesn't the importer recognize the extra columns for comments?

This is actually a known issue being raised at JRA-10945. Please try the workaround as suggested in the issue. Alternatively, you can write your own comment mapper for more flexibility to meet your requirements.

既知の問題

Why couldn't I import issues with other languages?

Setting the -Dfile.encoding=utf8 parameter should be able to fix your problem. Otherwise, you may like to vote for this issue at JRA-11614.

カスケード選択フィールドからインポートできない

This is an open issue being tracked at JRA-5775. Feel free to comment and vote on it.

Why couldn't I create subtasks?

This is an open issue being tracked at JRA-6323. Feel free to comment and vote on it.

コンポーネント/バージョン カスタム フィールドをインポートできない

This is an open issue being tracked at JRA-10933. Feel free to comment and vote on it.