Customizing Shared Ticket Console


The BMC Helix Innovation Studio based Shared Ticket Console uses a Custom Record Definition (CRD) to fetch data from multiple record definitions, such as change and problem tickets, and display them in a single record view. As an administrator, you can customize ITSM Tickets CRD to add custom fields, map the custom selection option to the source selection field option, and add source record definitions to display a custom ticket type in Shared Ticket Console. You can also customize the interface by customizing the views.

Best practice
Whenever you create an object such as Named list, or add a field to a record definition, or copy the out-of-the-box default views, add your organization name in front of the name of the new item you create. This way, you can easily differentiate between your customizations and the out-of-the-box items. For example, when you create a custom view for Work order, name the view as Petramco_Default_WO_Quick_View

 

To add a new field to Shared Ticket Console

Any custom field created for a ticket must be added to the custom record definition, to make it visible in Shared Ticket Console. 

  1. Log in to BMC Helix Innovation Studio and navigate to the Workspace tab. 
  2. Click Applications.
  3. Click ITSM Application.
  4. On the Records tab, click ITSM Tickets CRD.
  5. Click New Field in ITSM Tickets CRD, and select the required datatype for the field.
  6. In the DETAILS section, provide the following details for the field:

    Field

    Description

    (Optional) Named List

    Select the named list that you want to associate with the record field.

    Description

    Enter the description for the record field.

    (Optional) Field ID

    Enter the field ID for the field. If you leave this field blank, the field ID is generated automatically.

    Name

    Enter the name of the record field.

  7. In the FIELD MAPPINGS section, click Add/Remove Field Mappings, select the source record definition, and from the Source Field list select the source field that you want to map the newly added field.
    At runtime, the newly added field displays the data from the field that you selected from the Source Field list.
  8. Click Save

Selection fields provide users with a group of options from a list. A selection field can be for a single selection or for multiple selection. To add field mapping for selection fields, see Creating or modifying custom record definitions.

 

Watch the following video to see how you can add a field to Shared Ticket Console:
 

icon_play.pnghttps://youtu.be/H8YevgnTB8Q

 

To map a custom selection option to the source selection field option

Any custom selection options created for a selection field must be added to the ticket console record grid, to make it visible in Shared Ticket Console. For example, let's say, for the Task ticket type, you have created Deferred as a custom selection option for the Status field. 

Perform the following steps to map a custom selection field option:

  1. Log in to BMC Helix Innovation Studio and navigate to the Workspace tab. 
  2. Click Applications.
  3. Click ITSM Application.
  4. On the Records tab, click ITSM Tickets CRD.
  5. Select the field for which you want to add the custom field value.
    For example, select Consolidatedstatus.

    statusoptions.png
     
  6. In the DETAILS section, next to Options, click Edit.
  7. Click Add Option.
  8. Enter the custom field value under Name, and click Map values.

    addoption.png
     
  9. Click Add Option next to the source record definition.
    For example, Task.
  10. From the Option list, select the option from source selection field to map to this option, and click Save.

    addstatusoption.png

     
  11. Click Save again to close the Add/Remove Selection Options window.
  12. Click Save again to save the changes to the record grid.

 

To add a new ticket type to Shared Ticket Console

Shared Ticket Console supports the following ticket types out of the box:

  • Help Desk
  • Infrastructure Change
  • Problem Investigation
  • Known Error
  • Release 
  • Request
  • Task
  • Work Order
  • Activity

Perform the following steps to add a new ticket type to Shared Ticket Console:

  1. Log in to BMC Helix Innovation Studio and navigate to the Workspace tab. 
  2. Click Applications.
    image2022-8-17_15-56-16.png
  3. Click ITSM Application.
  4. On the Records tab, click ITSM Tickets CRD.
    CRD.png
  5. To add a record definition, click Add Source Record Definition.
    Source record.png
  6. In the Add Record Definition dialog box, from the Record Definition Name list, select the source record definition and click Save.
  7. Select any field and in the FIELD MAPPINGS section, click Add/Remove Field Mappings.
    The Add/Remove Field Mappings window displays sections for each of the source record definitions you have selected.
  8. Select the source record definition, and from the Source Field list, select the source field that you want to map with the selected field.
    field mapping.png
  9. Click Save.
  10. Repeat steps 7, 8, 9 to map all the fields to their respective source fields.

    Important

    You must map all the fields to view them in Shared Ticket Console.

  11. (Optional) If you want to delete the source record, click the close iconclose icon.png.
    image2022-9-28_18-52-20.png

    Important

    When you delete the source record, all the fields in the source record and their mapping to the custom record definition are deleted.

 

Customizing Shared Ticket Console views

