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

Features: add title filtering and hourly slicing when date range is specified #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

erikpaasonen
Copy link

Link back to Jira ticket:

Description

Improvements to the mass_update_incidents script:

  • date_range parameter now supports windows which include more than 10K incidents by batching up into 1-hour time slices and running against those
  • Added support for filtering incidents by Title, so as not to accidentally close other incidents unrelated to the bulk incident activity

Implementation

I'm unsure what is being asked for here.

Steps to test changes

  • Generate 30K incidents or so
  • Run mass_update_incidents.py with the --date-range paramter and give it the range covering all incidents
  • Watch it retrieve batches of incidents and handle as before

Documentation

  • There is documentation that needs to be updated upon merging these changes

Note: Modified README.md with the new behavior.

Links to any documentation to be updated:

@erikpaasonen erikpaasonen marked this pull request as ready for review July 20, 2020 16:15
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

Successfully merging this pull request may close these issues.

2 participants