How to bulk add options to custom fields via the Jira CSV Import

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

It is not well known that you can add multiple options to a Select List (multiple choices) custom fields, via a .csv External System Import. This article aims to shed some light on this process as it can assist admins in creating/updating this type of field.

環境

Jira Server/Data Center on any version from 9.0.0.

CSV ファイルの準備

To be able to add multiple options to the custom field, you will need to add as many columns as options you want to add to the field to the CSV file. Each of these column will include the field name in the header row, and the option in the non header row.

例:

  • Let's assume that you have a Select Field custom field called "Multi Choice Field", and that you want to add 3 values to this field (Option 1, Option 2 and Option 3) in the issue key SCRUM-23
  • To update this field using the CSV import, you will need to have in the CSV file:
    • 1 column which includes the issue key of the issue that you wish to update
    • 1 column which includes the issue summary (this field is mandatory for the import to work)
    • 3 columns, which each include 1 option to add to the custom field
  • The CSV file will look like this:

    Issue key,Multi Choice Field,Multi Choice Field,Multi Choice Field,Summary
    SCRUM-23,Option 1,Option 2,Option 3,"Some Summary"

インポート

To import the data, follow the steps outlined in this article, making sure to map our three columns to the appropriate fields. During the CSV import, you will go through the steps below:

  • Step where you need to map the fields listed in the CSV file to the fields from the Jira application:
  • Step where you need to map the options listed in the CSV file to the options configured for the custom field in the Jira application


After the Import process is finished, you should see the values informed in the .csv as valid options added to the Select Custom Field:



最終更新日 2024 年 8 月 29 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.