OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/docs/system-admin-guide/integrations/excel-synchronization
Andrej Sandorf 35c618c1dc
Feat/docs cleanup [skip ci] (#9942)
3 years ago
..
Choose-project-900x479@2x.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Ctrl-B.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Download-Excel.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Enable-content-and-macros-1594297486714.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Excel-OpenProject-synch-900x630@2x.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Insert-children-1024x605.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Open-Excel-900x479@2x-1594297430589.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Parent-child-OpenProject.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
README.md feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Search-character-parent.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
Select-columns.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago
image-20211014153150017.png feat(docs): changes & cleanup [skip ci] (#9941) 3 years ago

README.md

sidebar_navigation description robots keywords
[{title Excel synchronization} {priority 599}] Excel synchronization with OpenProject index, follow Excel

Excel synchronization with OpenProject

Video tutorials

Download and upload

See how to set up the synchronization between OpenProject work packages and MS Excel.

Synchronize custom queries (views)

See how to synchronize custom work package queries from OpenProject in MS Excel.

Synchronize hierarchies

See how to synchronize work package hierarchies in OpenProject with MS Excel.

Synchronize relations

The OpenProject Excel synchronization also supports relations. To update the relations try the following steps:

  1. Open the Excel file.
  2. Prepare the headline (choose "*Relations" from drop-down).
  3. Close the file (don't forget to save before).
  4. Open the file and download the work packages.

You will then get the relations in your Excel file.

Syntax: {type of relation} {id}, {type of relation} {id}, etc.

Example: "follows 12345, precedes 45678"

Unfortunately, there is no way to create relation with translated terms via API at the moment. You have to use these terms instead: Relation Edit Form API

allowd-values

Step-by-step guide

Setting-up the Excel list

  1. In order to upload your tasks from an existing Excel list to OpenProject, you need to go to OpenProjectExcel on GitHub.

  2. Click on the green Clone or download button.

  3. Choose the option Download ZIP.

    Download-Excel

  4. Then, you need to extract the ZIP file and open the OpenProjectAPI Excel document.

Open-Excel-900x479@2x

  1. Next, within the Excel document you are asked to Enable Editing.

  2. Enable Content to activate macros within your document.

Enable-content-and-macros

  1. Enter settings (URL and API-Token) and choose a project (and optional a work package query) which you want to synchronize your data with.

Choose-project-900x479@2x

URL: the URL of your OpenProject instance. API-Token: can be generated within your OpenProject installation ->My Account -> Access token. Generate a new API token and copy & paste it to this form. Project: this is the project identifier which can be found within the project you want to synchronize -> Project settings -> Information. It is also shown in the URL if you open a project. Query ID (this field is optional): enter the ID of a work package query within a project with that you want to synchronize your Excel list.

  1. Set as default: enable to remember the settings as default.

  2. Accept to start the synchronization.

  3. You need to select a minimum of columns to start with the synchronization. For column selection, click in the header and open the drop down which opens next to the regular drop down icon: Select the following column headers at a minimum: Updatestatus Lock Version ID Subject

Additionally, you can select as many other columns that should be synchronized – always by clicking in the header and selecting the drop down icon which appears next to the regular icon. You will have all fields available, incl. custom fields.

Important: make sure you have all fields that need to be synchronized from your Excel list also available in OpenProject. Some might be created beforehand as custom fields in OpenProject. Attributes that do not exist in the selected project within OpenProject are NOT available in the headline. They cannot be selected in the header (via the drop-down). Neither can you just create a new column with an attribute that does not exist in OpenProject. This will generate an error message.

Copy and paste all data accordingly from your existing Excel list to this sheet.

Select-columns

  1. Important: Ctrl + B will open the synchronization module to choose between the following options:

Ctrl-B

Download workpackages: initially downloads all work packages from the selected project (and query). Upload / update work packages: makes changes to the work packages, e.g. adding new work packages or changing any information. This option needs to be chosen in order to initially import and existing Excel list. Show chosen project: Opens the settings to adapt URL, API key, project or query ID.

Congratulations! You can now synchronize your data between Excel and OpenProject.

Excel-OpenProject-synch-900x630@2x

  1. To synchronize hierarchies (Parent and child relations), insert the column Parent within the header of the Excel Sheet as described above (screen 10).

To add or edit a new parent-child relation, you have two possibilities:

A) You can add a child to a work package when you enter 4 empty spaces (press 4x Space) before typing the subject of the child work package.

insert-children

Expert tip: it does not have to be empty spaces (default 4 empty spaces) to separate the next hierarchy. You can also take a „-“ and for the next hierarchy „—“. But the disadvantage is that the hyphen will also be displayed in the work package subject. Therefore we recommend the spaces, because they will not appear in OpenProject.

  1. Pressing Ctrl + B and selecting Upload / update work packages will open a window to define a new character for setting a parent-child-relationship (default is 4 empty spaces).

Click OK when the screen for the Search characters (screen 13) appears. The IDs in the Parent column will then be automatically updated.

Search-character-parent

Pressing Cancel will ignore the Hierarchy – no matter what has been inserted. This is relevant for option B:

B) you can edit the IDs in the parent column manually. If you have edited the IDs manually in the parent column, just click Cancel when the above Search character option (screen 13) appears. Then, the hierarchy will be updated according to the IDs in the column Parent.

  1. The parent-child-relation will be displayed in OpenProject.

Parent-child-OpenProject

Hopefully, this will save you lots of time to import all your old Excel To-Do lists and get started with OpenProject for project management.