Skip to main content

 

Planview Customer Success Center

Setting up the PPM Pro - LeanKit Integration (v2)

Setting up the integration between PPM Pro and LeanKit requires a PPM Pro administrator and a LeanKit Board admin - can be the same person. PPM Pro Admin permissions and LeanKit Manage permissions are required.

           

NOTE

At this time, an individual PPM Pro project can be integrated with EITHER Projectplace OR LeanKit. Syncing a PPM Pro project with both Projectplace and LeanKit is not supported at this time but should be coming soon.

           

Before You Begin

Before configuring the LeanKit/PPM Pro integration, you must first enlist Customer Care to enable support for the feature. Once the feature is enabled, you will configure PPM Pro and LeanKit as described below. After setup is complete, end-users can find information about using the tools together in Using PPM Pro and LeanKit (Phase 2).

           

NOTE

For users of PPM Pro/LeanKit integration v1: You cannot have v1 and v2 integration active at the same time. When you notify Customer Care to enable V2, the V1 integration will be disabled.

           

Set Up Initial Sync  

We assume that you have PPM Pro and LeanKit instances already set up and running. The first thing to do once the feature is enabled by Customer Care is to give PPM Pro the LeanKit hostname, and setup and select PPM Pro's default LeanKit board.

You cannot begin configuring the integration until Customer Care lets you know they have enabled your customer instance, on both LeanKit and PPM Pro. You can double-check this is the case by logging into PPM Pro, navigating to Admin/Organization/Info, and confirming that you see these two fields within the Basic Information section:

Screen Shot 2021-06-12 at 5.03.20 PM.png

Set Up Default LK (Available) Board

  1. In LeanKit,  open the board you wish to use in the integration with PPM Pro and choose Board Settings.

Board Settings.png

  1. In the modal that opens, click "Planview Sync" from the list of links down the left side of the modal, as shown below:

available_board.png

  1. Enable the checkbox next to "Available for integration with supported Planview products" as shown in the screenshot above. We will finish configuring this board later - for now now, this board can participate in the integration, but no work creation has been enabled.
  2. Grab your LeanKit hostname and copy to clipboard. The hostname is the portion or your LeanKit URL appearing before "/board" or "/card". For example, if your LeanKit URL is https://customer.leankit.io/board/10123649309, then the hostname is "https://customer.leankit.io".

Set PPM Pro Admin/Organization/Info Fields

  1. Log in to PPM Pro and navigate to Admin/Organization/Info.
  2. Paste in Hostname.
  3. Locate the field "LK Default Board" drop list and choose the board you just configured. Multiple boards can be integrated, and any other boards you enable for the integration will appear in this list. The selected value is just used as a default - you can select a different board when creating a project, but if for some reason you do not select a board, or you only ever want to use one board, this default board will be used.
  4. Save. Note: You need to set both of these required fields before you can save the changes in PPM Pro.

Below is an example of valid values for both the Hostname and Default LeanKit Board:

2021-06-12_17-58-43.png

Identify/Create LeanKit Card Types and Populate PPM Pro Lookup List

When the integration is enabled, a new empty PPM Pro lookup list will be created, called Organization LeanKit Card Types. You will need to populate this list with the names of LeanKit card types you want to be able to create in LeanKit by PPM Pro.

Each LeanKit board has at least one card type, often more. Any card type can be used in the integration to create a card of that type, based on a PPM Pro linked category (categories are linked by card types). Once you identify or create the card types you wish to use you'll populate a PPM Pro lookup list with the card type names, explained below. Once you populate the lookup list you can map card types to PPM Pro categories. If you're going to use multiple boards and plan on moving integrated cards between them, make sure the card type names match on the boards.

  1. In LeanKit, navigate to Card Types for the board you are using for the integration (shown below).

card_types.png

  1. Peruse the list of card types (and create additional types if necessary) and jot down which ones you want PPM Pro entities to create cards for in LeanKit. For example, you might want to include Agile Task, Defect, Risk, and Issue.
  2. In PPM Pro, navigate to Admin/Setup/Lookup Lists and locate the list "Organization LeanKit Card Type", as shown below

