Skip to content

Can't apply macro to ticket #548

@Lx4

Description

@Lx4

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions