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, 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"
self: "https://{{jira URL}}/rest/api/2/user?username={{ jirauser }}"