This documentation supports the 21.3 and consecutive patch versions of BMC Helix Multi-Cloud Broker.To view an earlier version, select the version from the Product version menu.

Synchronizing work orders with Jira issues via BMC Helix Integration Service


BMC Helix Multi-Cloud Broker helps facilitate DevOps practices in organizations that use multiple tools. You can integrate BMC Helix Multi-Cloud Broker with Atlassian JIRA Software and manage tickets across multiple applications and teams more effectively. Whenever a work order is created in ITSM, a corresponding issue is created in Jira and the converse is also true. You can also synchronize data between an ITSM work order and a Jira issue.

For more information about DevOps integration, see DevOps-integration.

Before you begin

Complete all preconfiguration tasks before you enable the integration.

To select the integration option for DevOps between Jira and ITSM

  1. Log in to BMC Helix Innovation Suite.
  2. On Workspace, click Multi-Cloud Broker.
  3. To launch BMC Helix Multi-Cloud Broker, click Visit Deployed Application.

    Tip

    You can access BMC Helix Multi-Cloud Broker directly by entering the URL https://hostName:portNumber/helix/index.html#/com.bmc.dsm.mcsm/login and logging in as a tenant administrator.

  4. To open the configuration page, click Settings Settings icon.png.
  5. Select Start Here > Quick Configuration Guide.
  6. In the Step 1: Choose configuration tab, perform the following steps:
    1. From the Choose configuration list, select the Helix integration service.

  b. For the DevOps Integration feature for Jira and BMC Helix ITSM, under DevOps Integration, select one of the following options and click Next:



      • ITSM Work Order to Jira Issue(requires ITSM and Smart IT version 1808 patch 1)
      • Jira Issue to ITSM Work Order

The Perform configurations tab displays a list of the common configurations, connectors, flows, and connector targets and processes that you need to configure as described in the next tasks. 

To map Jira vendor data to ITSM or Smart IT

Configuring vendor data includes setting up a vendor organization and defining vendor mappings for the technology provider. Vendor mapping is the metadata of the vendor that is used to define dynamic field mapping between ITSM and Vendor application fields. Vendor mapping metadata is required to send ITSM ticket to the vendor application. Vendor mapping ensures that notifications about changes made to the ITSM fields are added as a comment to the corresponding vendor application ticket. If you are integrating with multiple instances of Jira, create a vendor mapping for each instance of Jira.

Important

BMC recommends that you set up the vendor organizations before starting the  BMC Helix Multi-Cloud Broker  configuration. For more information about adding vendor organizations, see Performing-preconfiguration-tasks.

  1. If required, to create or modify a vendor organization, in the Perform configurations tab, click  Manage Vendor Organizations  under Configure JIRA.
  2. To add or update the vendor mapping, in the Perform configurations tab, click Manage Vendor Metadata under Configure JIRA.
    1. On the Map Vendors page, click 21.3_Add metadata icon.png.
    2. Enter a Description that makes it easy for you to identify the vendor metadata configuration.
    3. Select the Ticketing Technology Provider
      The technology provider is the organization that develops the vendor application. For example, Amazon is the Ticketing Technology Provider for AWS.
    4. If you have multiple Jira instances, enter a Instance Name that BMC Helix Multi-Cloud Brokercan use to identify each Jira instance.

      The recommended format for an instance name is \  instanceName instance instanceNumber

    5. Click Add Mapping.
      BMC Helix Multi-Cloud Broker displays the default Instance URLVendor Field Mapping, and Display Field Mapping.
    6. Update the Instance URL with the server name and the port number for the Jira instance that you are mapping.  
      This URL represents the URL for connecting with your Jira server.
    7. Click  { }  to open the JSON editor, and modify Vendor Field Mapping and Display Field Mapping to add or delete values. 
      • Vendor Field Mapping — Defines how BMC Helix Multi-Cloud Broker maps ITSM fields to vendor application ticket fields.

        Update the value of fields.project.name with the name of your Jira project for ticket-brokering-lib:Work Order.

        vendorMapping.png

      • Display Field Mapping — Defines how vendor application ticket fields are displayed on the Smart IT console.
        displayMapping.png
  3. If you do not want the Work Order to be automatically resolved when the corresponding vendor application ticket is resolved, select dontResolve.PNGfor Resolve Work Order When Vendor Closes it. By default,  the ticket is resolved when the corresponding ticket is closed in the vendor application.
  4. From the Integration Platform list, select Integration Service.

To configure connectors for integrating ITSM and Jira with BMC Helix Multi-Cloud Broker

