Thinking about doing an Integration with Slack

Has anyone else considered this?

All I really want is updates to tickets and boards to show up in the chat channel we are all hanging out in.

My main question is, why isn't there a simple way to have YouTrack programmatically notify me of changes?

Looks like my choices are either do something with CORS hooked into the page that would post to Slack or either use Jabber or email to get the notifications then write some code that pulls them out and sends them on to Slack?

Hope I am missing something. Looked at the API documentation pretty extensively.

Thanks.
1
35 comments
Ah.. yeah that's a problem.
0
Avatar
Permanently deleted user
I have a working Slack integration. But I'm facing a lot of troubles with the YT REST and RSS APIs ...

For RSS, it is only somewhat useful. More or less, we need the REST API to do anything useful.

For e.g., there is no way to get latest comments from REST, so I use the RSS API, parse the ticket number, and then get the relevant data from the REST API.

There is some issue with work items. I'm always getting a difference of around 1 minute in the timestamp for each work item.
0
Avatar
Permanently deleted user
jweedman: I managed to fix that issue by passing the username/password in the feedurl. Remember http://username:password@domain ? Use that. But to be frank, it is rather useless. The messages in slack are quite terrible. If you want nice looking and compact output in Slack, you'll need to do a custom integration.
0
Avatar
Permanently deleted user
Hi Pavel, What does this API do exactly? I'm happy to use the API, if it actually provides some info. This is what I see from the /rest/event API:

[{"id":0,"timestamp":1392753786379,"type":"ADD","authorId":"ca98cc8a-86b4-4a21-9674-63fb9b501cf9"},{"id":1,"timestamp":1392753826019,"type":"MODIFY","authorId":"dffc11aa-965d-423b-ba87-38b336d90e3a"},{"id":2,"timestamp":1392753941612,"type":"ADD","authorId":"ca98cc8a-86b4-4a21-9674-63fb9b501cf9"},{"id":3,"timestamp":1392754018847,"type":"ADD","authorId":"ca98cc8a-86b4-4a21-9674-63fb9b501cf9"},


Doesn't make a lot of sense for me ...
0
Avatar
Permanently deleted user
My slack integration is based on Slack RTM and integrates with Cloud edition. Just in case anyone is interested ...
0

Please sign in to leave a comment.