MS Teams Notify Pipe Change

Suryendu Bhattacharyya December 19, 2024

 

 

 

The BitBucket Pipe for MS Teams notifications currently uses incoming webhooks, which will be deprecated and unavailable starting January 2025. Is there a plan to transition this to the Workflow app? What is Atlassian’s official recommendation regarding this change?

2 answers

0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 16, 2025
0 votes
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2024

@Suryendu Bhattacharyya  hi.
According this page isn't it just a replace old webhook url with new webhook url?
So you can paste your updated url and that's all?

Regards, Igor

Suryendu Bhattacharyya December 20, 2024

Hi Igor, it really is not. Workflow expects an adaptive card.
This has been updated in other products like Jira and Confluence. May be you can check internally.

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2024

I still see that webhook required for workflow.

Regards, Igor

Suryendu Bhattacharyya December 20, 2024

Hi Igor, you are right however, if we just change the URL it results in 

ExpressionEvaluationFailed. The execution of template action 'Send_each_adaptive_card' failed: the result of the evaluation of 'foreach' expression '@triggerOutputs()?['body']?['attachments']' is of type 'Null'. The result must be a valid array.

Possibly because it expects Webhook payload to contain an adaptive card as attachments:

```

{
  "type""object",
  "properties": {
    "type": {
      "type""string"
    },
    "attachments": {
      "type""array",
      "items": {
        "type""object",
        "properties": {
          "contentType": {
            "type""string"
          },
          "content": {
            "type""object",
            "properties": {
              "$schema": {
                "type""string"
              },
              "type": {
                "type""string"
              },
              "version": {
                "type""string"
              },
              "body": {
                "type""array",
                "items": {
                  "type""object",
                  "properties": {
                    "type": {
                      "type""string"
                    }
                  },
                  "required": [
                    "type"
                  ]
                }
              }
            }
          }
        },
        "required": [
          "contentType",
          "content"
        ]
      }
    }
  }
}

```

Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2024

@Suryendu Bhattacharyya thanks for your feedback. Our team will investigate this

Regards, Igor

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events