Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do i bulk add multiple attachments to Jira issues

How do i bulk add multiple attachments to Jira issues?

 

I have tens of log files for each bug to attach in Jira, Can I do any bulk upload or attach?
Do we have any other way where we can keep relevant log files in relevant folders and let Jira issue grab it via rest?

I need an automated or bulk solution as I have tens of logs for each bug to raise and also tens of bugs to raise which kills lot of time.

 

Please help.

 

2 answers

Hi @Santosh Kumar Devata - You can use the Bob Swift Jira CLI addAttachments action to do this.

For example where the issue key is ABC-123 and the files to attach are in a folder named "ABC-123" you would use the following command:

acli --action addAttachments --issue ABC-123 --file "./ABC-123"

FYI - I'm the product manager for the Bob Swift CLI family of products. 

Can you store it externally like on a shared drive or dropbox and link to them in the issue?

Hi Randy, 

Yes, I proposed this solution, but our developers are not looking to accept it, they insist on having all the attachments tagged directly to the issue :( 

 

It's not fully automated but jira does allow drag and drop attachments.  Assuming you aren't already doing so, it may be less painful if you drag and drop multiple files at a time to each issue instead of doing them individually.

Yeah, but the log files are some thing which can't always be brought out individually and selective via drag and drop which is again difficult to point out, which one belongs to which bug. And making this drag and drop number of times is painful and very difficult to choose between.

So, looking for something which solves the use case similar to below question which is already posted in the community.
https://community.atlassian.com/t5/Jira-Questions/Jira-CLI-how-to-bulk-upload-attachments/qaq-p/224908

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

373 views 1 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you