Character Encoding
The character encoding used for both import and export is UTF-8. Values in UTF-8 encoding ensure character integrity in the import and export results.
Character EncodingThe character encoding used for both import and export is UTF-8. Values in UTF-8 encoding ensure character integrity in the import and export results. Creation or UpdateEach line represents an object. An import creates, updates, or deletes the corresponding object depending on the value of the URI, External Id, and Operation columns. For more about these columns, see Line Values. Some columns are ignored during an update. For example, the Assignee and Dependencies columns are ignored except during creation. Level SyntaxEach line (except for the root project line) must have a "level" value. The "level" value represents the tree structure of the project and contents to import:
For example: LevelLevel,type,NAME ,Enterprise Project,Main Project 1,Gate,First main Milestone 2,Task,First Summary Task 2.1,Task,First main Task 2.2,Task,Second summary Task 2.2.1,Task,Deep Task 3,Phase,sub (team) project 3.1,Gate,First Milestone of sub-project 3.2,Task,First task of sub-project 3.3,Project,deeper project 3.3.1,Task,"Unique task, inside deeper project" 3.4,Task,"Second, and last, task of sub-project" Here is the imported structure: ![]() Note:
Some
spreadsheet programs interpret levels with one ‘.’ as numbers. This may cause problems if
the last part of the level ends with a 0, for example, 1.10 or 34.120. The trailing 0
might be removed, causing valid import files to become invalid. Therefore, it is
recommended not to use levels with one ‘.’ and a trailing 0. Instead of 1.10 you might
skip to 1.11. As an alternative, use another type of program to edit CSV
files.
Name SyntaxEach line must have a nonempty "name" value. The "name" value is free text used as the element's Title in Project Planning. Starting and trailing blanks are removed. Type SyntaxEach line (except for the root project’s line) must have a "type" value. Type is mapped as follows:
Note:
A Team Project cannot contain a sub Enterprise Project.
Subtype SyntaxA Subtype is optional for milestones. It defines its Type with one of these values: Approved, Closed, Defined, Deployed, Designed, Developed, External, Launched, and Planned. These values are case-insensitive. Dependencies SyntaxThe "dependencies" column contains the description of dependencies applying to the element. Each dependency is specified by:
Optionally:
Note:
In Project Planning, constraints can only be set between Gates, Tasks, and Milestones, not Projects. If two or more dependencies are defined, they must be separated by a comma ( , ). For example: Level,Type,Name,Dependencies 0,Project,Main Project, 1,Gate,First main Milestone, 2,Task,First main Task,1:FS3,Phase,sub-project, 3.1,Gate,First Milestone of sub-project,1:FS+1D 3.2,Task,First task of sub-project,"1:FS-1,4:SF+5D" 3.3,Project,deeper project, 3.3.1,Task,Unique task of deeper project,4:SS+4h For modifying and removing dependencies:
Resolution SyntaxGates are fully importable and exportable to a CSV file. Their type is "Gate" and a column named "Resolution" contains their resolution, if it is not blank. You can set one of the following resolution attribute field values in the CSV file: Go, Kill, Hold, Recycle, or Conditional Go.State SyntaxThe maturity "state" can contain only one of these values (case insensitive):
If another value is given, a warning will occur. If the "state" column is missing, or the "state" value is incorrect or empty, the Project Planning "To Do" state will be set by default. % SyntaxThe "%" is an integer indicating the percentage of completion of a Task. The "%" is ignored in Project Planning for Gate/Milestone or Project/Phase. If the "%" column is missing, incorrect, or empty, a percentage corresponding to the task's state will be used. For example: Level,type,NAME,state,% 0, ,Main Project,, 1,Gate,First main Milestone,, 2,Task,First main Task,In Work,30 3,Phase,sub-project,Ready, 3.1,Gate,First Milestone of sub-project,Preliminary, 3.2,Task,First task of sub-project,In Review,0 4,Task,Last main Task,Complete,100 Duration SyntaxA line defining a Task must have a valid "duration" value. Duration is ignored on lines describing a Gate/Milestone or a Project/Phase. A duration is expressed as an integer, optionally followed by a unit. The unit is case insensitive and can be:
For example: Level,type,Name,Start,End Date,duration 0, ,Main Project,,, 1,Gate,First Main Milestone,2018-12-01,, 2,Task,First Main Task,2018-12-01,2018-12-15,10D 3,Phase,sub-project,,, 3.1,Gate,First Milestone of sub-project,2018-12-07,, 3.2,Task,First task of sub-project,2018-12-07T08:00Z,2018-12-07T12:00Z,4 hours 3.3,Task,Last task of sub-project,2018-12-07,2018-12-09,2 Duration Offset SyntaxA line defining a task may have a valid "duration offset" value. Duration is ignored on lines describing a Gate/Milestone or a Project/Phase. A duration offset uses the same syntax as duration. The duration offset value should be less than or equal to the duration value. For example: level,type,name,start,end date,duration,duration offset 0, ,Main Project,,, 1,Gate,First main Milestone,2018-12-01,, 2,Task,First main Task,2018-12-01,2018-12-15,10D 3,Phase,sub-project,,, 3.1,Gate,First Milestone of sub-project,2018-12-07,, 3.2,Task,First task of sub-project,2018-12-07T08:00Z,2018-12-07T12:00Z,4 hours,2H 3.3,Task,Last task of sub-project,2018-12-07,2018-12-09,2,1 Fixed Start and Fixed End SyntaxA TRUE value sets the corresponding date as fixed. A FALSE value sets the corresponding date to not fixed. A “No Later Than" constraint is indicated by "<date". A "No Earlier Than" constraint is indicated by ">date". Start, Actual Start, End, Actual End Dates SyntaxThe line defining a Gate or Milestone must have a valid "start" (or "estimated start") value. if it is in the "Done" state, it may also have an "actual start date". The line defining a Task must have a valid "start" or "estimated start" value and a valid "end" or "estimated end" value. if it is "In Progress", it may also have an "actual start date". If it is "Done", it may have both an "actual start date" and an "actual end date". If an actual date is not provided, the corresponding estimated date is reused. Project start and end dates are exported/imported using the start and end date columns in the project line. Setting any of these dates on a project also creates a milestone with the Launched/Closed subtype, unless such a milestone is provided in the CSV file. If such milestones are provided and their dates are not consistent with the parent project start/end dates, the dates in the project line are used. Dates are ignored on lines describing a Phase. Most date and time formats supported by ECMA script are supported here, but it is recommended to use the ISO-8601 YYYY-MM-DD format. For example, September 27, 2012 is represented as 2012-09-27. You can also add time by appending the letter "T" followed by hh:mm or hh:mm:ss. For example, March 2, 2017 at 10 hours, 35 minutes and 2 seconds is represented as 2017-03-02T10:35:02. If you add time, you can also specify a time zone by adding the letter "Z" for UTC time (the default if no time zone is specified) or an offset to it in the expression "+" or "-" hh:mm (or only hh). For example, May 12, 2015 at 12:30 in Hawaii is represented as 2015-05-12T12:30-10:00. Dates in the CSV are handled as follows:
Note:
Some date syntax is potentially confusing. For example, 01/05/2019 can be interpreted (depending on local conventions), as May 1st or January 5th. Therefore, it is strongly recommended to use the ISO date standard. Owner SyntaxThe "owner" contains the login of the person who owns the element. Note:
This value is always ignored. In a new import the importing user becomes the owner of
the newly created elements. In addition, the owner does not change during an
update.
Assignees SyntaxThe "assignee" column can contain one or more persons or user profiles.
Only persons who have launched the Project Planning app at least once or are members of at least one project or assigned to at least one task can be assigned through import this way. If a person’s login is added to an assignee field and that person does not meet this condition, a warning is shown in the report window and the person is not assigned. You can specify users to add or remove as assignees on existing elements by adding a "+" or a "-" before their login or before the user profile "#nnn". Leaders, Authors, and Viewers SyntaxEach of these columns can contain a comma-separated list of logins of real persons, but not a reference to a user profile. These lsits are only taken into account on the Project line. You can specify users to add or remove by adding a "+" or a "-" before their login. Notes:
User Profiles SyntaxFor "export as file," a new line is added for each user profile:
For example:
For "update existing," user profile lines are ignored. Notes:
Restrict Access SyntaxThe column "Restrict Assignee’ is added in the exported CSV file, with the value "true" or "false" on enterprise project lines to reflect the "Restrict Assignee Access" status of the project. If present at import/update, this value is used to set/update the "Restrict Assignee Access" status of the enterprise project. It is ignored (no message) on other lines. An invalid value (not "true" or "false") is reported to the user and ignored. An empty value sets the default value (at import) or performs no change (at update). Description SyntaxThe "Description" value is free text used as an element’s Description in Project Planning. Starting and trailing blanks are removed. For example: Level,Type,Name,Description 0,Project,Root Project,some text about this project 1,Gate,First Main Milestone,"comments on ""this"" gate" Here is the imported structure: ![]() Note:
The
description can contain some formatting and is saved as rich text. Therefore, if the
description is edited in the property panel, some html tags (<p>) can be added. Those
are exported and should be expected.
Priority SyntaxPriority only applies to tasks and is ignored for other objects. Priority can contain one of these values (case-insensitive):
If another value is used, a warning occurs. If the "priority" column is missing, or the "priority" value is incorrect or empty, the "Medium" priority is set by default. Strategy SyntaxStrategy applies to projects. It contains the "Current Date" (default), "Start Date," "Start Date Using Planned Date,""End Date," or "End Date Using Planned Date" that corresponds to one of the supported scheduling-from strategies. Note:
The "End Date" strategy requires an end date on the project. A "Start Date" strategy
requires a start date on the project. If such a date is missing, an error displays in the
progress popup and the strategy is ignored.
Actual Date Strategy SyntaxThis column applies to a project. It contains either "keep planned dates" or "use current dates" (default). Template SyntaxTemplate applies only to root projects. If set to "true" (case-insensitive) this registers the whole project as a template. URI SyntaxIf the URI column contains a valid Project Planning URI, and an object with this URI exists, it is updated. If no object with this URI is found, an error is displayed and the line is ignored. This is intended for projects that are first created in Project Planning, then exported, and later reimported after the CSV file is modified. Do not fill in this column manually. Custom Extension SyntaxAt export:
For "import as new": If the input CSV file contains such columns, the import associates with each element the custom extension identified by the provided URI. It also sets the corresponding custom attribute values in the CSV to match the custom attribute specifications. On elements without a "custom extension" value, the custom attribute columns are ignored.
For "update existing":
External Id SyntaxThe external Id column is intended for importing projects from an external system. This column should contain a string that is unique to the object in question within its native system. This should use only characters in the following list:
If a line has a value in the External Id, the import looks for an existing object with the same combination External Id/External System and, if found it, updates it. If no object with this combination is found, a new one is created. External System SyntaxThe external system column is used with the External Id. It is highly recommended to always have an External System value when you have an External Id. All objects from the same system should have the same string in that column. Operation SyntaxThe Operation column is used only when updating an existing project. This column can have the value DELETE (case independent) or be blank. If DELETE, the existing object, defined at that line, either by its URI or by its external id/system, is deleted provided it does exist in the database and the user performing the update has rights to delete it. If not, a warning is issued and nothing is done. Contributes to SyntaxA JSON-formatted text that identifies the document associated with a backlog task in an Agile project. This JSON code must contain two fields: "service" (name of the service storing the document) and "identifier" (id of the document in that service). Note:
For at update, it is not possible to modify the "contributes to" of a backlog
task.
For more information, see the Developer Assistance topic about 3DPLAN REST services. Attachment and Deliverable SyntaxThese 2 columns contain one or more references to documents using the same JSON syntax as "Contributes To" or an array of such JSON code.
[{
"service" : "3DSpace",
"identifier" : "doc1",
"URI": "dscom:3DSpace_doc1"
},{...}]
Note:
For an update, you can add a new attachment or deliverable to an existing
element, but you cannot remove any.
Story Points SyntaxA positive number containing the story points associated to a task or backlog task in an Agile project. Iteration Capacity SyntaxA positive integer containing the iteration capacity of a project Esitmated Effort and Actual Effort SyntaxThese two columns contain the effort of a task, using the same notation as the Duration (for example, "10D" or "200 hours"). Color SyntaxIndicates the background color shown in the Schedule view for a project, task, milestone, or gate. The value contains the following: "#" (optional) followed by 6 hexadecimal characters (range 0 to 9, A to F). The first 2 characters are the red intensity, the next 2 the green, and last 2 the blue. Checklist SyntaxA JSON-formatted text that identifies the checklist associated with a project, task, milestone, or gate. Each checklist is an array of JSON objects with attributes that are case-sensitive:
Note:
"Done" is only valid for an item requiring a deliverable. "Yes" or "No" values
apply to items not requiring a deliverable.
For example:
Note:
For "import as new," the URI fields in the checklist are ignored (like the URI column)
in order to make an exact copy of a project.
|