Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,675
Community Members
 
Community Events
176
Community Groups

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. 

0 votes
Randy Rising Star Jun 30, 2020

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 :( 

 

Randy Rising Star Jun 30, 2020

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

Atlassian Community Events