lookup_list.png

  1. Click New and enter a card name, such as "Agile Task". Repeat for each card type you want to use with the integration. Note that this lookup list is not maintained automatically. If a card type is removed from LeanKit, you'll have to manually remove it from the PPM Pro lookup list, and if you add a value in PPM Pro, you'll have to add it manually in LeanKit (remember the lookup list value titles must be spelled exactly the same as the corresponding card type names).

Configure Entity Categories (Default LK Card Type)

           

NOTE

Each card type can only be mapped to one category across all entity types (projects/tasks/issues).

           

You can make one or more entity categories integration-ready by selecting a card type from the category's LK Default Card Type field. This list is comprised of the values you entered in the Organization LeanKit Card Type lookup list mentioned above. The card type you choose for an entity's category tells LeanKit to create a card of that type when you create an entity of that category. The category also tells the system which field mappings to honor. See Mapping Fields.

In addition, you'll need to include the "Sync with LeanKit" field in the project category Details (or Additional Details or Settings) so the integration can be activated and de-activated. Finally, if you want your task and issue categories to be able to sync to boards other than the project board (syncing to project board is default behavior), you can optionally add the Default Task Board and the Default Issue Board fields. You may also want to add and map other LeanKit standard fields as well. Depending on the number of LeanKit fields you add, consider if it makes sense to add these to existing project categories or perhaps to copy a project category specifically for integration and add fields to it; you might not want to clutter existing project category details unnecessarily if a majority of their projects will not be integrated.

           

NOTE

With the LeanKit integration enabled an additional section for project categories called LeanKit Default Card Type appears on the categories grid all the way to the right side (for readability, we moved the section next to Title for this screenshot). Once you select the default card type for a category (described below), the value will appear in the category's LK Default Card Type section (rather than a checkbox like other selected sections):
2021-06-12_18-47-45.png

           

Note: The instructions that follow are for setting up a project category. If you want to include tasks and/or issues you'll follow the same instructions for their respective categories.

  1. Navigate to Admin/Setup/All Entities/Projects/Categories and take a look at the list of categories. Decide whether to use an existing category or create a new one. This example uses the category Agile Feature Work.
  2. Edit the category and select a value for the LK Default Card Type field (in the example, Feature) you want to assign to projects of this category. The screenshot below shows the LK Default Card Type field and its possible values. These values come directly from the lookup list you configured above. Also, in this example Additional Details has been renamed to "Integration Details" and we will be putting integration fields in that section (instead of Details or Settings - any of these sections is fine).

default_cat_card.png

  1. After you select the card type click Save.

You can now see that "Feature" appears as the assigned Default LeanKit Card Type for the Agile Feature Work category:

2021-06-12_18-47-45.png

  1. Navigate to Admin/Setup/All Entities/Projects/Additional Details. (These instructions assume you will put the "Sync to LeanKit" field on Additional Details, which was renamed Integration Details above).
  2. Choose the Category you are using for the integration (in this example Agile Feature Work) from the Categories droplist at the top-left of the screen.
  3. Select the "Sync with LeanKit" field in the Available Fields column and click the right arrow to move it to the Integration Details panel (similarly, if you created a LeanKit section, put the field there). Note: This is only necessary for project categories. When configuring Details fields for tasks or issues, you do not need and will not see the "Sync with LeanKit" field.

           

NOTE

Only place the "Sync to LeanKit" field on a category that has a card type defined.

           

clipboard_e75e64c43c8b16a4f70f1dfb79b4b5683.png

  1. Configure the "Sync with LeanKit" field; you can configure it to allow the end user to edit it, or you can enable it and put it in a read-only state, which will make any project created with that category sync immediately.
    1. To enable the field and prevent users from editing, select the field and click the Variable Properties tab. Show on New can be set to Yes or No, but Show on Edit must be set to Yes - View Only. When users create a project, Sync to LeanKit will be enabled automatically, as will the integration.
    2. To give users the option to enable the LeanKit integration or not, make Show on New - Yes and Show on Edit - Yes Editable. When users create or edit a project, they will have the option of enabling or disabling the integration.

