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 }}"
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.