Creating a policy for trouble tickets in BMC Helix CSP
To create a policy for creating or updating trouble tickets
On the BMC Helix Intelligent Automation console, perform the following steps:
- Click Policies, locate the Create or Update Trouble Ticket Template policy, and click Actions > Copy.
- Enter a new name for your policy and save it.
- Click Actions > Edit against the saved policy.
The policy name and a default description appear. The execution mode is selected as Automatic. In the Trigger area, the event type and the trigger condition are already defined. - In the Action Configuration area, the following actions are available out-of-the-box:
- Map and transform event to trouble ticket: Maps and transforms the event fields to trouble ticket fields based on which a trouble ticket is created. Do not delete this action.
Create or update a trouble ticket: Creates or updates a trouble ticket by consuming the output of the previous action. This action cannot be edited or deleted.
To map the event fields with the trouble ticket fields, click edit against the Map and transform event to trouble ticket action and perform the following steps:
- (Optional) Click Add Trouble Ticket Field to add more fields to be filled in while creating a trouble ticket.
The field names appear based on the fields supported by the connected ITSM system, such as BMC Helix for CSP.
When you add a field, you must map it to a field in the incoming event. For example, if you add the StatusReason, you can add any reason in the event field.
- (Optional) To add a condition to a field, click +Add Condition and add the ticked field and map it to the event field.
- (Optional) Against any field, click Transform fields and select the transformation type:
- Source value to target value: Enables you to map the event source fields to the target ticket fields.
- String: Enables you to concatenate or extract a part of a string.
- Source value to target value: Enables you to map the event source fields to the target ticket fields.
- Click Done.
- (Optional) Click Add Trouble Ticket Field to add more fields to be filled in while creating a trouble ticket.
- Select Publish Policy and click Save to publish the policy.
After publishing the policy, create a policy to send information events to BMC Helix Operations Management.
To create a policy for sending information events to BMC Helix Operations Management
On the BMC Helix Intelligent Automation console, perform the following steps to create a policy that creates trouble tickets in BMC Helix for CSP:
- Click Policies, locate the Create an Information Event Template policy, and click Actions > Copy.
- Enter a new name for your policy and save it.
- Click Actions > Edit against the saved policy.
The policy name and a default description appear. The execution mode is selected as Automatic. In the Trigger area, the event type and the trigger condition are already defined. - In the Action Configuration area, the following actions are available out-of-the-box:
- Map and transform trouble ticket to information event: Maps and transforms the trouble ticket fields to the event fields to send an information event back to BMC Helix Operations Management. Do not delete this action.
Create an information event: Creates or updates an information event based on the output of the previous action. Do not delete this action.
- Select Publish Policy and click Save to publish the policy.
After publishing the policy, create a policy to send information events to BMC Helix Operations Management.
Where to go from here
After successfully creating the policies for creating and updating tickets and sending information events, you can view the status of the policies on the History page. For more information, see Viewing-automation-policy-runs-history.