Microsoft Teams Workflows tool is a powerful instrument for creating highly customized automation and selective publishing to Teams channels.
This documentation will guide you through the workflow set-up allowing the SLA notifications to be posted in Teams channel in the form of an Adaptive card.
In this documentation, we provide the basic example of utilising the adaptive cards functionality. You may use Microsoft documentation or resources like Adaptive card designer in order to customize your cards.
Please follow the precise instructions on this page when building your Workflow template.
Build a workflow
- Locate the desired Teams channel → click on three horizontal dots and select Workflows → Manage.
- Press "New Flow" button at the right-top corner of the page → Create from blank.
- Choose a Trigger: When a Teams webhook is received.
- Select "Anyone" in "Who can trigger the flow?" field → add New step.
- Select Action: Post card in a chat or channel.
- Post as → Flow bot (in case the channel is private - post as User).
- Post in → choose Team and Channel to which the card will be posted.
- Adaptive card - paste the JSON for your card. Example: @{triggerOutputs()?['body']}
- Click Save and copy the Connector URL from the Trigger to be used in configuration on Jira's side.
Notification Provider
Log in as a user with the 'Jira Administrators' global permission.
Navigate to Admin menu → Manage apps. Select SLA PowerBox → Notification Providers to open the SLA Notification Providers page.
Tip: Keyboard shortcut: g + g + start typing notification providers...
Click the Add Provider button.
Select MS Teams Workflows → Next.
Fill in Provider Name and optional Description.
Paste URL to MS Teams Connector into Connector field.
- You can further customize your Adaptive card by adding JSON to Workflows Json field.
Confirm your choice with the Create button.
Test Connector - You can test MS Teams Connector and check if the notifications are sent properly.