SAP Cloud ALM External API Management enables integration with external task management systems (Jira & Azure DevOps), ITSM systems (like ServiceNow), and communication tools & chat systems (Microsoft Teams) via webhooks and API subscriptions.
Recently, we had a requirement in a customer implementation project to notify the project team members via Microsoft Teams and channel workflow tasks whenever new project tasks, user stories, roadmap tasks, requirements and defects are created.
Here is the step-by-step end-to-end integration guide for integrating SAP Cloud ALM with Microsoft Teams.
MS Teams Activities:
Create a Team “Basis Team” with Channel Name “Cloud ALM” in MS Teams
Create incoming webhooks with Microsoft Teams workflows.
Copy the webhook link (below, scrambled for restricting external usage)
Cloud ALM subaccount Activities:
You need access to the SAP Cloud ALM subaccount in SAP BTP Cockpit.
Your user requires the “Connectivity and Destination Administrator” role in the SAP Cloud ALM subaccount.
Create a destination in SAP BTP Cockpit.
Cloud ALM application Activities:
Click on External API Management
Webhook Management
Add a new webhook
Mappings Management – use the built-in for “Task to MS Teams Chat” listed below while adding a subscription
Subscription Management
Add new Subscription
Assign the subscription created above to the Cloud ALM projects
In Manage Projects à Assign “CLOUDALM_MSTEAMS_SUBSCRIPTION” under the subscriptions tab for the required Item Type, say “Project Task”, “Roadmap Task”, “User Story”, “Requirement”, “Defect”.
Test the workflow
Now, it’s time to create a project task and check the MS team’s channel for notifications.
Once the project task is created, it should show up in the console section of External API Management (as Task created with 200 OK delivery status)
Finally, the workflows task will appear in Teams and Channels for your action.
Conclusion:
Integrating SAP Cloud ALM with Microsoft Teams is a brilliant move for project transparency. It transforms your ALM environment from a static repository into a living, breathing workspace where the team can react to newly created project tasks, user stories, defects or requirements in real-time.
The above setup applies even to SAP Cloud ALM operations monitoring (say, Health Monitoring, Jobs Monitoring, Integration Monitoring, etc.) to send alert notifications to MS Teams chat using the mapping “Event situation to MS Teams chat” and the resource type in the subscription management must be set to “Event Situation”.
SAP Cloud ALM External API Management enables integration with external task management systems (Jira & Azure DevOps), ITSM systems (like ServiceNow), and communication tools & chat systems (Microsoft Teams) via webhooks and API subscriptions.Recently, we had a requirement in a customer implementation project to notify the project team members via Microsoft Teams and channel workflow tasks whenever new project tasks, user stories, roadmap tasks, requirements and defects are created.Here is the step-by-step end-to-end integration guide for integrating SAP Cloud ALM with Microsoft Teams. MS Teams Activities: Create a Team “Basis Team” with Channel Name “Cloud ALM” in MS Teams Create incoming webhooks with Microsoft Teams workflows. Copy the webhook link (below, scrambled for restricting external usage)https://defaultd93f1efe384dYYYabb9605734XXXda.ee.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/8d869ca29b7e4b0cae87cb4ffdfac196/triggers/manual/paths/invoke?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=kdr4Ge5uttapaBCiGWZYcxlMizZ-d-B-3p1jcYUPAwJQ Cloud ALM subaccount Activities: You need access to the SAP Cloud ALM subaccount in SAP BTP Cockpit.Your user requires the “Connectivity and Destination Administrator” role in the SAP Cloud ALM subaccount.Create a destination in SAP BTP Cockpit. Cloud ALM application Activities: Click on External API ManagementWebhook ManagementAdd a new webhook Mappings Management – use the built-in for “Task to MS Teams Chat” listed below while adding a subscriptionSubscription ManagementAdd new Subscription Assign the subscription created above to the Cloud ALM projects In Manage Projects à Assign “CLOUDALM_MSTEAMS_SUBSCRIPTION” under the subscriptions tab for the required Item Type, say “Project Task”, “Roadmap Task”, “User Story”, “Requirement”, “Defect”. Test the workflow Now, it’s time to create a project task and check the MS team’s channel for notifications. Once the project task is created, it should show up in the console section of External API Management (as Task created with 200 OK delivery status)Finally, the workflows task will appear in Teams and Channels for your action.Conclusion:Integrating SAP Cloud ALM with Microsoft Teams is a brilliant move for project transparency. It transforms your ALM environment from a static repository into a living, breathing workspace where the team can react to newly created project tasks, user stories, defects or requirements in real-time.The above setup applies even to SAP Cloud ALM operations monitoring (say, Health Monitoring, Jobs Monitoring, Integration Monitoring, etc.) to send alert notifications to MS Teams chat using the mapping “Event situation to MS Teams chat” and the resource type in the subscription management must be set to “Event Situation”. Read More Technology Blog Posts by Members articles
#SAP
#SAPTechnologyblog