clipboard_edc77f74d5ccb868bc79667765da65a6a.png

  1. (Optional) Add the LK Task Default Board and LK Issue Default Board fields if you want users to be able to change which board a task or issue/project log is synced to. By default synced tasks and project logs will appear on the default project board. Note: This is only for project categories. When configuring Details fields for tasks or issues, you do not need and will not see the default board fields.

Map Fields

           

Note

For users of PPM Pro/LeanKit integration V1, if you had standard LK V1 fields on your project details, when you deactivate V1 and activate V2, those V1 standard fields will remain on your project details. However, you must remap the fields.

           

Add PPM Pro standard and user-defined fields to the Details, Additional Details, and Settings sections for your synced entity categories. You can also include any of the LK fields that became available (see LeanKit Field Definitions) when the integration was enabled.

These fields are "auto-mapped", meaning the system takes care of the mapping and updating (they are read-only for users). The screenshot below shows the LK available fields:

clipboard_e74d56f55c9b438adbdfb5d6db2435af5.png

You can add some or all of these fields to the Details, Additional Details, or Settings section of the appropriate project, task, or issue/project log category(ies). 

You can also add PPM Pro standard and user-defined fields to your entity category and manually map them to LeanKit card fields. PPM Pro fields are mappable to LeanKit fields of the same data type. For example, the screenshot below shows a user-defined Date field (UDF Date). To map, select the field in PPM Pro (make sure the Mappings tab is selected) and click the drop list under Map to Associated Field by Category.

           

NOTE

User-defined fields are unique per board. When mapping a custom field that appears on multiple boards, you'll see the field name followed by the board name in parentheses (board name). If an end user moves a user-defined card from one board to another, field data does not transfer with it (and won't be synced as it is essentially a new field).

           

clipboard_eb9af1259cf2821cb22e2068879ebd618.png

The drop list contains LK date fields that are available to map to the PPM Pro UDF Date field.

Similarly, if you click the UDF String field, you'll see a list of available string fields, as shown below:

clipboard_ea587a93530547b7235ce77e7a14c1c10.png

Note: If you want multiple project categories to inter-operate with LeanKit, you'll need to add the "Sync with LeanKit" field to those project category details, as well as add any LK-prefaced fields that you want to use. Different project, task, or project log/issue categories can use different sets of LeanKit fields - each category has unique mappings to LeanKit fields. For example, if you want to map PPM Pro project Description to the LeanKit Description field, you have to do that mapping on every category that you want to use in the integration.

LeanKit Field Definitions

These fields appear in project Available Fields when the the Sync to LeanKit field is enabled. You can place as many or as few of these fields on any category that also includes the "Sync with LeanKit" field.

LeanKit Field Name Definition
LK Actual finish The actual finish date from the integrated LeanKit project card.
LK Actual Start The actual state date from the integrated LeanKit project card
LK Blocked Child Cards The number of child cards that are blocked.
LK Blocked flag Shows whether the integrated LeanKit project card is blocked.
LK Board The LeanKit board the PPM Pro entity card is mapped to. 
LK Card ID The LeanKit card ID that is synced with a PPM Pro entity.
LK Card Lane Status

Not Started, Started, Finished. 

Note that these values map from the LK "lane class" attribute as follows:

  • backlog("not started")
  • active("started")
  • archive("finished")
LK Card Type The LeanKit Card Type that is synced with the PPM Pro entity.
LK Card URL The URL to the integrated card for this project in LeanKit.
LK Complete Cards The sum of the sizes of all completed child cards. The default card size is 1.

LK Earliest Actual Start

