# Import Comments

You can import comments to ensure your team has all the necessary context.

## **Step1. Getting started**

Click the <img src="https://content.gitbook.com/content/82xNC1Ys5v6uBFzxm0j9/blobs/5RFSLIElHcQGsJEgBWic/image.png" alt="" data-size="line">icon on the upper right corner of the work table, and select **Import comments**.

<figure><img src="https://313109684-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F82xNC1Ys5v6uBFzxm0j9%2Fuploads%2F0aOdeJL2mpIHu6RTuCZg%2Fimage.png?alt=media&#x26;token=cc7afedd-4ce6-4e4a-bdfb-5b5709f0104c" alt=""><figcaption></figcaption></figure>

You can use comments exported from another system, or prepare the import file using the provided template.

{% hint style="info" %}
Work items need to be imported before comments can be imported. The work item ID is used to associate imported comments with specific work item.
{% endhint %}

## **Step2. Prepare** import file

* Include two columns in the file: ID and Comment. Rows with the same ID will have comments associated with the same work item.
* For IDs used in the import file, the corresponding work items must exist in the project; otherwise these rows will not be imported.

<figure><img src="https://content.gitbook.com/content/82xNC1Ys5v6uBFzxm0j9/blobs/ekbTW2uYSzXa9w4XTapV/image.png" alt=""><figcaption></figcaption></figure>

## **Step3. Upload import file**

Click the **Upload File** button to upload your prepared import file.

<figure><img src="https://313109684-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F82xNC1Ys5v6uBFzxm0j9%2Fuploads%2FI3M9zcA4l15TEIcQ7xC1%2Fimage.png?alt=media&#x26;token=868e2480-d27d-4438-8248-b3daf9ddaaee" alt=""><figcaption></figcaption></figure>

## **Step4.** Finalize importing into Leiga

Click **Start Importing** to complete the import. After importing, view the results in the bottom left corner. In case of any failures, you can download the error file to review the details.

The creator of imported comments will be displayed as "Automation".

<figure><img src="https://313109684-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F82xNC1Ys5v6uBFzxm0j9%2Fuploads%2FfGoZZslUECbLhmeMGGnZ%2Fimage.png?alt=media&#x26;token=7b5e4619-d2dc-4560-8a52-b595b7de10a9" alt=""><figcaption></figcaption></figure>
