-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mattermost] Required parameter should be channel Id #658
Comments
That's an option but when we created this backend it was based on the slack backend, so they have the same parameters to execute them. I understand that to get the id of the channel is an extra step, though. Also, I'm not sure if the name of a channel can change. I guess they can so not sure how the other parts of the GrimoireLab stack would work if this is the case. It's something to take into account. |
Thank you for the reply @sduenas
You can rename the channel as well as the URL where the channel lies, going to NOTE:
|
The help text of Mattermost backend mentions the required parameter as Channel name.
grimoirelab-perceval/perceval/backends/core/mattermost.py
Line 466 in 5b4f848
However, going through the source code and mentioned example in the Perceval documentation I think the required parameter is
channel id
.I would also like to suggest an alternative. We can use the following API to get a list of channels and match the channel name to retrieve the channel id(as done in groups.io and gitter): https://api.mattermost.com/#tag/channels/paths/~1channels/get
The text was updated successfully, but these errors were encountered: