Enabling Problem Management for multiple instances of JIRA Software
When configuring the DevOps integration feature with multiple instances of Atlassian Jira Software, create copies of the Connector Process JIRA process for each instance of Jira. To enable the Problem Management functionality for each Jira instance after your BMC Helix Multi-Cloud Broker environment is upgraded, add the Problem Management values to the Connector Process JIRA configuration for each Jira instance.
For multiple Jira instances, if you have copies of Jira connector process that doesn’t support creation of Jira issues from problem, update the existing Jira connector process copies to incorporate the Create Jira issue from Problem block. However, if you have the latest Jira connector process, you need to create the copy and the Create Jira issue from Problem block would be automatically added. Similarly, if you have copies of Jira connector process that doesn’t support work order, update the existing Jira connector process copies to incorporate the work order block.
To update the processes, use the Process designer. For detailed information about using the Process designer, see Defining the application business logic through processes.
To update copies of Connector Process JIRA
- As an administrator, log in to BMC Helix Innovation Suite.
- Navigate to Libraries > Ticket Brokering Library.
- Under Processes, select Connector Process JIRA and click Copy for a Jira instance.
- Add Problem Record as an Input Variable.
- In the right pane of the Process designer click the Process Properties
tab.
- Under Variables, click Add/Remove variables.
- Click Add Variable.
Create the Problem Record variable with the following field details:
Field
Value
Name
Problem Record
Variable ID
466000070
Variable Type
Input
Data Type
Record
Record Definition
Problem
- Click Save.
- In the right pane of the Process designer click the Process Properties
- In the Palette under Activities, drag the Connector element onto the process canvas and name it Create Jira issue from Problem.
- Select the Connector element and click the Element Properties
tab.
Under Input Map, in the Connection field, use the connector target for your Jira instance.
Field
Value
Connection
MCSM JIRA
Action
Create Issue
For each parameter, click
to open the expression builder. For more information about the expression builder, see Expression Editor.
Using the expression builder, update the parameters with the values provided in the following table, and then click OK.
Parameter
Value
Issue Summary
Add the following expression using the fields available under Problem Record
(( Remedy Problem ID + " ") + Summary)
Issue Type
Enter "Story"
Project
Enter "Project"
Dynamic Fields
Add the Dynamic Fields field available under Process Variables.
Issue Description
Add the Description field available under Problem Record.
Labels
Add the Remedy Problem ID field available under Problem Record.
Priority
Enter "P3"
For mapping parameters with hard coded values, use the values in a double quote in the expression editor.
- In the right pane of the Process designer, click the Element Properties
tab.
- Under Output Map, for each parameter, click
to open the expression builder.
Using the expression builder, update the parameters with values provided in the following table, and then click OK:
Parameter
Value
Vendor Ticket Data
issueDetails
Vendor Ticket ID
Issue key
The values are available under Activities > Create JIRA issue from Problem > Output .
- Create a condition line from the exclusive gateway to the connector block and define an action for it.
- Click the condition line, and click the Links tab
.
- On the Element Properties
tab, under Condition click
to open the expression builder.
- Using the expression builder, update the parameter with the following condition: Action Name = "Create Ticket From Problem", and then click OK.
- Click the condition line, and click the Links tab
- Add a termination line from the connector block to the end process indicator
.
Save the process to add the required information for creating Jira records from a Problem record.