In BMC Helix Innovation Studio, a view definition is a graphical representation of an application. The BMC Helix Innovation Studio based Shared Ticket Console uses view definitions or views that define the console's user interface. You can customize a view by arranging the data items in a specific order or showing only specific items. To customize the out-of-the-box views, you must create a new view by copying a default view.

You can access the views from the Manage Views section under Screen Configuration in Innovation Studio Configuration in BMC Helix ITSM. The default out-of-the-box views are displayed inside the placeholder views in the Manage Views section. For example, IT Ticket Console is a placeholder view for the main interface of Shared Ticket Console. Petramco Ticket Console is the view copied from the default out-of-the-box view and it's the actual view that defines the console's interface. The out-of-the-box default view Default IT Ticket Console SM is replaced by the copied view name Petramco Ticket Console inside the placeholder view.

Views.png

The following default views are available for customization out of the box for Shared Ticket Console:

Views

Description

Default view names

IT Ticket Console

Shared Ticket Console view

STC.jpg

Default IT Ticket Console SM

Update assignment

In Shared Ticket Console, you can assign tickets in bulk by clicking Bulk relate_assign icon.png. The Update assignment window opens, and you can search for users to assign the selected tickets. You can define the interface of this Update assignment window by customizing the Update assignment views. Each ticket type has its own view defined. For example, when you select incident tickets in the console and click Bulk relate_assign icon.png, the interface of the Update assignment window that opens is managed by Default Update Assignment_Incident view.

 

Update_Assignment.png

  • Default Update Assignment_KnownError
  • Default Update Assignment_Problem
  • Default Update Assignment_Change
  • Default Update Assignment_Task
  • Default Update Assignment_Incident
  • Default Update Assignment_Release
  • Default Update Assignment_WorkOrder
  • Default Update Assignment_Activity

Update status

In Shared Ticket Console, you can update the status of tickets in bulk by clicking Update status. The Update status window opens, and you can select the status to which you want to move the tickets. You can define the interface of this Update status window by customizing the Update status views. Each ticket type has its own view defined. For example, when you select incident tickets in the console and click Update status, the interface of the Update status window that opens is managed by Default Incident update status view.

Update_Status.png

  • Default Workorder update status
  • Default Change update status
  • Default Incident update status
  • Default KnownError update status
  • Default Problem update status

 

To customize a view by copying a default view

You can customize Shared Ticket Console by customizing the views. To customize a view, you must create a new view first by copying a default view.

  1. From the menu bar, select Configuration > Innovation Studio Configuration.
  2. In the Settings pane, select Screen Configuration > Manage Views.
  3. Click dots.pngfor the ticket console view that you want to customize.

    copying a default view.png
     
  4. Click Copy default view.
  5. Enter a view name.
    For example: Petramco Ticket Console.

    Best practice

    Whenever you create a copy of the out-of-the-box default views, add your organization name in front of the name in the View Name field. This way, you can easily differentiate between your custom views and the out-of-the-box views, and also avoid upgrade error. For example, you create a custom view for Work order and name the view as Default_WO_Quick_View. In the latest version, if BMC adds a new view for Work order out of the box with the same name for the view, you get the following error while upgrading:

    ERROR (1701): Duplicate view definition; com.bmc.dsm.itsm-applications:Default_WO_Quick_View, WARNING (55): The following item was not imported

    Best practice

    Whenever you create a copy of the out-of-the-box default views, add your organization name in front of the name in the View Name field. This way, you can easily differentiate between your custom views and the out-of-the-box views, and also avoid upgrade error. For example, you create a custom view for Work order and name the view as Default_WO_Quick_View. In the latest version, if BMC adds a new view for Work order out of the box with the same name for the view, you get the following error while upgrading:

    ERROR (1701): Duplicate view definition; com.bmc.dsm.itsm-applications:Default_WO_Quick_View, WARNING (55): The following item was not imported

     

  6. Click Copy
  7. Click Activate.
    Shared Ticket Console uses the new view that you created. 

 

To add a column to the ticket console record grid

Important

When you add a field to Shared Ticket Console, make sure that the Actions column is placed at the end in both the record grid as well as view presets, such as All critical tickets, All open tickets, to which you add the new field.

Any newly added field or any field that is not visible in Shared Ticket Console must be added to the ticket console record grid, to make it visible in Shared Ticket Console.
Perform the following steps to add a column to the record grid:

  1. In the customized view that you created by copying a default view, click Edit.
  2. Select Record grid > Properties > Edit grid columns.
  3. In Available columns, click  image2022-9-27_14-53-58.png <column name>.
  4. In Selected Columns, select properties of the new column.
    image2022-9-28_8-38-40.png
  5. Click Save.

You can customize the ticket console record grid by adding columns to the grid, enabling sorting, filtering of the columns, and so on. For more information about the record grid, see Creating a tabular view of record instances by using a record grid

Important

The Enable advance filtering option is not supported for the Shared Ticket Console views.

