Lesson 3 Integrating tools into a value stream
Provide data to the value streams by integrating external tools into them, such as Jira.
Before you begin
About this task
Now that we've configured the value stream, it's time to add data to it.
Where does value stream data originate? The answer is twofold:
- Integrations attached to a value stream define the data sources. A Jira integration, for example, provides Jira project data to the value stream.
- DQL queries determine which records from the data source are selected for the value stream.
In this lesson, we address point 1 by adding an integration to the tutorial value stream.
To modify the tutorial value stream, complete the following steps:
Procedure
- Click .
-
On the Plugins tab, click Add Integration for the
Jira integration.
Integrations can be defined in several ways. You can define them directly in the JSON file's
"integrations"
array. You can also define an integration on the Plugin page, and then reference it in the JSON file. In this lesson, we configure the integration on the Plugin page. -
On the Add Jira integration window, configure an integration by completing
the following steps:
The integration is listed on the Integrations page. If the integration is successful, the Status field displays
Online
. If the status is notOnline
, use the View log option to troubleshoot the integration. You can increase the logging level in the integration configuration if you need more troubleshooting information. - On the Value Streams page, select the value stream that you created in the previous lesson.
-
Click
.The helloWorld-vsm.json file is downloaded to your computer.Note: After you modify the default value stream map file, the downloaded file name will reflect the name of the value stream.
-
In your text editor, open the helloWorld-vsm.json file, and then add the
Jira integration to the
integrations
array in the JSON file.Because you already defined the Jira integrations, you can add it to the value stream by referencing its name, as shown in the following example:
Of course, use the name you assigned to the integration in Step 3."integrations": [ { "name":"tutorial Jira" } ],
-
In your text editor, add a DQL query to the
Backlog
stage in the JSON file.DQL queries assigned to a stage filter the information that appears in the stage, as shown in the following example:
It's good practice to escape inner quotes."phases": [ { "name": "PLAN", "description": "", "stages": [ { "name": "Backlog", "query": "issue.status=\"Backlog\"", "description": "", "wipLimit": null, "gates": null },
- Save the helloWorld-vsm.json file.
-
On the helloWorld value stream page, select , and then select the JSON file that you modified.
After the file uploads, refresh the helloWorld value stream page. A dot with the Jira status of
Backlog
appears in the Backlog stage, as shown in the following figure:If your Jira project has more than one issue with the status of
Backlog
, corresponding dots for all of them appear in the Backlog stage.Select the dot to display a card with information about the dot, including its history. Links to the associated Jira issue are provided.
Results
In this lesson, you integrated the external tool Jira into your value stream and used a DQL query to display data.