how can i attach files to created issues quickly?

hi

i need to attach excel files to 100 issues tha i've created.

how can i do quickly? with jelly runner?

i tried with this:

<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">

<jira:AttachFile key="PRO-304" filepath="D:\Perfiles\17550001\Documents\Formato_Solicitud_JIRA.xlsx" option="add"/>

</JiraJelly>

 

but JIRA shows me that message :

Extra Information: [hide] 

Error: <JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
Exception: org.apache.commons.jelly.JellyTagException: null:2:0: Unable to make temporary copy of file.

thx

2 answers

You could use the csv importer

see https://confluence.atlassian.com/jira/importing-data-from-csv-185729516.html

and look for importing attachment. (also look for update existing issues)

JIRA Command Line Interface (CLI) and use the addAttachment. Something like:

--action addAttachment --issue XXX-1 --file "mydata.xlsx"

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

20,744 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you