From 0a5a6a58787bc0a4595433dd6831d2b4c2f7993e Mon Sep 17 00:00:00 2001 From: Marcel Kornegoor Date: Tue, 7 Feb 2023 15:02:13 +0000 Subject: [PATCH 1/3] Added warning about quick actions (labels, milestones and users must exist) --- doc/user/project/issues/csv_import.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/user/project/issues/csv_import.md b/doc/user/project/issues/csv_import.md index 8db04972ff35b6..07390f2c99f840 100644 --- a/doc/user/project/issues/csv_import.md +++ b/doc/user/project/issues/csv_import.md @@ -60,6 +60,8 @@ when using [quick actions](../quick_actions.md)), surround the characters with d When using [quick actions](../quick_actions.md), each action must be on a separate line. +:warning: for some quick actions, like `/label` and `/milestone` the label or milestone it refers to needs to exist already within the project. Also, the person you assign the issue to needs to be part of the project. The CSV import doesn't create anything that doesn't exist yet. + Sample CSV data: ```plaintext -- GitLab From 4da7a197d5b6d7e0b9839e27f3b47acd659d3b84 Mon Sep 17 00:00:00 2001 From: Evan Read Date: Wed, 8 Feb 2023 20:26:47 +0000 Subject: [PATCH 2/3] (slightly) adapted text --- doc/user/project/issues/csv_import.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/user/project/issues/csv_import.md b/doc/user/project/issues/csv_import.md index 07390f2c99f840..26feb6754dc0cc 100644 --- a/doc/user/project/issues/csv_import.md +++ b/doc/user/project/issues/csv_import.md @@ -58,9 +58,13 @@ To import issues, GitLab requires CSV files have a specific format: If you have special characters (for example, `,` or `\n`) or multiple lines in a field (for example, when using [quick actions](../quick_actions.md)), surround the characters with double quotes (`"`). -When using [quick actions](../quick_actions.md), each action must be on a separate line. +Also when using [quick actions](../quick_actions.md): -:warning: for some quick actions, like `/label` and `/milestone` the label or milestone it refers to needs to exist already within the project. Also, the person you assign the issue to needs to be part of the project. The CSV import doesn't create anything that doesn't exist yet. +- Each action must be on a separate line. +- For quick actions like `/label` and `/milestone`, the label or milestone must already exist in the project. +- The user you assign the issue to must be a member of the project. + +The CSV import doesn't create anything that doesn't already exist. Sample CSV data: -- GitLab From 6d117150036eaae344b97133e899ade2e2cbc868 Mon Sep 17 00:00:00 2001 From: Evan Read Date: Fri, 17 Feb 2023 01:29:11 +0000 Subject: [PATCH 3/3] Apply 1 suggestion(s) to 1 file(s) --- doc/user/project/issues/csv_import.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/user/project/issues/csv_import.md b/doc/user/project/issues/csv_import.md index 26feb6754dc0cc..508499fc154cf8 100644 --- a/doc/user/project/issues/csv_import.md +++ b/doc/user/project/issues/csv_import.md @@ -64,8 +64,6 @@ Also when using [quick actions](../quick_actions.md): - For quick actions like `/label` and `/milestone`, the label or milestone must already exist in the project. - The user you assign the issue to must be a member of the project. -The CSV import doesn't create anything that doesn't already exist. - Sample CSV data: ```plaintext -- GitLab