Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.3.2
-
7.03
-
13
-
Severity 3 - Minor
-
1
-
Description
Problem definition
While importing a CSV file into existing project (defined in CSV), an error message about invalid project key appears after mapping the value. However, the project key is correctly defined in the CSV file and correctly mapped. The actual problem is with the project name but the error message could mislead the admins.
Steps to reproduce the issue
Scenario 1: There is a leading or trailing space in the project name
- Create a project named DESK * (with a trailing space) and project key as *DESK.
- Create CSV file below.
Project Name,Project Key,Summary DESK,DESK,CSV bug
- Go to Administration > System > External System Import > CSV and import the CSV file.
- Map the fields accordingly to import the issue.
Scenario 2: Case sensitive
- Create CSV file below.
Project Name,Project Key,Summary Desk,DESK,CSV bug
- Go to Administration > System > External System Import > CSV and import the CSV file.
- Map the fields accordingly to import the issue.
Expected result
The CSV file is imported successfully.
Actual result
It's not possible to proceed after mapping the fields as the error below occurs on the screen.
Invalid project key DESK: Project key or name is already used. If you want to import to an existing project the name and the key must match it exactly.
Workaround
- To identify if there's any leading or trailing space in the project name, use the SQL query below. The name can then be changed via the UI to eliminate the space.
select * from project where pname like ' %' or pname like '% ';
- Make sure the project name value in the CSV file is exactly the same as per the project name.
Attachments
Issue Links
- is cloned from
-
JRACLOUD-66117 User gets an unclear error message while importing CSV file into existing project
- Closed
- mentioned in
-
Page Loading...