Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-443

Improve Microsoft Teams action - Tagging User in comments generates MS Teams message in user's individual chat, support smart values, support private channels

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Create ability to tag user in Jira projects and the comment is generated in their MS Teams chat.  While functionality exists which allows Teams notification to a channel via webhook, having the ability to notify the single user in Teams via chat directly from Jira comment tagging would be beneficial and not dilute the Teams Channel discussion thread.

            [AUTO-443] Improve Microsoft Teams action - Tagging User in comments generates MS Teams message in user's individual chat, support smart values, support private channels

            Von Poncet, Alexander added a comment - - edited

            Via automations it would be very useful to be able to send conditional messages to specific Jira users (example: the Jira REPORTER) directly via teams (as opposed to sending an e-mail). At the moment it is only possible to post to a teams channel. This is not useful for us.

            Von Poncet, Alexander added a comment - - edited Via automations it would be very useful to be able to send conditional messages to specific Jira users (example: the Jira REPORTER) directly via teams (as opposed to sending an e-mail). At the moment it is only possible to post to a teams channel. This is not useful for us.

            Adding to this, we'd like to be able to use a smart value for the Webhook URL so that we can send project-specific updates.

            Example: 

            This would allow us to send the same message to different channels depending on the originating project. The alternatives to this are:

            1. Duplicate the "MSTeams" action and put behind if/else statements, comparing the project each time and sending the relevant notification. Requires duplication of effort, any changes to the copy will need to be changed in multiple places
            2. Use "Send web request" action and manually build the Teams notification. This action does support using smart values as the URL, but requires configuring the right templates, etc. for the Teams message. Not straight-forward

            Ethan Sterling added a comment - Adding to this, we'd like to be able to use a smart value for the Webhook URL so that we can send project-specific updates. Example:  Three teams channels, one for each project; backend, frontend, and dba with it's own webhook URL Automation rule trigger: When issue transitions to "Deploying to Prod" In the automation rule, a lookup table named "projectToWebhook" with keys set to the project ID, and values set to the MSTeams webhook URL BE -> https://corp.webhook.office.com/webhookb2/f19f5c61-4231-4f9...... FE -> https://corp.webhook.office.com/webhookb2/17fed91-3810-7bef...... DBA - https://corp.webhook.office.com/webhookb2/ff875eb-9632-9bc...... Add the action "Send Microsoft Teams message" In the Webhook URL field, use the smart value{{ { Unknown macro: {projectToWebhook.get(issue.project.key)} }}} This would allow us to send the same message to different channels depending on the originating project. The alternatives to this are: Duplicate the "MSTeams" action and put behind if/else statements, comparing the project each time and sending the relevant notification. Requires duplication of effort, any changes to the copy will need to be changed in multiple places Use "Send web request" action and manually build the Teams notification. This action does support using smart values as the URL, but requires configuring the right templates, etc. for the Teams message. Not straight-forward

            This function is available for Jira notifications to Slack and is very useful since each user only receives the notifications that are relevant for him.

            yulia grossman added a comment - This function is available for Jira notifications to Slack and is very useful since each user only receives the notifications that are relevant for him.

              89403358cf11 Charlie Gavey
              fc0d7f180e05 Trey Bourgeois
              Votes:
              41 Vote for this issue
              Watchers:
              23 Start watching this issue

                Created:
                Updated: