Skip to Content
Technical Articles
Author's profile photo Xavier DUPEYRAT

SAP ALM API and Integration: Manual Ticket Creation From Events

Objectives

When events are created in SAP Cloud ALM, you would like to forward those events to an external ticketing system to create an incident or a case.

 

Introduction

In the previous blog, you can learn how to setup and configure automatic tickets creation from events managed by SAP Cloud ALM.

Check also the following link to get more information on how to integrate SAP Cloud ALM with external incidents and cases management.

 

In this blog, you will discover how to trigger a manual ticket creation in an external system connected to SAP Cloud ALM via an external API management subscription.

 

Step by Step Process

  • From an alert, you can now create a manual “ticket” from the “Actions” button.It provides you with the possibility to forward an event situation to another ticketing system to notify another team or send the information to another channel.

 

 

  • Select a “subscription” to identify the system in which the ticket needs to be created. In this list, all subscriptions associated to a external resource of type “incident“.

 

 

  • You can update the ticket content to provide contextual information. For example, you can raise the priority and update the description.

 

 

  • Check the result in SAP Cloud ALM.In the “tickets” tab, you can find the list of manual and automatic external tickets attached to a given SAP Cloud ALM event situation.

 

 

 

  • Check the result in the external system.The content depends on the mapping associated to the selected subscription.

 

 

Thanks for reading.

 

 

Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Peter Urbanek
      Peter Urbanek

      Dear Xavier,

      thank you for your blog. We are testing this feature and there is problem in step Create Ticket.

      After clicking on OK button there is error :

       

      [Error Occurred] error during notification sending.: Forbidden

       

      In webbrowser console :

       

      Request URL: https://xxxxxx-cloudalm.eu20.alm.cloud.sap/ui/x-rn-srv-ui/v1/message
      Request Method: POST
      Status Code: 502 Bad Gateway

      Response :
      {"errorDetails":{"code":"502 BAD_GATEWAY","message":"error during notification sending.: Forbidden","target":"/message","details":[{"codeD":"403 FORBIDDEN","messageD":"<!doctype html><html lang=\"en\"><head><title>HTTP Status 403 – Forbidden</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 403 – Forbidden</h1></body></html>"}]}}

       

      Are we missing something ?

       

      Thank you for your answer,

      Peter

      Author's profile photo Peter Urbanek
      Peter Urbanek

      We solved it out. There was problem with the endpoint.