Creating BMC Helix ITSM change requests from Microsoft Azure DevOps work items by using BMC Helix iPaaS
As an administrator, you can integrate BMC Helix ITSM with Microsoft Azure DevOps to create BMC Helix ITSM change requests from Azure DevOps work items by using BMC Helix Multi-Cloud Broker. This integration lets your developers to get real-time visibility into their work in both the applications.
BMC Helix Multi-Cloud Broker, along with BMC Helix iPaaS, powered by Jitterbit, provides an out-of-the-box integration template that you use to integrate BMC Helix ITSM and Azure DevOps. You configure the integration in BMC Helix Multi-Cloud Broker and deploy the integration template to your BMC Helix iPaaS environment.
This integration provides the following capabilities:
Use case | DevOps integration |
---|---|
Create a ticket | Create a change request in BMC Helix ITSM from a new, or updated (not yet brokered to BMC Helix Multi-Cloud Broker) Azure DevOps work item. |
Synchronize updates | When a brokered Azure DevOps work item is updated, the vendor data for an existing change request is updated in BMC Helix Multi-Cloud Broker. Then, you can view the Azure DevOps work item details in the BMC Helix ITSM UI. |
Share comments | When a comment without an attachment is added to the Azure DevOps work item, a worklog is added to the corresponding BMC Helix ITSM change request. |
When a worklog without an attachment is added to the BMC Helix ITSM change request, a comment is added to the corresponding Azure DevOps work item. |
The following image gives an overview of the capabilities that this integration supports:
Before you begin
Make sure that you have the following items:
A validBMC Helix iPaaS, powered by Jitterbit subscription.
- From the Electronic Product Distribution site, download the Sync_BMC_Helix_ITSM_change_request_and_Microsoft_Azure_DevOps_work_item.json project file to your system.
- Administrator access to the Azure DevOps account and ensure that you create an Azure DevOps personal access token for this integration.
- BMC Helix Multi-Cloud Broker and BMC Helix ITSM users have the administrator permission to run this integration.
- Duplicate webhooks with the same condition do not exist in Azure DevOps.
Azure DevOps to BMC Helix ITSM flow
BMC Helix ITSM to Azure DevOps data flow
Task 1: To perform configurations in Quick Configuration Guide
- Log in to BMC Helix Innovation Studio.
- On Workspace, click Multi-Cloud Broker.
To launch BMC Helix Multi-Cloud Broker, on the top-right corner of the page, click Visit Deployed Application.
- Click Settings
.
- Select Start Here > Quick Configuration Guide.
The Quick Configuration Guide page is displayed. In the Step 1: Choose configuration tab, under DevOps Integration, select Azure DevOps to ITSM Change.
- In the Step 2: Perform configurations tab, perform the following steps:
- Add an operating organization, if you have not already done so.
- Add Microsoft as the vendor organization, if you have not already done so.
- To add the vendor metadata, click Map vendors and perform the following steps:
- On the Map Vendors page, click Map Vendor.
Complete the fields as described in the following table:
Field
Action
Description
Enter a description for the vendor metadata configuration.
Ticketing Technology Provider
From the list, select Azure DevOps.
(Optional) Instance Name
If you are using multiple instances of Azure DevOps, enter the name of the instance that you are using for this integration.
Add Mapping
After you select the ticketing technology provider, click Add Mapping.
BMC Helix Multi-Cloud Broker displays the default values in the Instance URL field and the Display Field Mapping section.
Instance URL
The default value of this variable is https://dev.azure.com/{organization}/{project}/_workitems/edit/{System.Id}.
Update the organization and project name in the default URL.
For example, update the default value to https://dev.azure.com/bmcmcsm/MCSM/_workitems/edit/{System.Id}.
Display Field Mapping
By default, the basic Azure DevOps fields are mapped in this section.
If you want to map additional fields to display in the BMC Helix ITSM UI, add the relevant mappings by clicking
.Enable Local ITSM Communication
By default, this toggle key is enabled.
If you want to use BMC Helix Integration Service as the underlying integration platform, disable this toggle key.
- Click Save.
- In the Configure Azure DevOps integration section, refer the configuration steps listed and select the check boxes as you complete each step.
- Click Save.
Task 2: To download and import the integration template project file
- Log in to BMC Helix iPaaS and navigate to the Cloud Studio.
- Select your organization.
- On the projects page, click Import.
- Click Browse to navigate to and select the JSON project file that you downloaded.
The Project Name and Organization fields are automatically populated. The default project name is displayed. You can change the project name. - From the Environment list, select the environment to which you want to import this integration template, and click Import.
The project opens after the integration template is imported. - To open the project file at a later time, select the environment where the integration templates are available, select the project name, and click View/Edit.
Task 3: To update the project variables for the integration template
- Click ... next to the Environment name and select Project Variables.
- Update the project variables as described in the following tables:
BMC Helix iPaaS variables
Project variable
Value
BHIP_API_Name
The default value of this variable is set to BMCHelixITSMChangeAndAzureWorkItem.
If required, you can change the name.
BHIP_API_User_Roles
Specify the organization roles that should have access to the new API. You can add multiple comma separated values.
Important: If you do not specify any value, all the organization roles get access to the new API.BHIP_Host
Enter the BMC Helix iPaaS instance URL where you want to run this project.
BHIP_MCSM_API_Profile_Password
The integration template creates an API in BMC Helix iPaaS to handle requests from BMC Helix Multi-Cloud Broker.
Enter the password that should be used while creating the BMC Helix Multi-Cloud Broker API profile.
BHIP_MCSM_API_Profile_Username
The integration template creates an API in BMC Helix iPaaS to handle requests from BMC Helix Multi-Cloud Broker.
Enter the user name that should be used while creating the BMC Helix Multi-Cloud Broker API profile.
BHIP_Password
Enter the password for the BMC Helix iPaaS instance.
BHIP_Username
Enter the user name for the BMC Helix iPaaS instance.
BHIP_Vendor_API_Profile_ApiKey_Name
Enter the APIKEY name for the security profile that you want to use with the vendor API.
Important: Provide a value for this variable, only if you select the APIKEY option in BHIP_Vendor_API_Profile_Type.
BHIP_Vendor_API_Profile_Password
Enter the password for the security profile that you want to use with the vendor API.
Important: Provide a value for this variable, only if you select the BASIC option in BHIP_Vendor_API_Profile_Type.
BHIP_Vendor_API_Profile_Type
The integration templates create APIs to accept requests from a vendor.
Enter one of the following API authentication mechanisms that you want to use with this API:
- BASIC
- ANONYMOUS
- APIKEY
BHIP_Vendor_API_Profile_Username
Enter the user name for the security profile that you want to use with the vendor API.
Important: Provide a value for this variable, only if you select the BASIC option in BHIP_Vendor_API_Profile_Type.
Enable_BMC_Helix_To_Vendor_Integration
By default, this variable is set to true and you must not change it.
Important: This variable enables the updation of Azure DevOps work items from BMC Helix ITSM change request comments.
Enable_Vendor_To_BMC_Helix_Integration
By default, this variable is set to true and you must not change it.
Important: This variable enables the creation of BMC Helix ITSM change requests from Azure DevOps work items, updates vendor data in BMC Helix Multi-Cloud Broker, and shares comments.
Azure DevOps variables:
Project variable
Value
AzureDevOps_Host
Enter https:\dev.azure.com.
AzureDevOps_Organization
Enter your organization name in Azure DevOps.
AzureDevOps_Personal_Access_Token
Enter the Azure DevOps personal access token that you created earlier.
AzureDevOps_Project
Enter the project name that you want to use in Azure DevOps.
AzureDevOps_Webhook_Area_Path
Enter the area path name based on which the Azure DevOps webhook can filter the work items.
AzureDevOps_Webhook_Tag
Enter the tag name based on which the Azure DevOps webhook can filter the work items.
AzureDevOps_Webhook_Work_Item_Type
Enter the type of work item based on which the Azure DevOps webhook events should be filtered. The integration template supports the following types of work item:
- Bug
- Epic
- Feature
- User Story
BMC Helix Multi-Cloud Broker variables:
Project variable
Value
MCSM_Host
Enter the
BMC Helix Multi-Cloud Broker
host URL to which the Azure DevOps work items should be synchronized.
MCSM_Username
Enter the user name that enables users to interact with BMC Helix Multi-Cloud Broker.
MCSM_Password
Enter the password for the provided user name.
MCSM_Vendor_Name
This variable is autopopulated. You must not change the default value.
The following variables are inputs from BMC Helix ITSM. Either enter values for these variables or map appropriate Azure DevOps fields if the data is available:
Project variable
Value
ITSM_Company_Name
Enter the company name for which the integration template needs to be run. For example, Calbro Services.
ITSM_Customer_First_Name
Enter the first name of the BMC Helix ITSM customer.
ITSM_Customer_Last_Name
Enter the last name of the BMC Helix ITSM customer.
ITSM_Incident_Type
Enter any of the following incident types that you want to create:
- User Service Restoration
- User Service Request
- Infrastructure Restoration
- Infrastructure Event
- Security Incident
Task 4: To deploy and enable the project
- To deploy the integration after you update the project variables, on the project page, click
Deployment is a one-time activity that initializes the integration configurations. The UI displays a message for the deployment status. . - After successfully deploying the integration, select the Enable Integration workflow.
- Click ... next to the Enable Integration workflow and select Run.
(Optional) Task 5: To set the API debug mode
By default, the debug mode is set to 2 hours after you run the integration. Debug logs are updated for the time set for the debug mode. To increase the debug mode for a longer period of time, perform the following steps:
In
BMC Helix iPaaS
, select API Manager > My APIs.
- Open any of the following APIs:
- BMC_Helix_ITSM_Change_And_Azure_Work_Item_MCSM_To_Vendor—This API updates an Azure DevOps work item from a BMC Helix ITSM change request.
- BMC_Helix_ITSM_Change_And_Azure_Work_Item_Vendor_To_MCSM—This API creates a BMC Helix ITSM change request from an Azure DevOps work item.
- Select Enable Debug Mode Until: and set it for the required date and time.
- Save and publish the API.
(Optional) Task 6: To map a custom field between BMC Helix ITSM and Azure DevOps
You can map custom fields between BMC Helix ITSM and Azure DevOps. To learn about the steps to map custom fields, see Customizing-BMC-Helix-iPaaS-integrations.