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

Can't apply macro to ticket #548

Open
Lx4 opened this issue Jun 20, 2023 · 0 comments
Open

Can't apply macro to ticket #548

Lx4 opened this issue Jun 20, 2023 · 0 comments

Comments

@Lx4
Copy link

Lx4 commented Jun 20, 2023

Hi,

I'm trying to apply a macro this way as shown in the readme with :
macro_result = zenpy_client.tickets.show_macro_effect(ticket, 12345)

I have the following error :

  File "/usr/src/app/manage.py", line 1783, in recurring_zendesk
    macro_result = zenpy_client.tickets.show_macro_effect(1, 12345)
  File "/usr/local/lib/python3.10/site-packages/zenpy/lib/util.py", line 111, in inner
    return func(*new_args, **new_kwargs)
  File "/usr/local/lib/python3.10/site-packages/zenpy/lib/api.py", line 1383, in show_macro_effect
    macro_effect._set_dirty()
AttributeError: 'Response' object has no attribute '_set_dirty'

Any idea?
Thanks

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