Documentation for JIRA 5.0. Documentation for other versions of JIRA is available too. 
![]()
The JIRA Importers plugin, which is bundled with JIRA, allows you to import your data from a comma-separated value (CSV) file. CSV files are text files representing tabulated data and are supported by most applications that handle tabulated data (for e.g. Microsoft Excel, databases, etc.).
CSV インポート機能により、次のような外部(課題トラッキング)システムから課題をインポートできます。
Our main website highlights some top reasons why people migrate from such an external issue tracking system to JIRA.
CSV インポート プロセスの手順
注意:
On this page:
JIRA インポータープラグインは、CSV ファイルがデフォルトの Microsoft Excel 形式の CSV ファイルに基づいているものと想定します。フィールドはコンマで区切られ、文字どおりに扱われる必要のあるコンテンツ (コンマや改行/「キャリッジリターン」そのもの) は、引用符で囲まれます。
Microsoft Excel と OpenOffice の場合、セル内の値を引用符で囲む必要はありません。これらのアプリケーションでは、自動でこの処理が行われます。
CSV ファイルには、"適切に構造化されている" ことに加えて次の要件があります。
The CSV file import wizard (below) uses a CSV file's header row to determine how to map data from the CSV file's 2nd row and beyond to fields in JIRA.
The header row should avoid containing any punctuation (apart from the commas separating each column) or the importer may not work correctly.
The header row must contain a column for 'Summary' data.
たとえば、以下は有効です。
Summary, Assignee, Reporter, Issue Type, Description, Priority "Test issue", admin, admin, 1, ,
しかし、以下は無効です。
Summary, Assignee, Reporter, Issue Type, Description, Priority "Test issue", admin, admin, 1
Use double-quote marks (") in your CSV file to capture data that spans multiple lines. For example, upon import, JIRA will treat the following as a valid CSV file with a single record:
Summary, Description, Status "Login fails", "This is on a new line", Open
Use double-quote marks (") around a section of text to treat any special characters in that section literally. Once this data is imported into JIRA, these special characters will be stored as part of JIRA's field data. Examples of special characters include carriage returns/enter characters (as shown in the example above), commas, etc.
二重引用符を文字どおりに扱うようにするには、もう 1 つ二重引用符を追加して "エスケープ" します。したがって、CSV 値は次のようになります。
"Clicking the ""Add"" button results in a page not found error"Clicking the "Add" button results in a page not found errorYou can import multiple values into a JIRA field that accepts multiple values (e.g. Fix (for) Version, Affects Version, Component, Labels). To do this, your CSV file must specify the same column name for each value you wish to aggregate into the mapped JIRA field. The number of column names specified must match the maximum number of values to be aggregated into the mapped field. For example:
IssueType, Summary, FixVersion, FixVersion, FixVersion, Component, Component bug, "First issue", v1, , , Component1, bug, "Second issue", v2, , , Component1, Component2 bug, "Third issue", v1, v2, v3, Component1,
In the above example, the Component field of the second issue and the Fix Version field of the third issue will generate multiple values in appropriate JIRA fields upon import.
複数の値をサポートしている JIRA フィールドは限定されているので注意してください。CSV インポーターは、単一の値のみをサポートしている JIRA フィールドへの集約データのインポートを許可しません。
CSV ファイルから作成された課題にファイルを添付できます。これを行うには、CSV ファイル内の "Attachments" 列で、添付ファイルの URL を指定します。
Assignee, Summary, Description, Attachment, Comment Admin, "Issue demonstrating the CSV attachment import", "Please check the attached image below.", https://jira-server:8080/secure/attachment/image-name.png, "01/01/2012 10:10;Admin; This comment works"
URLs for attachments only support the HTTP and HTTPS protocols and can be any location that your JIRA server must be able to access.
CSV ファイルで構造をカプセル化することにより、CSV ファイルのインポートを通して課題のサブタスクを作成できます。この操作を行うには、次の手順を実行します。
例:
IssueType, Summary, FixVersion, FixVersion, FixVersion, Component, Component, Issue ID, Parent ID, Reporter bug, "First issue", v1, , , Component1, , 1, , jbloggs bug, "Second issue", v2, , , Component1, Component2, 2, , fferdinando bug, "Third issue", v1, v2, v3, Component1, , 3, , fferdinando subtask, "Fourth issue", v1, v2, , Component2, , , 2, jbloggs
In the example above, the fourth issue will be sub-task of the second issue upon import, assuming you match the 'Issue ID' and 'Parent ID' fields in your CSV file to the Issue Id and Parent Id JIRA fields, respectively during the CSV file import wizard.
CSV ファイルのインポートを通じて、課題を CSV ファイルから様々な JIRA プロジェクトにインポートできます。この操作を行うには:
IssueType, Summary, Project Name, Project Key bug, "First issue", Sample, SAMP bug, "Second issue", Sample, SAMP task, "Third issue", Example, EXAM
In the example above, the first and second issues will be imported into the 'Sample' project (with project key 'SAMP') and the third issue will be imported into the 'Example' project (with project key 'EXAM') , assuming you match the 'Project Name' and 'Project Key' fields in your CSV file to the Project name and Project key JIRA fields, respectively during the CSV file import wizard.
Your CSV file can contain comments which are not processed by the CSV file import wizard. Any text appearing to the right of a hash (#) symbol on a line of text in the CSV file will be disregarded by the import wizard. For example:
Assignee, Summary, Comment Admin, "Test issue", "This is a comment that will be added to the issue once imported into JIRA" # And this is a comment that will not be processed by the JIRA import wizard.
Comments are useful if you want to add additional information to the CSV file that you do not want JIRA to import.
If your JIRA installation has existing data, then before you begin, back up your existing JIRA data.
プロジェクト マッピングの設定ページで、すべての課題を 1 つの JIRA プロジェクト(新規または既存)にインポートするか、または(CSV ファイルに必要な最小限の JIRA プロジェクト データ - すなわち、JIRA プロジェクト名とキーが含まれるようにして )複数の JIRA プロジェクトにインポートするか、いずれかの設定が可能です。次のフィールド/オプションを入力します。
| JIRA プロジェクトへのインポート | 以下のいずれかを選択します。
|
| 新規ユーザー用のメール識別子 | CSV ファイルで指定され、インポート中に JIRA に追加される新規ユーザー用のメールアドレス ドメインを入力します。 |
| インポートファイルの日付形式 | Specify the date format used in your CSV file. Use the syntax that complies with the Java SimpleDateFormat. |
Click the Next button to proceed to the Setup field mappings step of the CSV file import wizard.
On the Setup field mappings page, specify each CSV Field (determined by your CSV file's header row) you want to import into your chosen JIRA project by selecting their check boxes under the Import column on the left. Please Note:
少なくとも、これらのフィールドのいずれかに JIRA のサマリ フィールドのデータが含まれている必要があります。
If your CSV file contains more than one of the same field name specified in its header row, the CSV file import wizard will aggregate these into a single field, which will be marked by a symbol at this step of the wizard.
In the JIRA field column, select the JIRA fields you want to match to fields defined in your CSV file (i.e. each CSV Field you selected in the previous step). For more information about matching CSV fields to JIRA fields, see Tips for importing CSV data into JIRA fields below. Please Note:
サマリ フィールドは、JIRA フィールドのいずれかを指定してマッピングする必要があります。これを行うまでは、次へ ボタンは使用不可のままとなります。
CSV ファイル インポート ウィザードによって集約された CSV フィールドに対しては、複数の値をサポートする JIRA フィールドしか選択できません。
値を現状のままインポートしたい場合は、フィールドを空欄のままにしておくか、フィールド内のコンテンツを消去します。
You can create new Priority, Resolution and Issue Type values in JIRA (i.e. based on the data in your CSV file) by clicking the Add new ... link (e.g. Add new issue type 'subtask' shown in the screenshot above) next to the appropriate field.
If you are importing a username-based CSV field (e.g. Reporter or Assignee) and you do not select the Map field value check box for this field in the previous step of the CSV file import wizard, then the importer will automatically map imported usernames from the CSV file to (lowercase) JIRA usernames. Regardless of whether or not you specify a mapping for these username fields, JIRA will automatically create usernames based on the data in your CSV file if they have not already been defined in JIRA.
Congratulations, you have successfully imported your CSV data into JIRA! If you have any questions or encounter any problems, please contact Atlassian support.
データを CSV ファイルから特定の JIRA フィールドにインポートする場合に役立つヒントを以下に示します。
JIRA フィールド | インポート時の注意 |
|---|---|
プロジェクト | CSV データはプロジェクト単位でインポートされます。対象として既存の JIRA プロジェクトを指定できますが、指定しなくても、インポート時にインポーターが自動的に新規プロジェクトを作成します。 |
要約 | これは唯一の必須フィールドです。 |
コンポーネント | 単独の列に各コンポーネントを入力することで、複数のコンポーネントを持つ課題をインポートできます。 |
影響バージョン | 単独の列に各バージョンを入力することで、複数の「影響バージョン」を持つ課題をインポートできます。 |
修正バージョン | 個別の列に各バージョンを入力することで、複数の "修正バージョン" を持つ課題をインポートできます。 |
コメント本文 | 単独の列に各コメントを入力することで、複数のコメントを持つ課題をインポートできます。 |
作成日 | CSV インポート ウィザードの 2 番目の手順で指定した日付形式を使用してください。 |
更新日 | CSV インポート ウィザードの 2 番目の手順で指定した日付形式を使用してください。 |
期日 | CSV インポート ウィザードの 2 番目の手順で指定した日付形式を使用してください。 |
課題タイプ | CSV ファイルで指定されていない場合、インポートされた課題には、JIRA システムの「課題タイプ」フィールド値を定義するで指定されているように、デフォルト (最初) の課題タイプが与えられます。インポート処理中にオンザフライで新しい JIRA 値 を作成することもできます。 |
ラベル | 単独の列に各ラベルを入力することで、複数のラベルを持つ課題をインポートできます。 |
Priority | CSV ファイルで指定されていない場合、インポートされた課題には、 JIRA システムの「優先度」フィールドの値を定義するで指定されているように、デフォルト (最初) の優先度が与えられます。インポート処理中にオンザフライで新しい JIRA 値を作成することもできます。 |
ソリューション | If not specified in your CSV file, imported issues will be given the default (i.e. first) Resolution as specified in your JIRA system Defining 'Resolution' Field Values. You can also create new JIRA values on-the-fly during the import process. |
ステータス | JIRA の既存のワークフロー ステータスにのみマッピングできます。CSV ファイルでステータスが指定されていない場合、インポートされた課題には、 JIRA システムで指定されているように、既定(すなわち、1 番目)のステータスが設定されます。 |
初期見積り | このフィールドの値は、秒数で指定する必要があります。 |
残余見積り | このフィールドの値は、秒数で指定する必要があります。 |
消費時間 | このフィールドの値は、秒数で指定する必要があります。 |
ユーザー | 担当者または報告者フィールドの値として、インポーターに JIRA ユーザーを自動で作成させることも可能です。
|
その他のフィールド | If your wish to import any other fields, you can choose to map them to specific JIRA custom field(s). If your custom fields don't yet exist in JIRA, the importer can automatically create them for you. If your custom field is a date field, please use the date format specified on the second step of the CSV import wizard. |