Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-204

When trying to configure A4J to send MS Teams messages it doesn't recognize the URL pattern as valid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Medium
    • 7.2.6
    • 7.2.4
    • Actions
    • Severity 1 - Critical
    • 0

    Description

      Issue Summary

      When configuring and following the steps required to configure MS Teams and Automation for JIRA to work together, the message below appears:

      Steps to Reproduce

      1. In Microsoft Teams, choose More options (…) next to the channel name and choose Connectors.
      2. From the list of connectors, create an incoming webhook
      3. Copy the webhook URL and paste the URL in the Send Microsoft Teams message action.

      Expected Results

      A4J recognizes the pattern as valid.

      Actual Results

      A4J is waiting for outlook.office.com/webhook pattern of URL on MS Teams action.

      Workaround

      • Upgrade to 7.2.6;
      • Run a cUrl command as below:
      curl -u admin:admin -X PUT -H 'Content-type: application/json'  --data '{"key":"ms.teams.notification.action.url.prefix","value":"https://"}' http://<your-URL.COM>/rest/cb-automation/1/configuration/property/
      

      This will set the prefix to "https://" and allow you to add different MS Teams url patterns.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vseger@atlassian.com Victor Seger (Inactive)
              Votes:
              9 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated: