Integrating tools into value streams
Create value stream integrations by defining integration objects to the
value-stream-name.json
file.
Before you begin
About this task
To define an integration, complete the following steps:
Procedure
-
On the Value stream page, click and select Download value stream map. The
value_stream_name.json
is downloaded to the specified location. -
Using a text editor, define an integration object in the
value_stream_name.json
file.The following code example illustrates a Bitbucket™ integration:{ "type": "ucv-ext-bitbucket-server", "tenant_id": "[ID]", "name": "my-bitbucket", "disabled": false, "properties": { "baseApiUrl": "[Base URL ex: http://10.134.116.110:7990/rest/api/1.0]", "username": "admin", "password": "[Basic user password]", "projectName": "[Full project name ex: JKE Mortgage Application]", "projectKey": "[Project key ex: JMA]", "repositoryName": "[app repository name ex: web-application]", "repositorySlug": "[app repository name ex: web-application]" } }
- Optional:
Define queries for the stages where you expect to see data from the integrated tool.
For example, the following query defined for the In Progress stage matches open pull requests from source control systems:
{ "name": "Development", "description": null, "stages": [ { "name": "In Progress", "query": "pr.status="open", "description": null, "wipLimit": null, "gates": null },
-
On the Value Stream page, click and select Replace value stream map, and then select the modified file.
For more information about creating value stream integrations, see About value stream integrations.