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.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.