The earliest actual start data of all child cards. For example, if there are 3 child cards, with start dates 4/1, 5/1, and 6/1, then the earliest start date is 4/1.
LE Earliest Planned Start The earliest planned start data of all child cards. For example, if there are 3 child cards, with planned start dates 4/1, 5/1, and 6/1, then the earliest planned start date is 4/1.
LK Exception Count The number of child cards that have an exception, such as being blocked.
LK Exception Percentage The percentage of child cards based on count that have an exception, such as being blocked.
LK In Progress Child Cards The sum of the sizes of all child card that are in progress. The default card size is 1.
LK Issue Default Board The LeanKit board on which newly created synced project issues will appear. If no value is selected, the project LK board will be used.
LK Latest Actual Finish The latest actual finish date of all child cards. For example, if there are 3 child cards, with finish dates 4/1, 5/1, and 6/1, then the latest actual finish date is 6/1.
LK Latest Planned Finish The latest planned finish date of all child cards. For example, if there are 3 child cards, with planned finish dates 4/1, 5/1, and 6/1, then the latest planned finish date is 6/1.
LK Missed Finish Child Cards The number of child cards that missed their finish dates.
LK Missed Start Child Cards The number of child cards that missed their start dates.
LK Not Started Child Cards The sum of the sizes of all child cards that are not yet started. The default size is 1.
LK Percent Complete The percentage of cards (by count or by size) that are complete.
LK Planned Finish The planned finish date of the integrated LeanKit card. When the LK Card is first created/synched, the LK Planned Finish is initially populated with the PPM Pro project Target Date.
LK Planned Start The planned start date of the integrated LeanKit card. When the LK Card is first created/synched, the LK Planned Start is initially populated with the PPM Pro project Scheduled From Date.
LK Priority The priority of the integrated LeanKit card. Automatically maps to the LeanKit card's Priority field.
LK Projected Finish Displays the “Projected finish” field from the History and Health section on a LeanKit card. The LeanKit card’s projected finish date will be brought into PPM Pro against the associated project. See Viewing Card History and Health for more information.
LK Task Default Board The LeanKit board on which newly created synced project tasks will appear. If no value is selected, the project LK board will be used.
LK Top Lane The LeanKit board's default lane. When a project is created, a corresponding LeanKit card is created and dropped into the Top Lane.
LK Total Cards The sum of the sizes of all child cards. The default size is 1.
Sync with LeanKit

Required on a project in order to activate the integration. 

When this setting is selected, the integration will be triggered and a corresponding LeanKit project card appears on a relevant LK Board, using the PPM Pro project Title as the Card name. Data updates will occur based on the integration card and field mappings. When this setting is deselected, the integration is no longer active, and if reselected the same project card and board are used (assuming they still exist, otherwise it would create a new card) and resyncs the data per the mappings.

Identify/Create PPM Pro Project Template

If you plan to support work creation or creating a PPM Pro project from within LeanKit, you'll need to have at least one project template. You can create a PPM Pro project template for the integration just as you would any other template: the template should define the project elements, such as sections, tasks, project logs/issues, and so on, that are the foundation for any instantiated projects. And don't forget to enable the "Can Be Template" property usually located in the Settings section.

When configuring the template, make sure that it is using a category whose Default LK Card Type matches the selected card type you will use in LeanKit to define work creation (in this example, Feature).

See Creating a Project Template for information about creating project templates.

           

NOTE

You'll need to go into PPM Pro and get the ID of the project template you want to use when creating projects from LeanKit. You can find the project ID either by opening the project template and copying the ID from the Details section, or selecting the project in the Projects list and using the ID inspector (from the Help menu, choose Developer Tools >  ID Inspector to display a nameless modal). Click the project in the grid, and the ID will appear in the modal. Copy the ID to your clipboard.

See About the ID Inspector.

Configure LeanKit Board/Enable Work Creation

To enable work creation, you'll create a relationship between a LeanKit lane, a supported card type, and a PPM Pro project template.

  1. Select an included card type (the same card type defined in the project template category in PPM Pro - in this example, Feature).
  2. Select the lane you wish to enable to trigger creation of the associated project - in the screenshot below the lane is "Doing Now". Creation is triggered when a LeanKit card is created or moved into this lane.
  3. Enter the Project Template ID (see note at top of this section) that matches the selected Included Card type. For example, when the Project Card Type is is dropped into the Doing Now lane, it generates a project for the corresponding template (identified by ID) which has a Default Card Type that matches the selected card type (Project). There can be multiple included card types, each associated with a project template with the matching Default LK Card type. As configured in the screenshot below, when a card is dropped in the Doing Now lane or the Under Review lane, a project is created based on the associated template.

2021-06-12_18-13-28.png

clipboard_e67e89d2fa6c08edac71ce7b19a2b9506.png