To edit the properties of Shared Ticket Console record grid columns

  1. In the customized view that you created by copying a default view, click Edit.
  2. Select the Record grid > Properties > Edit grid columns.
  3. Expand the column that you want to edit.
    You can modify the following column properties:

    Property

    Description

    Column header

    Specifies the name of the column. 

    Visible

    Enables the column visibility on the view. Clear this property to hide the column.

    Sortable

    Enables the sorting of the columns.

    Filterable

    Enables filtering of the columns.

    Searchable

    Enables searching in the columns.

    Wrap text

    Enables text wrapping. You can also align the text.

    Width

    Sets the width of the column.

  4. Click Save.

(Click the play icon to see how to edit the column properties of the grid)

 

 

 

 

 

 

 

 

To customize view presets

You can edit the defined filters in view presets. For example, you can edit the Create date filter in the All critical tickets view preset to show the tickets that are open for the past week, but not for the past 30 days.

  1. In the customized view that you created by copying a default view, click Edit.
  2. Select Record grid > Properties > Edit view presets.
  3. Expand the preset that you want to modify.
  4. Click Edit grid columns.

    View presets.png
     
  5. Click the column that you want to add to the preset, and select Visible.
  6. Click Save.
  7. Click Filter.
    Add or change filters.
  8. Click Apply filters.

Important

When you edit the record grid properties in a custom view, the Enable advanced filtering property is visible under the Filters section. This property is not supported for Shared Ticket Console views and Asset Console views in version 25.2.

(Click the play icon to see how to edit view presets)

 

 

 

 

 

 

 

 

To update the maximum number of tickets in bulk

By default, you can perform bulk actions on 50 tickets at the most. However, you can change this number according to your requirements.

  1. Click the customized view that you created by using the steps in To customize a view by copying a default view.
  2. Select the bulk action; for example, Update status.
  3. In the Properties window, under Condition, click the expression.
    image-2023-8-4_10-3-50.png
     
  4. Under Expression for Disabled, change the value of Selected row count to 30.
    With this change, the maximum number of tickets that you can update the status of is set to 30.

    bulk update records.png
     
  5. Click OK.
  6. Click Save.

 

To add a statistics card to the ticket console

You can add an additional statistics card to the ticket console. For example, you can add a statistics card to show the count of all the tickets displayed in the ticket console.

Stats_card1.png

Most of the steps in the overall procedure to add an additional statistics card remains the same. You must first create a process to get the count of the tickets based on the query expression on the ticket console grid. Then update your customized view to add a standalone field for the statistics card and update the Build stats JSON event button. 

Click the following links for procedures to create a statistics card to display the total number of tickets displayed in the ticket console.

Creating a new process to get the total tickets count based on the current applied query expression on the console grid
  1. Log in to BMC Helix Innovation Studio and navigate to the Workspace tab. 
  2. Click Applications.
    image2022-8-17_15-56-16.png
  3. Click ITSM Application.
  4. Under Processes, click New.
    Update the properties with values as given below:
    1. In Name, enter Get Total Tickets Count.
    2. In Run as, select Current User.

      General_properties.png
       
    3. Click Add/Remove Variables > Add Variable.
      Add the following variables and save:
      1. Grid Query

        Property

        Value

        Name

        Grid Query

        Variable Type

        Input/Output Variable.
        Select only the Input checkbox

        Date Type

        Text

        Add variable.png
         

      2. Output JSON

        Property

        Value

        Name

        Output JSON

        Variable Type

        Input/Output Variable.
        Select only the Output checkbox

        Date Type

        Text

      3. Total_Tickets_Count

        Property

        Value

        Name

        Total_Tickets_Count

        Variable Type

        Local Variable

        Date Type

        Integer

        Variables.png
         

    4. Under Permissions, click Edit > Add Permission.
      Update the fields with values as given below and save:

      Field

      Value

      Type

      Group

      Group

      Public

      Execute

      Select the checkbox

      Edit permission.png
       

  5. From GATEWAYS in Palette, add the Exclusive gateway to the canvas.

    Process_1.png
     
  6. Drag an arrow from Start to the Exclusive gateway.

    Process_2.png
     
  7. From PLATFORM ACTIONS in Palette, add the Compute Value action type to the canvas.

    Process_3.png
     
  8. Update the properties with values as given below:
    1. In Name, enter Set Default Grid Query On Null.

      Process_6.png
       
    2. Under INPUT MAP, click Edit next to Expression Text.
    3. In Expression for Expression Text, enter "1=1".
    4. Under OUTPUT MAP, select the Name as Grid Query.
    5. Click Edit next to Source.
    6. In Expression for Source, add Output (Set Default Grid Query On Null > Output).

      Process_7.png
       
  9. Drag an arrow from the exclusive gateway to the compute value action type.

    Process_4.png
     
  10. Under the properties, click on Click to build an expression.
  11. In Expression for Condition, enter Grid Query = " ".

    Process_8.png
     
  12. From GATEWAYS in Palette, add the Exclusive gateway to the canvas.
  13. Drag arrows to connect the exclusive gateways and the compute value action.

    Process_9.png
     
  14. From PLATFORM ACTIONS in Palette, add the Get Record Instance Count_ action type to the canvas.
  15. Update the properties with values as given below:
    1. In Name, enter Get total ticket Count.
    2. Under INPUT MAP, select the Record Definition Name as ITSM Tickets CRD.
    3. Click Edit next to Query Expression.
    4. In Expression for Query Expression, add Grid Query.
    5. Click the Use Dynamic Expression check box.

      Process_11.png
       
    6. Under OUTPUT MAP, select the Name as Total_Tickets_Count.
    7. Click Edit next to Source.
    8. In Expression for Source, add Output (Get total ticket Count > Output).

      Process_10.png
       
  16. Drag an arrow from the exclusive gateway to the Get Record Instance Count_ action type.

    Process_12.png
     
  17. Under the properties, click on Click to build an expression.
  18. In Expression for Condition, enter Grid Query != NULL.

    Process_13.png
     
  19. From PLATFORM ACTIONS in Palette, add the Compute Value action type to the canvas.
  20. Update the properties with values as given below:
    1. In Name, enter Set output JSON.
    2. Under INPUT MAP, click Edit next to Expression Text.
    3. In Expression for Expression Text, add Total_Tickets_Count (Process Variables > Total_Tickets_Count).
    4. Under OUTPUT MAP, select the Name as Output JSON.
    5. Click Edit next to Source.
    6. In Expression for Source, add Output (Set output JSON > Output).

      Process_14.png
       
  21. Drag arrows as shown in the following image between actions and gateways to complete the process.

    Get_tickets.png
