Attaching files with the Ansible Jira module

Hi,
Does anyone has any experience with attaching files with the Ansible Jira module?

I have tried the following but it returns HTTP Error 400

other operations like transition and comment are working fine

  • name: ‘attachment Jira’
    local_action:
    module: jira
    uri: “{{jira URL}}”
    username: “{{{{ jirauser }}}}”
    password: “{{{{ password_jira}}}}”
    issue: “{{ticketnr}}”
    operation: edit
    args:
    fields:
    attachment:
    filename: “output_unzip.txt”