Use automation with Microsoft Teams

IMPORTANT - Update your rule by December 31, 2024

Due to recent changes announced by Microsoft, we’ve had to ship an updated to the Send Microsoft Teams message action used by Atlassian Automation. If you have a rule that currently uses this action, please follow these steps to update your rule, to ensure it continues working:

  1. Go to your channel in Teams and select
    Workflows > Post to a channel when a webhook request is received

  2. Paste the webhook URL into the ‘Send Microsoft Teams message’ action

  3. Select Update.

You can set up automation rules to send messages to Microsoft Teams channels (but not private channels) using the Send Microsoft Teams message action. Note that posting a message or adaptive card to a private channel isn't currently supported.

To set this up:

  1. In Microsoft Teams, choose More options (…) next to the channel name and choose Workflows > Post to a channel when a webhook request is received.

  2. Copy the webhook URL and paste the URL in the Send Microsoft Teams message action.

Markdown support

Microsoft Team messages support basic markdown for rich formatting. The only limitations are you can't insert:

  • Images

  • Inline HTML

  • HTML Blocks

  • Custom nodes

If you're using characters such as * , # and you want them to appear as characters in your message content, you need to escape them else they'll be performing a markdown function. You can do this surrounding them with backslashes e.g. \#\

Learn more

Check out some use cases for Microsoft Teams and Jira automation in our automation template library.

Still need help?

The Atlassian Community is here for you.