Workflow for Slack. Pass event metadata

Hi,

According to this article there is an only option to integrate Separate Projects to Separate Channels:

https://www.jetbrains.com/help/youtrack/standalone/Slack-Integration-HTML.html#multi-project

I wonder if there is any option to receive from the Slack at the moment when you create a draft issue for Youtrack some metadata. I'm asking about the channel name, where the draft init was done.

The logic is to send notifications about the task status into the same channel from where the task was created, but not into the specific hardcoded one. So we would be able to use this metadata in the workflow script to avoid creating huge amount of hooks for each channel.

Appreciate for any help.

Thanks

1 comment
Comment actions Permalink
Official comment

Hi!

I'm Sergey from the Youtrack team.

I'm sorry for the delayed reply. Generally, if you'd like to get in touch with our support team directly for a quick answer to your question, please fill in a direct request at https://youtrack-support.jetbrains.com/hc/en-us/requests/ We'll be happy to help.

There's no built-in solution for that. In this case, I can only suggest checking if you can do what you'd like with a custom (separate) app that would handle it via REST API

Please sign in to leave a comment.