For each feature you selected, complete the following procedure for the connectors listed on the Configuration Links page.

  1. To navigate to BMC Helix Integration Service, on the Configuration Links page, click Configure connectors in Integration Studio under Required Common Configurations.
    You must configure the connectors listed for each feature, in addition to the connectors listed under Required Common Configuration.
  2. To enter field values, select a connector, such as ITSM, and click Configuration.
    You might need to click the arrow on the ribbon in the lower section of the screen to open the Configuration pane.
  3. To update the configuration defaults, enter the appropriate field values by referring to the list of connectors at the end of this procedure.
  4. To add or update the user account that is used to access the vendor application, click Accounts.

List of connectors for integration with JIRA


ITSM
  • Configuration
    If you are integrating BMC Helix Multi-Cloud Broker with an on-premises instance of ITSM, enter the following values:

    Field

    Value

    Site

    Select the site that you created for Remedy.

    AR server

    Enter the name of your on-premises AR System server.

    AR server port

    Enter the port number for your on-premises AR System server.

  • Account
    Add a ITSM user account that has permissions to view business service requests and permissions to update incidents, change, or problem requests.


Multi-Cloud
  • Configuration
    While activating BMC Helix Multi-Cloud Broker, BMC configures the Multi-Cloud connector. Do not modify the default Multi-Cloud connector configuration.
  • Account
    BMC sets up the account for the Multi-Cloud connector.
    Click reauthenticate.PNGto re-authenticate after you have changed the password for your tenant administrator user account in BMC Helix Innovation Studio.
    For information about changing the user password, see Creating or modifying People data.


SMTP Email
  • Configuration
    To send email notifications for errors, specify values for the following fields:

    Field

    Value

    Name

    Enter a name for the connector configuration.

    Site

    Select the appropriate site for your email server.

    Connection type

    Select the type of connection for your email server.

  • Account
    Add an email account to be used for sending error notifications.


Jira
  • Configuration

    Field

    Value

    Name

    Enter a name for the connector configuration

    Site

    For each on-premises Jira instance, select the site that you created.
    For Jira cloud instances of Jira, select Cloud as the site.

    Jira Server Hostname

    Enter the name of your Jira server.

    Jira server Port

    Enter the port number of the Jira server.
    Enter 443 if your Jira server is SSL enabled.

    Protocol

    Enter the protocol used by the Jira server.

    Certificate Authority

    If the Jira server is using a self-signed certificate, copy and paste the contents of the self-signed certificate from the certificate file that is in the PEM format. It is not recommended in production Jira servers, and only a certificate signed by a trusted certificate authority must be used

Important

If you need to integrate with multiple Jira instances, add a Connector Configuration for each instance.

  • Account
    • Add the account of a Jira user who can view and update Jira issues.
    • For on-premises instance of Jira enter the password of the user. For cloud instances of Jira, enter the API token of the user.
    • If you need to integrate with multiple Jira instances, add an account for each of the Jira instances.

To configure flow triggers and field mappings between ITSM, BMC Helix Multi-Cloud Broker, and Jira

For each feature you selected, complete this procedure for the flows listed on the Configuration Links page.

  1. To navigate to BMC Helix Integration Service, on the Configuration Links page, click Configure flows in Integration Studio under Required Common Configurations.

    You need to configure the flows listed for each feature, in addition to the flows listed under Required Common Configuration.

  2. To open the flow template page, on the Catalog tab in Integration Studio, click the flow you want to configure.

    FlowScreen.png

  3. To create a copy of the flow template, click useThisFlow.PNG.
    AfterUseFlowclick.png

  4. Select the appropriate accounts for the end-point connectors of the selected flow.
    You specify the connector accounts when configuring connectors.
  5. To update the name of the flow that you have copied from the flow template, select My Flow, open the flow that you copied, and update the title.
  6. Specify the trigger Conditions and Field mapping, and click OK.
    For more information about trigger conditions and field mappings, see the list of flows at the end of this procedure.
  7. Click My Flows and select the flow that you created from the flow template.
  8. To verify the target values for the trigger conditions and the field mappings, in the right pane, click Details.


List of flows for integration with JIRA


Send Error Notification
  • Trigger

    Field

    Value

    Flow Target

    Multi-Cloud

  • Field Mapping

    Field

    Value

    To

    Enter the email account that will receive the error notification.

    Subject

    Flow Title

    From
    Note:
    The value of this field is set to Integration Service.

    NA

    Note

    You can change the following out-of-the-box field mappings:

    • Subject
    • From

    However, BMC recommends that you retain the existing mappings.

