This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Minor update to https://gist.github.com/darryllee/22ea98ccf639c303813a3ad4a2ad3480 , | |
# which is in turn a minor update to https://bitbucket.org/snippets/atlassiansupportprojects/nedyBb/download-files-attached-to-the-issues | |
# * Gets issue key in addition to download URL | |
# * Downloads attachments into directories created for each issue key | |
# * Maintains original filenames | |
# | |
# Usage: | |
# chmod u+x ./downloadbykey.sh | |
# ./downloadbykey.sh |