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

概要

This page answers some of the commonly asked CSV questions our technical support staff 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.

よくあるご質問

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
    

(info) See Changing the Due Date Input Format for more information about changing these values.

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

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

既知の問題

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

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

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

This issue is being tracked at JIM-233. Feel free to comment on it.

既知の問題 - JBoss

There is a known problem that prevents the CSV Importer from being used with JIRA instances running on JBoss 4.x. This is due to a compatibility issue between the JBoss 4.x commons-collections.jar and the JIRA commons-collections.jar. The workaround is to replace the commons-collections.jar in JBoss 4.x with the more recent JIRA version. Please see JRA-6473 for further details.