Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Auto-select project based on current Slack channel #11

Open
westonruter opened this issue Jan 5, 2016 · 2 comments
Open

Auto-select project based on current Slack channel #11

westonruter opened this issue Jan 5, 2016 · 2 comments

Comments

@westonruter
Copy link

From reading the docs, it seems that the project being worked on always has to be explicitly provided. We usually have project-specific Slack channels and it would be very handy if there was a way to indicate the default Harvest project for a given Slack channel so that you could do /timer start from that channel and it would automatically use the right project.

@epicalex
Copy link

epicalex commented Jan 6, 2016

I really like that @westonruter. As you can see from the graphs, we've not had time to work on this project lately, but when we do I'll see if there's a way we could make that work.

Currently, the 'conversation' you have is agnostic of the channel/DM you have that conversation in, so some work would be required to modify that to read the current channel, and the channel and project names would then need to match exactly. Do your project names match the channels, or would you need another step to set up the matches?

Another idea would then be to post to a project's Slack channel every time someone starts a timer on that project.

Both these would be configurable options during setup of the tool.

@westonruter
Copy link
Author

Thanks for the reply.

Do your project names match the channels, or would you need another step to set up the matches?

Usually the channels get prefixed by “dev-”, so no, they aren't exact matches. I suppose there could be some fuzzy matching to make a best guess for the Harvest project based on the current channel.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants