# Attaching files with the Ansible Jira module

**URL:** <https://forum.ansible.com/t/attaching-files-with-the-ansible-jira-module/31660>\
**Category:** Ansible Project\
**Created:** [November 14, 2019, 3:25pm UTC](https://forum.ansible.com/t/attaching-files-with-the-ansible-jira-module/31660 "2019-11-14T15:25:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Necati\_Karyeli](https://avatars.discourse-cdn.com/v4/letter/n/a587f6/32.png) [@Necati\_Karyeli](https://forum.ansible.com/u/Necati_Karyeli)\
**Post date:** [November 14, 2019, 3:25pm UTC](https://forum.ansible.com/t/attaching-files-with-the-ansible-jira-module/31660/1 "2019-11-14T15:25:57Z")

</div>

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”