Create DevOps Work Order
  • Trigger 
    You need to set a trigger condition for this flow to determine which Work Orders should be sent to Jira. For example, you can use the following triggers:

    • Operational or Product Categorization fields in ITSM
    • Assignment of the problem
    • Add a custom field as per your requirement.
  • Field Mapping

    The following values are mapped out-of-the-box:

    ITSM field

    Jira field

    Description


    Project

    In the Vendor Field Mapping of the Map Vendor definition, the value of Jira project is set under fields.project.name . By default, project is set to MultiCloud.

    You should change this value to the appropriate project name. If you have a corresponding field in ITSM for the project name:

    1. Change the project field type to dynamic.
    2. Select the Field ID on the BMC Helix Multi-Cloud Broker record definition of the field that stores the ITSM project value.
    3. Define the mapping from the ITSM value to the Jira value. You can add the transformations to select the appropriate project based on the value received from ITSM.

    Priority

    Priority

    Default field mapping

    Summary

    Issue Summary

    The Work Order ID is included as a part of the Summary.

    Category Tier 3

    Issue Type

    In the Vendor Field Mapping of the Map Vendor definition, the value of Issue Type is set under field.issuetype.name for the instance of Jira you are integrating with.Jira provides several issue types out of the box and also enables users to create their own custom issue types. There are various options to indicate which issue type should be created.

    The example template uses the Categorization field to decide the issue type. Using the third tier of the work order request categorization, we indicate which issue type to create in Jira.

    You can use other fields or transformations to define this. However, the value passed to the Issue Type must match the name of the issue.

    Description

    Description

    Default field mapping

    Problem ID

    Label

    The Work Order ID is included in the Summary and also added as a label on the issue.

    Technology Service


    The Create DevOps Work Order flow can be used to send work orders to other DevOps vendors like Jira. You can use one of the following options:

    • Use the Target Values option and select the Technology Service from the list.
      Target Values shows the list of vendor mappings that you add in the vendor metadata configuration earlier.
      For the Jira integration, from the Target Values list, select JIRA or the name of your Jira instance (if you have provided an instance in the vendor metadata configuration). This determines that the connector process is invoked in BMC Helix Innovation Suite to create or update Jira issues.
    • Use the Source Fields option and map it to one of the existing field from ITSM, for example, the Service field. Then, you can use the transformation option to map different ITSM Services to different technology services.
      For example, if the value of the ITSM Service field is Jira Service, then, add the data transformation to map Jira Service to JIRA or JIRA.InstanceName.
Create Work Order Activity Note

  • Trigger
    Field
    Value
    Broker Vendor Name
    is not empty
    Is New Workorder Work Log
    is true
  • Field Mapping
    Do not change the following out-of-the-box field mappings.
    Field
    Value
    post_type
    comment#vendor
    ticketNumber
    Work Order ID
    ticket_type
    workorder
    vendorTicketId
    Broker Vendor Ticket Id
    Attachment Object 1.name
    Attachment 1 filename
    Attachment Object 1.content
    Attachment 1
    Attachment Object 2.name
    Attachment 2 filename
    Attachment Object 2.content
    Attachment 2
    Attachment Object 3.name
    Attachment 3 filename
    Attachment Object 3.content
    Attachment 3
    NoteYou can change the out-of-the-box field mapping for the text field. Default value is set to Notes.However, BMC recommends that you retain the existing mapping.

Create Work Order Activity Note with Author (Remedy 9.1.07 or later)
  • Trigger

    Field

    Value

    Broker Vendor Name

    is not empty

    Is New Workorder Work Log_People

    is true

  • Field Mapping
    Do not change the following out-of-the-box field mappings.

    Field

    Value

    post_type

    comment#vendor

    ticket_type

    workorder

    ticketNumber

    Work Order ID

    vendorTicketId

    Broker Vendor Ticket ID

    Author

    Full name

    Attachment Object 1.name

    Attachment 1 filename

    Attachment Object 1.content

    Attachment 1

    Attachment Object 2.name

    Attachment 2 filename

    Attachment Object 2.content

    Attachment 2

    Attachment Object 3.name

    Attachment 3 filename

    Attachment Object 3.content

    Attachment 3

    Note

    You can change the out-of-the-box field mapping for the text field. Default value is set to Notes.

    However, BMC recommends that you retain the existing mapping.