Updating the customized view to add a standalone field for the statistics card and update the Build stats JSON event button.
  1. Click the customized view that you created by using the steps in To customize a view by copying a default view.
  2. From Common Components in Palette, add a Statistics Card to the Statistics Card Bar.
    Update the general properties of the action button with values given in the following table:

    Property

    Value

    Name

    Total

    Mapping Key

    totaltickets

  3. From Shared Components in Palette, add a Standalone Field below the existing standalone fields.
    Update the general properties of the standalone field with values given in the following table:

    Property

    Value

    Name

    Total tickets count

    Display Label

    Total tickets count

    Hidden

    Turn on the Hidden toggle key, with the At all times condition.

  4. From Common Components in Palette, add an Event Button above the Total tickets count standalone field.
    1. Update the general properties of the event button with values given in the following table:

      Property

      Value

      Expression path

      Label

      Get total tickets count

      Not applicable

      onChangeActivate

      Turn on the toggle key, with the When condition is true condition.

      Not applicable

      Condition
      (onChangeActivate)

      Field Value = "Yes"

      View > Components > Standalone Field (Set stats flag) > Field Value

    2. Click Edit actions and add the following actions from the list of Available actions with their respective values and expressions:
      1. Launch process

        Field

        Value

        Expression path

        Condition

        Not applicable

        Not applicable

        Process to start

        Select Custom_Get_Total_Count from ITSM Application

        Not applicable

        Wait for process completion

        Turn on the toggle key

        Not applicable

        Grid Query

        Query expression

        View > Components > Record grid (ITSM Tickets CRD: ITSM tickets CRD grid) > Query expression

      2. Set property

        Field

        Value

        Expression path

        Condition

        Not applicable

        Not applicable

        Property path

        Value

        View > Components > Standalone Field (Total tickets count) > Value

        Property value

        Output JSON

        Actions > Launch process > Output JSON

      3. Set property

        Field

        Value

        Expression path

        Condition

        Not applicable

        Not applicable

        Property path

        Value

        View > Components > Standalone Field (Track stats count) > Value

        Property value

        Field Value + 1

        View > Components > Standalone Field (Track stats count) > Field Value

      4. Click Save.
         
  5. Click the existing Build stats JSON event button.
    1. Update the general properties of the event button with values given in the following table:

      Property

      Value

      Condition
      (onChangeActivate)

      Field Value = 1111111
      Note: Add for each statistics card you add. For example, 1111111 for seven statistics cards.

    2. Click Edit actions.
    3. Update the Property value of the first existing Set property action as shown in the following image:

      JSON property value1.png

       
    4. Click Save.
  6. Click Save again to save the view.
  7. Refresh the ticket console in BMC Helix ITSM to view the new statistics card.
    This statistics card displays the total count of the tickets displayed in Shared Ticket Console based on the filters applied. There is no action, when you click this statistics card. You can add actions to the statistics card to make it clickable.

 

 

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