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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

56 views 0 2
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