-
Notifications
You must be signed in to change notification settings - Fork 0
Jira:Attachments:Re add attachments to issue from files on disk
lbonanomi edited this page Apr 27, 2020
·
1 revision
#!/usr/bin/bash
issue=$(basename $(pwd))
find . -type f | while read file
do
echo "BASE: $file"
filename=$(basename "$file")
curl -D- -n -X POST -H "X-Atlassian-Token: no-check" -F "file=@$file" http://localhost:8080/rest/api/2/issue/$issue/attachments
done
- Backup-and-Restore
- Console
- Emergencies
- Housekeeping
- Integrations-and-External-Programs
- Search
- Throttles
- Usage