osticket-slack icon indicating copy to clipboard operation
osticket-slack copied to clipboard

Request: Filter by department

Open gibbypip opened this issue 7 years ago • 6 comments

If there a way to have this only report a specific department to a specific slack channel? We have multiple groups that need some level of segregation to different channels and this would be immensely helpful.

Heck, even pointing in the right direction so I can hack it together myself would be amazing.

gibbypip avatar Jun 05 '18 19:06 gibbypip

Hiya, it's a nice idea, I've looked into it before, and it seems from the slack end there needs to be an endpoint per department, which is annoying. Would have thought you could direct a message to a channel or user, but apparently not.

Then we'd need to add a department selector/endpoint match to the config and change the main class to use that pair. It's not terribly complicated to implement, just takes a bit of time.

clonemeagain avatar Jun 06 '18 00:06 clonemeagain

I would be happy with an endpoint per department, honestly. We name our webhooks/bots per department anyway.

I was trying to figure out where to even just specify a specific department, even in the main class, would go without any luck, although my investigation was pretty limited.

gibbypip avatar Jun 06 '18 13:06 gibbypip

Just added a second department to my osTicket instance and this was the first thing I looked for :) If you ever get around to this, that would be fantastic!

Davidian9 avatar Sep 05 '18 19:09 Davidian9

@clonemeagain would be great if this can be done. We have some confidential data and therefore, it is not ideal to be seen by other depts.

It would be awesome if you can notify me once it's done. Many thanks!

noname729 avatar Sep 10 '18 09:09 noname729

Any news on this?

corbinday avatar Nov 21 '18 18:11 corbinday

Hi, no news yet, under the pump at the moment and haven't got a dev environment configured to work on this.

clonemeagain avatar Nov 23 '18 00:11 clonemeagain