Create Work Order from Jira Issue
  • Trigger

    Field

    Value

    Labels not matches

    (INC|CRQ|PBI|WO|PKE)\d+

    Issue Type is one of

    • Story
    • Bug

    Priority equals

    Low

  • Flow Target 1 (Multi-Cloud)
    • Field Mapping

      Do not change the following out-of-the-box field mappings:

      Field

      Value

      Summary

      Issue Summary

      Priority

      Priority

      Description

      Issue Description

      Status Important: The default value of this field is Assigned.

      NA

      Vendor Important: The default value of this field is JIRA.

      NA

      Vendor Ticket Id

      Issue Key

      Vendor Ticket Properties:

      • fields.assigned.displayName
      • fields.status.name
      • fields.issuetype.name
      • key
      • Assignee
      • Status
      • Issue Type
      • Issue Key
Sync Work Order
  • Trigger

    Field

    Value

    Broker Vendor Name is not empty

    NA


  • Flow Target 1 (Multi-Cloud)
    • Field Mapping

      Do not change the following out-of-the-box field mappings:

      Field

      Value

      Work Order ID

      Work Order ID

      Summary

      Summary

      Priority

      Priority

      Description

      Notes

      Company

      Customer Company

      Status

      Status

      Location Company

      Location Company

      Service

      Business Service


Sync Jira Issue

Use this flow when you do want to make direct data updates between a Jira issue and ITSM ticket.

  • Trigger
    Retain the values that are available out-of-the-box.
  • Field mapping
    Do not change the following out-of-the-box field mappings:

    Field

    Value

    Vendor

    Jira

    Vendor Ticket Id

    Issue Key

    Vendor Ticket Properties

    Retain the out-of-the-box properties mapping.

Sync Jira Issue Comment
  • Trigger

    Retain the values that are available out-of-the-box.

  • Field mapping

    Do not change the following out-of-the-box field mappings.

    Field

    Value

    text

    Retain the prefix Comment Body

    post_type

    comment#remedy

    Vendor

    JIRA

    Vendor Ticket Id

    Issue Key

    commentId

    Comment ID

    Attachment Object 1

    Attachment Object 1

    Attachment Object 2

    Attachment Object 2

    Attachment Object 3

    Attachment Object 3

To define connector targets to enable DevOps between Jira and ITSM

BMC preconfigures the out-of-the-box connector targets for all BMC Helix Multi-Cloud Broker features. If you want to update the connector configuration or account information, update the connector target for the feature.

Warning

Do not delete the out-of-the-box connector targets.

  1. To navigate to BMC Helix Innovation Suite, in the Configuration Links page, click Configure Connector Targets in Innovation Studio under Required Common Configurations.
    You need to configure the connector targets listed for each feature on the Configuration Links page, in addition to the ones listed under Required Common Configuration.
  2. Click the connector target you want to configure or click icon_newConnector.png to configure a new connector target.
  3. Enter or update the following values and save the configuration.

    Field

    Instructions

    Name

    Enter a unique name for the configuration.
    The name is associated with the process that is related to the connector you are configuring.

    Connector Type

    Select the connector type from the list of connectors available to you in BMC Helix Integration Service.

    Configuration

    Select a configuration from the list.

    For example, if you select qradar as the Connector Type, all the configurations that you have made for qradar are displayed in the Configuration list.

    Profile

    Select a profile. For example, if you select qradar as the Connector Type, all the profiles that you have created for qradar are displayed in the Configuration list.

To copy connector processes for each Jira instance

When you are integrating with multiple instances of Jira, create a copy of the  Connector Process Jira  process for each instance and name them,  Connector Process Jira for <instance name> . Then, complete the following steps for each Jira instance.

Important

Make a note of the instance name and use the same name for your Jira instance when configuring vendor data.

For updating existing connector processes to support problem integration if you are using an older version where it is not enabled by default see, Enabling-Problem-Management-for-multiple-instances-of-JIRA-Software.

  1. On the Configuration Links page, click Copy processes in Innovation Studio to navigate to BMC Helix Innovation Suite for the process configuration.
    ImportantThe Copy processes in Innovation Studio option is displayed only if you have configured the vendor mapping for multiple instances of Remedy ITSM.
  2. For each process listed on the Configuration Links page, select it from the Processes list and click Copy.A copy of the process is created, and all the connectors and components of the selected process are displayed.processProfiles.png

  3. Enter the name suggested on the Configuration Links page in Name field of the General tab.
  4. Click Save.
After you create a copy of the process, contact BMC Support to set up the connector configuration for the processes that you have created. Complete this procedure for all the Connector Targets listed on the Configuration Links page.

