Parameterize the Slack user ID?

Answered

We created a simple Slack app that uses the Teamcity API to trigger new builds. We've also added Slack notification as a build feature in the configuration. This all works, but I would now like to use build configuration parameters (like eg. slack.userid) to pass along from the API and have the notifications go to the triggering user instead of a predefined user. However, the setting Channel or user ID in notifications set up does not seem to accept configuration parameters.

Is there some other way to handle this or should I report this as a feature request?

Thanks!

0
2 comments
Avatar
Fedor Rumyantsev

Hello Magnus,

Unfortunately, as of now parameters are indeed not supported for the Slack notifier feature. We do have a feature request regarding this, though: https://youtrack.jetbrains.com/issue/TW-66242

Please feel free to keep an eye on the issue status and/or vote as you see fit.

1

OK, thanks for getting back to me, I've voted for the feature now.

0

Please sign in to leave a comment.