Skip to main content
Version: Release 22.1

Release With Delivery Insights

The Digital.ai Release with Delivery Insights brings together Agile and DevOps to help you improve visibility and collaboration across software development and deliveries by seamlessly connecting the data and artifacts at each stage of the release to the related agile stories and features—allowing the whole organization to use a single tool to easily track progress end-to-end.

  • Digital.ai Release is our Release orchestrator and is more focused on the work flow—less on the contents of the flow, but more of the process.
  • Delivery Insights continuously tracks the content: work items, commits, packages, versions and where they are in the development value stream.
  • The idea is to bring (integrate) them together, so that Release can provide rich insights into what is flowing through your development value stream.
  • This combo of Release and Delivery Insights is being offered as the Release with Delivery Insights solution.
  • While Release is the customer facing product, Delivery Insights runs as a headless server in the background.

Package Progression and Package Progression Board

A Package Progression is a defined set of one or more Phases through which package revisions move in order to be delivered to the end users. Each package revision contains one or more work items (stories or defects) with associated changes (commits).

A Package Progression Board presents you with the package progression perspective to view the package revisions (a bundle of associated work items and scm commits) you have and lets you promote the package revisions from one phase to the other before you deliver them to the end users.

In other words, Release with Delivery Insights provides you with much needed visibility into the value that flows through your software delivery value stream.

This how-to walks you through the process of setting up the Release with Delivery Insights service. By the end of this exercise, you will have a working instance of Digital.ai Release with Delivery Insights.

Prerequisites

The Release with Delivery Insights service integrates with and aggregates data from the following tools to generate rich insights into what's flowing through your software delivery value stream.

  • Issue tracking tools—Jira and Agility
  • SCM tools—GitHub, GitLab, Bitbucket Cloud, and Bitbucket Server

For illustrative purposes, this topic deals only with Jira and GitHub as the ticketing and SCM tools respectively.

You need the following to set up the Release with Delivery Insights service:

  • Digital.ai Release 22.0 or later
  • Delivery Insights plug-in
  • GitHub plug-in
  • Your credentials to connect to the Delivery Insights, Jira and GitHub servers

Before You Begin

Gather the following data and keep them handy.

Jira Credentials

  • Jira server's URL—for example, https://yourcompany.atlassian.net/
  • Jira user name
  • Jira API token (required only if the Atlassian account you authenticate with has a two-step verification enabled)

GitHub Credentials

  • GitHub repository's Base URL—for example, https://github.your-organization.com/api/v3
  • GitHub personal access token

Delivery Insights Credentials

  • Delivery Insights server URL—for example, http://yourcompany.deliveryinsights.com
  • Delivery Insights server API token

Contact Digital.ai Support to get the Delivery Insights server credentials. Once you raise a request, the Digital.ai Support team would set up a Delivery Insights server and provide the server's URL and API token to you, which you would need later in the process.

Install Digital.Ai Release 10.1 or Later

Install Digital.ai Release. For more information, see Basic Install.

Install the License Key

Note: You can skip this part if you had your Digital.ai Release license file (xl-release-license.lic) created before starting the installation. For more information, see Basic Install. If not, install the license when you are logging on to Digital.ai Release for the first time.

  1. Log on to Digital.ai Release as an Admin. You would be prompted to enter your license key.

    Install the license key

  2. Copy the Digital.ai Release's license key, paste the license key in the text box, and click Install license.

Install the Delivery Insights Plug-in

  1. Click Manage Plugins from the Settings menu at the top navigation bar, search for the Delivery Insights plug-in, and click Install now.

  2. Restart Digital.ai Release. Open a command prompt or terminal, go to XL_RELEASE_SERVER_HOME/bin directory, and run the following command.

    Operating systemCommand
    Microsoft Windows platformrun.cmd
    Unix platformrun.sh

Install the Github Plug-in

Make sure the GitHub plug-in is installed. If not install it from the Plugin Manager.

  1. Click Manage Plugins from the Settings menu at the top navigation bar. Search for the Github plug-in, and click Install now.

  2. Restart Digital.ai Release. Open a command prompt or terminal, go to XL_RELEASE_SERVER_HOME/bin directory, and run the following command.

    Operating systemCommand
    Microsoft Windows platformrun.cmd
    Unix platformrun.sh

Set Up Connections to Your Jira, Github, and Delivery Insights Servers

Click Connections from the sidebar menu and add your Jira, Github, and Delivery Insights servers and test the connections.

Add a Jira Server

  1. Click the + icon to add a Jira server.

    jira-server-configuration

  2. Type a title for the Jira server (jira-server in this example), type the Jira server's URL, user name, API token, and click Test.

    The Jira Server is available message shows up if the connection is successful.

    jira-server-configuration

  3. Click Save.

Add a Github Server

  1. Click the + icon to add a GitHub server.

    github-server-configuration

  2. Type a title for the GitHub server (GitHub-delivery-insights-demo-docs in this example), type the GitHub repository's base URL, copy and paster your GitHub personal access API token (in the Login field), and click Test.

    The Github Server is available message shows up if the connection is successful.

    github-server-configuration

  3. Click Save.

Add a Delivery Insights Server

  1. Click the + icon to add a Delivery Insights server.

    delivery-insights-server-configuration

  2. Type a title for the Delivery Insights server (delivery-insights-server in this example), type the Delivery Insights server's URL and API token, and click Test.

    The Delivery Insights service is available message shows up if the connection is successful.

    delivery-insights-server-configuration

  3. Click Save.

You are now all set to configure your Delivery Insights Progression Board and track your packages.

Configure the Digital.Ai Release Dashboard

  1. Click Reports > Dashboards from the sidebar navigation menu.

  2. Click + Add custom dashboard from the sidebar navigation menu.

  3. Hover over the Delivery Insights Dashboard card and click Select.

    add-dashboard

  4. Type a name and description for the dashboard (Pet Clinic Dashboard in this example) and click Create.

    add-dashboard

    The new dashboard (Pet Clinic Dashboard in this example) is created.

    add-dashboard

  5. Click Configure Dashboard.

  6. Hover over the progression board splash screen and click the configure icon.

    The Edit tile pane shows up.

    add-dashboard

  7. Select the Delivery Insights server from the Insights Service drop-down list.

  8. Click Create new progression and type a name for your progression (Pet Clinic Web Server in this example) and click Create.

  9. Type a meaningful title (Pet Clinic Package Progression in this example) for the progression in the Title field.

    add-dashboard

  10. Click Save.

    The new Progression Board is created.

  11. Click Back to view mode.

Add Your Value Stream Phases

  1. Click Add Phase.

    add-phases

  2. Click the + icon on the sides of the phase swim lane to add as many phases as you want.

    add-phases

  3. Type a name for all the phases you add.

    add-phases

  4. Click Save. The phases are added to the Progression Board.

    add-phases

    Important: After setting up your phases—though you can click Add Phase and add more phases—you cannot edit or delete the existing ones.

Add an Application

  1. Click Add Application. The Add application pane shows up.

  2. Type a name for the application (Web Server in this example).

  3. Select a source control (GitHub in this example) from the Source Control drop-down list.

  4. Select your GitHub server from the Server Name drop-down list (GitHub-delivery-insights-demo-docs in this example).

  5. Copy the Payload URL and keep it handy. Click the Copy to Clipboard icon to copy the Payload URL.

  6. Select a ticketing system (Jira in this example) from the Ticketing System drop-down list.

  7. Select the Jira server (jira-server in this example) from the Server Name drop-down list.

    add-apps

  8. Scroll down and click Save.

    The new application (Web Server) is created in the Progression Board.

    add-apps

How to Recover The Payload Url of an Application?

You can open the Application Details pane and copy the Payload URL of an application at a later point in time, if required.

  1. Go to the Progression Board and click the application's name. The Application Details pane appears. recover-webhook-url
  2. Click the webhook icon webhook-icon in the Source Control section. The Configure WebHook dialog box appears. recover-webhook-url
  3. Click the Copy to clipboard icon to copy the Payload URL and click OK to close the dialog box.

Configure the Application's Webhook in Github

  1. Log on to GitHub.

  2. Select your repository.

  3. Select the Settings tab.

  4. Select Webhooks from the left pane.

  5. Click Add webhook.

    webhooks

  6. Copy and paste the application's Payload URL into the Payload URL text box.

  7. Select application/json from the Content Type drop-down list.

  8. Leave the defaults for the other fields and click Add webhook.

    webhooks

You are now all set with the configuration.

Let us now push some commits to the GitHub repository, create a package in the Progression Board, promote a package revision from one phase to the other, and finally remove (deliver) the package revision from the Progression Board.

For this tutorial, I have created three Jira work items as illustrated in the following image to commit my changes in the GitHub repository. Note the Jira work item IDs (ENG-5580, ENG-5581, ENG-5582), which I would include in the commit messages for creating association between the commits and work items.

jira tickets

Here's an example commit message to illustrate how to include the Jira work item ID in the commit message.

jira commit message example

Go on and push your commits to your repository. When you have enough commits, you can create a package to track the work items/commits.

Note: In real world scenarios, you may have a CI tool (like Jenkins) create a build and when it's done you can have Digital.ai Release start a new release to create a package revision that you can track in your Progression Board. However, for illustrative purposes, we are going to create and run the following Create Package Revision task manually.

Create a Package Revision

  1. Log on to Release.

  2. Select Folders from the sidebar navigation menu.

  3. Click + Add Folder and create a new Delivery Insights folder.

    release-folder

  4. Select the Delivery Insights folder, select Templates from the sidebar, and click New template > Create new template.

    release-folder

  5. Type a name for the template and click Create (Create Package in this example).

    release-template

  6. Click Add Task.

  7. Type a title for the Task (Create Package Revision in this example).

  8. Select the Track new code commits task from the drop-down menu.

  9. Click Add. The Create Package Revision task is created.

    release-track-commits

  10. Click the Create Package Revision task to configure it.

  11. Click the Application field's search icon and select the application you created (Web Server in this example).

    release-track-commits

  12. Type the repository's branch name to fetch the commits from.

  13. Click the Initial Phase field's search icon and select the initial phase you want the package revision to be created in.

    release-track-commits

  14. Type a version label, 10.0 for example.

    release-track-commits

  15. Close the Create Package Revision task's configuration dialog box.

  16. Click New Release.

  17. Type a name for the release (Create 10.0 Package in this example) and click Create.

    release-track-commits

  18. Click Start Release.

    release-track-commits

  19. A confirmation message appears. Click Start.

    release-track-commits

  20. Click the completed task to view the log.

    release-track-commits

    release-track-commits

  21. You can now go to the Progression Board and refresh the board to view the new package revision card.

    release-track-commits

  22. Hover over a dot to view the associated work item.

  23. Click a dot to view the work item's details pane. You can click the Open in Jira icon to view the work item in Jira.

    release-track-commits

    Select the Commits tab of the work item details pane to view the commits associated with the work item.

    release-track-commits-history

    Select the History tab of the work item details pane to view the history by phases and revisions (select the Phases and Revisions tabs respectively).

    release-track-commits-history

Promote a Package Revision

  1. Select the Delivery Insights folder and click Add template > Create new template.

  2. Type a name for the template and click Create (Promote Package in this example).

  3. Click Add Task.

  4. Type a title for the Task (Promote Package Revision in this example).

  5. Select the Promote revision task from the drop-down menu.

  6. Click Add.

    release-promote-package

  7. Click the Promote Package Revision task to configure it.

  8. Click the Application field's search icon and select the application you created (Web Server in this example).

  9. Click the Phase field's search icon and select the phase which you want the package revision to be promoted to.

  10. Leave the other fields with the default values and close the Promote Package Revision task's configuration dialog box.

    release-promote-package

  11. Click New Release.

  12. Type a name for the release (Promote 10.0 Version 1 in this example), type a revision number you want to promote (1 in this example) in the revision text box, and click Create.

    release-promote-package

  13. Click Start Release.

  14. A confirmation message appears. Click Start.

    release-promote-package

  15. Click the completed task to view the log.

    release-promote-package

  16. You can now go to the Progression Board and refresh the board to view the new package promoted to the Test phase.

    release-promote-package

Remove a Package Revision

  1. Select the Delivery Insights folder and click New template > Create new template.

  2. Type a name for the template and click Create (Remove Package in this example).

    release-remove-package

  3. Click Add Task.

  4. Type a title for the Task. (Remove Package Revision in this example)

  5. Select the Remove revision task from the drop-down menu.

  6. Click Add.

    release-remove-package

  7. Click the Remove Package Revision task to configure it.

  8. Click the Application field's search icon and select the application you created (Web Server in this example).

  9. Leave the other fields with the default values and close the Remove Package revision task's configuration dialog box.

    release-remove-package

  10. Click New Release.

  11. Type a name for the release (Remove 10.0 Revision 1 in this example), type the revision you want to deliver (1 in this example) in the revision text box, and click Create.

    release-remove-package

  12. Click Start Release.

  13. A confirmation message appears. Click Start.

    release-remove-package

  14. Click the completed task to view the log.

    release-remove-package

  15. You can now go to the Progression Board and refresh the board to confirm that the package revision has been removed (delivered) from the Progression Board.

How to read the Progression Board?

  • A Package Progression Board consists of software delivery phases (swim lanes) and package revision cards.

  • Each phase in the Package Progression Board represents a discrete step in your software delivery process through which value (work items) is moved as your software gets closer to delivery.

  • A package revision card consists of Summary Tabs at the top right and bottom left with visual aid icons and presents you with data such as the package's major version number, revision range, total number of work items, and the number of rogue commits (commits that are not associated with a work item).

  • Work items in a package revision card are shown as color-coded dots to visually distinguish Stories (Green), Defects (Red), and work items with trailing commits (diametrical split).

  • With more and more packages to track, package revisions are grouped by application names in the Progression Board.

    ctmfb

    • Version Range: Range of minor version numbers included in this package revision.
    • Package Version Number: Package major version number.
    • Revision Range: Range of package revisions included in package revision.
    • Total Number of Workitems: Total number of stories and defects included in this package revision.
    • Number of Rogue Commits: Total number of commits that are not associated to a work item and thus are "rogue".
  • Hovering over a dot shows the work item ID.

  • Clicking a work item dot shows the Work Item Details pane.

  • The following types of units are shown on the board:

    • A green dot represents a "Story" work item.

      Green

    • A Red dot represents a defect.

      Red

    • The half-green-shaded dot represents an "undeliverable" work item, which contains trailing commits. This means there are additional commits for this work item in a package located in an earlier phase that is not contained in the package revision you are currently viewing. Effectively all the work that has been committed against this item is not in the current package and thus is not deliverable.

      Trailing

Manifest View

The Delivery Insights dashboard presents the Manifest View for individual application versions and for individual phases. The Manifest View lets you know more about the work items that are part of:

  • an application version in a phase
  • all the application versions in a phase

The Manifest View includes the following work item information:

  • work item ID
  • work item title
  • work item type
  • application, which the work item belongs to
  • date and time of last activity
  • status of the work item
  • and the number of changes (commits) in the work item

You can:

  • view the Manifest View for a phase—click the Manifest view icon next to the phase name in the Delivery Insights dashboard.

  • view the Manifest View for an application version—click the Manifest view link on the application version's card in the Delivery Insights dashboard.

  • both expand and collapse the Manifest View for better usability.

  • download the manifest for a phase or a version (as a .csv file)

  • use the Phase, Application, and Version drop-down lists to view the manifest for the phase, application, and version of interest to you.

    Manifest View—icons and widgets

    phase-manifest-view

    Manifest View—Expanded

    phase-manifest-view

Summary Tabs

The upper right-hand and lower left-hand sides of each package revision offers a Summary tab with the following data:

delforecast

A forecast (in days) of when this package revision will be delivered. This number is calculated based on the past delivery performances for this particular package.

rogue commits

Amount of commits in this package revision that are not associated with a work item (story or defect).

completed

Percentage of activities that have been completed for this package revision (both automated and manual).

pending activity

Indicates that there is a manual activity pending for this package revision.

Github Repository to Test Digital.Ai Release with Delivery Insights

We have created a Docker image of the Digital.ai Release with Delivery Insights for demonstrating the Release with Delivery Insights solution.

The Digital.ai Release with Delivery Insights Docker image comes with:

  • a set of predefined Digital.ai Release templates for configuring the Delivery Insights server, project and progression.
  • Delivery Insights plug-in pre-installed to integrate Digital.ai Release with Delivery Insights.

Here is the link to the GitHub repository that hosts the Digital.ai Release with Delivery Insights Docker image.