Commit d19f2c28 authored by Mike Lewis's avatar Mike Lewis Committed by Achilleas Pipinellis

Edits to issues CSV import docs

parent 7363428c
...@@ -2,16 +2,30 @@ ...@@ -2,16 +2,30 @@
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23532) in GitLab 11.7. > [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23532) in GitLab 11.7.
Issues can be imported by uploading a CSV file. The file will be processed in the background and a notification email Issues can be imported to a project by uploading a CSV file. Supported fields are
will be sent to you once the import is completed. `title` and `description`.
The user uploading the CSV file will be set as the author of the imported issues.
> **Note:** A permission level of `Developer` or higher is required to import issues. > **Note:** A permission level of `Developer` or higher is required to import issues.
To import issues:
1. Ensure your CSV file meets the [file format](#csv-file-format) requirements.
1. Navigate to a project's Issues list page.
1. If existing issues are present, click the import icon at the top right, next to the **Edit issues** button.
1. For a project without any issues, click the button labeled **Import CSV** in the middle of the page.
1. Select the file and click the **Import issues** button.
The file is processed in the background and a notification email is sent
to you once the import is completed.
## CSV File Format ## CSV File Format
### Header row ### Header row
CSV files must contain a header row with at least two columns: `title` and `description`, in that order. CSV files must contain a header row beginning with at least two columns, `title` and `description`, in that order.
If additional columns are present, they will be ignored.
### Column separator ### Column separator
...@@ -33,7 +47,11 @@ a double-quote (`"`) within a quoted field, use two double-quote characters in s ...@@ -33,7 +47,11 @@ a double-quote (`"`) within a quoted field, use two double-quote characters in s
After the header row, succeeding rows must follow the same column order. The issue title is required while the After the header row, succeeding rows must follow the same column order. The issue title is required while the
description is optional. description is optional.
The user uploading the CSV file will be set as the author of the imported issues. ### File size
The limit depends on the configuration value of Max Attachment Size for the GitLab instance.
For GitLab.com, it is set to 10 MB.
## Sample Data ## Sample Data
......
...@@ -144,12 +144,12 @@ create various boards per project with [Multiple Issue Boards](https://docs.gitl ...@@ -144,12 +144,12 @@ create various boards per project with [Multiple Issue Boards](https://docs.gitl
### Import Issues from CSV ### Import Issues from CSV
From the project-level issues list, you can find the import button near the "Edit issues" button in the upper-right You can import a CSV file containing issue titles and descriptions to create
side. a batch of issues simultaneously.
![Import CSV button](img/import_csv_button.png) When you navigate to the Issues list page, an import button is displayed.
Learn more about [importing issues from CSV](csv_import.md) For further details, see [Importing issues from CSV](csv_import.md)
### External Issue Tracker ### External Issue Tracker
...@@ -157,14 +157,14 @@ Alternatively to GitLab's built-in Issue Tracker, you can also use an [external ...@@ -157,14 +157,14 @@ Alternatively to GitLab's built-in Issue Tracker, you can also use an [external
tracker](../../../integration/external-issue-tracker.md) such as Jira, Redmine, tracker](../../../integration/external-issue-tracker.md) such as Jira, Redmine,
or Bugzilla. or Bugzilla.
### Issue's API ### Issue API
Read through the [API documentation](../../../api/issues.md). See the [API documentation](../../../api/issues.md).
### Bulk editing issues ### Bulk editing issues
Find out about [bulk editing issues](../../project/bulk_editing.md). See the [bulk editing issues](../../project/bulk_editing.md) page.
### Similar issues ### Similar issues
Find out about [similar issues](similar_issues.md). See the [similar issues](similar_issues.md) page.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment