Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto archiving channels on closed issues #2

Open
fsergot opened this issue Sep 8, 2016 · 0 comments
Open

Auto archiving channels on closed issues #2

fsergot opened this issue Sep 8, 2016 · 0 comments

Comments

@fsergot
Copy link
Contributor

fsergot commented Sep 8, 2016

This would allow to not pile closed channels on Slack.
A first draft was made but was a little complex. The logic was:

  • Allow admin to setup a 'scope' JQL for archiving (typically all issue with slack channel & resolved for more than 3 month)
  • Add a jira job running on a regular basis
  • From this job, execute the SQL and for each issue, check the associated slack channel and archive it

This requires additional setup also for a slack api permanent token (as the jira job runs as background, no interactive user)
This would also require evolution of the slack field to store the fact that the related channel is archived (to avoid re-runs and also adapt the view section on jira)

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

No branches or pull requests

1 participant