MicrosoftTeams plugin configuration help needed

General discussion about MantisBT Plugins

Moderators: Developer, Contributor

Post Reply
Posts: 330
Joined: 04 Jan 2017, 17:41

MicrosoftTeams plugin configuration help needed

Post by mushu »

Windows Server 2019, IIS
MantisBT 2.24.3
Microsoft Teams integration 1.0 ... soft-Teams

I mangled the URL parameter below for public posting but mine works properly as I can paste it into a browser and I get the correct "must use GET method" response back from Teams. not sure how to begin troubleshooting this, it says it wants 5 params and only 3 were supplied, yet I filled in every field in the plugin config screen that was needed. It also installed correctly with no errors. Anyone have thoughts on this?

MantisBT error screen when pressing the [test webhook] button in plugin config screen:


Too few arguments to function MicrosoftTeamsPlugin::notify(), 3 passed in C:\MantisBT2243\plugins\MicrosoftTeams\pages\config.php on line 45 and exactly 5 expected

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.
Detailed error information
Full path: C:\MantisBT2243\core\error_api.php
Line number: 92
Stack trace
# Filename Line Class Type Function Args
0 C:\MantisBT2243\plugins\MicrosoftTeams\pages\config.php 45 MicrosoftTeamsPlugin -> notify <string>'Hello, this is a test for the MantisBT-Microsoft Teams plugin :wave:', <string>'https://domain/webhookb2/hash/IncomingWebhook/hash', <string>'#General'
1 C:\MantisBT2243\plugin.php 74 - - include <string>'C:\\MantisBT2243\\plugins\\MicrosoftTeams\\pages\\config.php'
Post Reply