Attaching files with the Ansible Jira module

110 views
Skip to first unread message

Necati Karyeli

unread,
Nov 14, 2019, 10:25:57 AM11/14/19
to Ansible Project

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"

Reply all
Reply to author
Forward
0 new messages