Greetings,
I'm attempting to configure the scripts at https://bitbucket.org/atlassianlabs/automatic-cloud-backup
I start with the backup-jira.sh script and enter the details at the top
EMAIL=my email address
PASSWORD=my password
INSTANCE=mycompany.atlassian.net
LOCATION="~/Downloads/backup_test/"
but the script fails once run.
The jiracookie file gets created but then I just get the error message
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>401</status-code><message>Client must be authenticated to access this resource.</message></status>
repeating indefinitely.
I believe it is failing on the line
BKPMSG=$(curl -s --cookie $COOKIE_FILE_LOCATION -H "Accept: application/json" -H "Content-Type: application/json" https://${INSTANCE}/rest/backup/1/export/runbackup --data-binary '{"cbAttachments":"true", "exportToCloud":"true"}' )
Is there a specific permission level required to access this?
Please disregard this question. I found a help page that states this is no longer a supported authentication method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.