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

tickets.incremental grabs tickets before the start date #483

Open
aran0ia opened this issue Jul 30, 2021 · 0 comments
Open

tickets.incremental grabs tickets before the start date #483

aran0ia opened this issue Jul 30, 2021 · 0 comments

Comments

@aran0ia
Copy link

aran0ia commented Jul 30, 2021

Hi, and thank you for creating this module, it's really helpful.
I'm trying to get the tickets created or modified in the last week and I'm using this code:

start_date = datetime.now(timezone.utc) - timedelta(days=7) #that returns 2021-07-23 10:23:28.651422+00:00 as expected all_tickets = zendesk.tickets.incremental(start_time=start_date, include=['users','organizations'])

but I get thousands of tickets, dating back to at least April(I stopped the process) that were definitely not modified since.
Please advice

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