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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,193 views 5 10
Read article

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