jenkinsci/office-365-connector-plugin

Add adaptive cards support

Opened this issue · 4 comments

What feature do you want to see added?

From time to time we would like to create messages in MSTeams where we would like to mention someone with '@

This is supported by adaptive cards: [1]

So it would be great if the created messages in teams by this plugin could also contain a notification information.

e.g. "<at>Somebody</at>"

Thanks for adding such a feature in the near future.

[1]

https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-format?tabs=adaptive-md%2Cdesktop%2Cconnector-html#user-mention-in-incoming-webhook-with-adaptive-cards

Upstream changes

No response

any updates regarding this feature ?

Implementing this feature could also solve #323 as adaptive cards do still support color. However the documentation says that Connectors are not supported for Adaptive Cards so this is probably a non-starter

I tried sending an adaptive card over the webhook, it worked.

This issue gets more important as the newest teams update does not support theme color anymore. So currently all messages from jenkins have no color encoding. Messages sent should be migrated to adaptive card format.

could you post a pipeline example please?