SAP Cloud ALM

This guide explains how to integrate SAP Cloud ALM with ReleaseOwl and synchronize artifacts, user stories, and related components between the two systems. Cloud ALM is providing the API'S for updating the status of the feature.

Overview

SAP Cloud ALM provides centralized management for requirements and features, serving as the single source of truth throughout the product lifecycle. ReleaseOwl, on the other hand, focuses on automating the technical delivery process—including managing transports, CPI artifacts, pipelines, and deployments.

Through this connection, Cloud ALM can initiate implementation phases, monitor progress, and enforce approvals, while ReleaseOwl updates Cloud ALM with transport information, pipeline execution results, and deployment status, allowing Cloud ALM to maintain complete traceability from requirement definition to final production deployment.

Prerequisites

Before proceeding, ensure that:

  • You have an active subscription to SAP Cloud ALM.

  • You have the required permissions to create service instances in SAP BTP Cockpit.

  • You have access to ReleaseOwl with administrative privileges.

Connect SAP Cloud ALM with ReleaseOwl

To connect SAP Cloud ALM to ReleaseOwl, you first need to obtain the client credentials from your SAP BTP environment.

Fetch Cloud ALM Client Credentials from SAP BTP

  1. Navigate to Instances and Subscriptions in your SAP BTP Cockpit.

  2. Click Create, select the service SAP Cloud ALM API, and provide the required details.

  3. Click Next, then choose Create Instance to complete the setup.

  1. Once the instance is created, open it and select View Credentials.

  2. Copy the Client ID, Client Secret, and URL from the credentials section.

  3. These credentials will be used to authenticate and establish a secure connection between ReleaseOwl and SAP Cloud ALM.

Register SAP Cloud ALM in ReleaseOwl

Once you have the credentials, register them in ReleaseOwl to enable integration.

  1. Open the Credential Manager in ReleaseOwl.

  2. Click Register Credential.

  1. Paste the copied Client ID, Client Secret, and URL into the respective fields.

  2. Click Save to register the credentials successfully.

SAP Cloud ALM Project Integration

After registering the credentials, you can link your SAP Cloud ALM project with a ReleaseOwl project.

Step 1: Navigate to Project Settings

  1. Switch to the desired working project in ReleaseOwl.

  2. Go to Project Settings.

  3. In the Project Settings section, navigate to ALM Integrations and click Add.

Step 2: Fill in the Required Details

  • Name: Enter a unique name for the integration.

  • Description (Optional): Add a short description for future reference.

  • External System: Select SAP Cloud ALM from the dropdown list.

  • Credential: Choose the registered SAP Cloud ALM credential from the dropdown list.

  • Host URL: Enter the SAP Cloud ALM server URL.

  • Project: Select the SAP Cloud ALM project you wish to integrate from the dropdown list.

  • Once the details are filled in, click Save to establish the integration.

Syncing Features and User Stories

After successful integration, you can start syncing data between SAP Cloud ALM and ReleaseOwl.

  1. Go to the User Stories section in ReleaseOwl.

  2. Click on Sync User Stories.

    • This action fetches all the features and their associated user stories from SAP Cloud ALM into ReleaseOwl.

  3. Once synced, you will see the imported user stories listed under their respective features.

  4. By clicking the dropdown icon next to a User Story ID, you can view detailed information about that specific user story.

Managing User Stories in ReleaseOwl

Each synced user story can be further enhanced and managed directly within ReleaseOwl:

  • Click on the Actions button corresponding to a user story.

  • From here, you can edit the user story and attach relevant components such as transports, CPI artifacts, and other related deliverables.

  • This enables seamless linkage between SAP Cloud ALM features and the technical artifacts managed through ReleaseOwl.

Promoting User Stories from ReleaseOwl

Once your user story is updated and ready for deployment:

  1. Click on the Promote button for the respective user story.

  2. This action triggers the Release Pipeline associated with that user story.

  3. The pipeline executes all defined stages — such as build, validation, and deployment — ensuring end-to-end automation from SAP Cloud ALM to your target environments