List of connector targets for integration with Jira


MCSM Remedy ITSM

For the MCSM ITSM connector target, define the connection configuration and profile required by the connector process.


MCSM JIRA

For the Connector Targets, define the connection configuration and profile required by the connector process in BMC Helix Innovation Suite.

When you complete the configuration for all the components,verify the incidents are being brokered from ITSM to Jira.

To enable mapping between ITSM fields and custom fields created in Jira

When integrating with Jira, you can send and receive the value of custom fields created in Jira to a field in ITSM by specifying the appropriate mapping for the fields. After you create the custom field, you need to update the Jira connector, flow and vendor data configuration.

  1. Create the custom field in Jira.
    1. Log in to Jira and add the custom fields that you need. 
    2. Ensure that the custom fields are available on all the screens and issue types that you want to integrate with. 
      For information on adding custom fields, see the documentation for Jira.
  2. Synchronize the Jira connector.
    1. Log in to BMC Helix Integration Studio.
    2. Navigate to Catalog and click Connectors.
    3. Select the Jira connector and click Custom Fields in the Configuration pane.
      You might need to click the arrow on the ribbon in the lower section of the screen to open the Configuration pane.
    4. Select the connector configuration that you want to update for custom fields and click Generate or Re-Generate.

      customfields.png
  3. Update the Sync Jira Issue flow to synchronize the new field. 
    1. (Optional) Get the internal ID from Jira for your custom fields: 

      Important

      You must install a utility for non-interactive download of files like wget and then run the commands using the command line prompt.

      1. Run echo -n username:password| base64
        to generate base64 encoded string for subsequent requests.
      2. Run wget --no-check-certificate --header='X-Requested-With: XMLHttpRequest' --header='Authorization: Basic [base64 encoded username:password]' --output-document applications.json 'https://[host]/api/v1.0/apps/search?lower_case_name=[connector name]'

        This command creates applications.json file that contains response from the BMC Helix Integration Service. Copy value from id field from the json file. This is application Id field that you can use in the next command. Find from the list of appConfig your  configuration by name and copy value from Id field. This is configuration Id value that you can use in next command.

      3. Run wget --no-check-certificate --header='X-Requested-With: XMLHttpRequest' --header='Authorization: Basic [base64 encoded username:password]' --output-document app_triggers.json 'https://[host]/api/v1.0/apps/[application Id]/configs/[configuration Id]/triggers'

        This request creates  app_triggers.json file with available triggers. Each trigger object contains a fields field that is an array of available fields. Copy value from systemName field. Use this value in step f.

      4. Run wget --no-check-certificate --header='X-Requested-With: XMLHttpRequest' --header='Authorization: Basic [base64 encoded username:password]' --output-document app_actions.json 'https://[host]/api/v1.0/apps/[application Id]/configs/[configuration Id]/actions'

        This request creates  app_actions.json  file with available actions. Each action object contains a fields field that is an array of available fields. Copy the value of systemName field. These fields can be used as Vendor field mapping properties.

    2. Log in to BMC Helix Integration Studio.
    3. Navigate to My Flows and select the Sync Jira Issue flow.
    4. On the Details tab, click icon_editFlow.png.
    5. Select the Edit Field Mapping tab. 
    6. In the Vendor Ticket Properties section, click Add Property for each custom field that you want to use. 
      AddProperty.png
    7. Enter the systemName field and select the field in which the value of the custom field needs to be populated.
      customFieldMapping.png
  4. To display the custom field, update Display Mapping in Vendor Data configuration.
    1. Log in to BMC Helix Multi-Cloud Broker and click Settings settings.png.
    2. Navigate to Configure Vendors > Map Vendors.
    3. Select the Jira metadata that you want to update and click Edit.

      JiraVendorMapping.png

    4. Add new vendor specific values for the custom fields that you need.
      • Vendor Field Mapping defines how BMC Helix Multi-Cloud Broker maps ITSM fields to vendor ticket fields. 

        vendorMapping.png
      • Display Field Mapping defines how vendor ticket fields map to the fields on the Smart IT console.
        displayMapping.png
        The configuration enables you to send data from the custom Jira field to the ITSM field mapped in the Vendor Field Mapping.

To map a custom field in BMC Helix ITSM with Jira

You can create a custom field in BMC Helix ITSM and map it with a field in the Jira ticket. To learn more, see Updating-configurations-to-send-and-receive-data-from-custom-BMC-Helix-ITSM-fields.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*