Promoting User Stories from SAP Cloud ALM

You can promote user stories directly from SAP Cloud ALM, and the corresponding execution continues in ReleaseOwl based on the lifecycle actions performed in Cloud ALM.

Accessing the User Story in Cloud ALM

  1. In ReleaseOwl, open the required user story.

  2. Click the External ID, which redirects you to the user story/features in SAP Cloud ALM

Bidirectional Synchronization

SAP Cloud ALM and ReleaseOwl maintain a bidirectional connection:

  • Any Cloud ALM lifecycle action (Start Implementation, Handover to Test, etc.) is sent to ReleaseOwl via webhook events.

  • Any technical action performed in ReleaseOwl (adding a transport, deployment updates) is written back to Cloud ALM as comments in the description of the user story.

  • This ensures both systems stay aligned throughout the implementation lifecycle.

Start Implementation

When you click Start Implementation in SAP Cloud ALM:

  1. A confirmation dialog appears.

  2. Before performing this action, the user must attach and release the transport in ReleaseOwl.

  3. After confirmation, Cloud ALM sends the updated status event to ReleaseOwl.

  4. ReleaseOwl updates the user story and records the change back in Cloud ALM as a comment.

Handover to Test

When the user selects Handover to Test in SAP Cloud ALM:

  1. Cloud ALM emits a status change event through the configured webhook.

  1. ReleaseOwl receives the event and triggers the corresponding pipeline stage.

  2. On refreshing the user story in Cloud ALM, you will see a comment added under the description indicating that the change was processed by the webhook event.

Pipeline Status in ReleaseOwl

You can verify execution progress in ReleaseOwl:

  • Navigate to the User Stories dashboard.

  • As the Cloud ALM status changes are processed, the corresponding user story will automatically move to the next pipeline stage in ReleaseOwl.

Managing User Stories in ReleaseOwl

Each synced user story can be further enhanced and managed directly within ReleaseOwl:

  • Click on the Actions button corresponding to a user story.

    • From here, you can edit the user story and attach relevant components such as transports, CPI artifacts, and other related deliverables.

    • This enables seamless linkage between SAP Cloud ALM features and the technical artifacts managed through ReleaseOwl.

Webhook Configuration in Cloud ALM

To ensure ReleaseOwl stays updated with changes made in Cloud, you must configure webhooks in Cloud ALM.

Configure Destination in SAP BTP

  1. Log in to your SAP BTP subaccount.

  2. Go to Connectivity from the left-side navigation pane.

  3. Select Destinations and click on the Create button.

  4. Provide the required destination details:

  • Name: Enter a destination name of your choice.

  • Type: Select HTTP.

  • Proxy Type: Set to Internet.

  • URL: Enter the webhook URL provided during the ReleaseOwl solution implementation.

  • Click Save to complete the configuration.

Configure Webhooks in SAP Cloud ALM

  1. Navigate to SAP Cloud ALM → Administration → External API Management.

  1. In the external Management, click on the Webhooks Management.

  1. Click the “+” icon to create a new webhook and fill in the required details:

  • Name: Provide a meaningful webhook name.

  • Resource Type: Select the desired resource type (any applicable option can be chosen).

  • Destination ID: Choose the destination you created in SAP BTP.

  1. Click Save.

Enter the Webhook Path

In the Path field, enter the ReleaseOwl webhook endpoint using the following general structure:

Parameter Details

  • tenant_id: The unique identifier assigned to your ReleaseOwl tenant.

  • project_id: The ID of the specific ReleaseOwl project where the integration is configured.

  • integration_id: The reference ID of the Cloud ALM integration you created in ReleaseOwl.

  • secret_key: The authentication key automatically generated during the ReleaseOwl webhook setup, used to securely validate incoming requests.

Add External API Management to Subscription Management

  1. Navigate to Subscription Management within SAP Cloud ALM.

2. Click the “+” icon to add a new subscription.

3. Provide the following details:

  • Resource Type: Select Feature.

  • Type: Choose External.

  • Webhook: Select the webhook created

4. Click Save to complete the subscription setup.

Last updated