mattock / automatic-cloud-backup

19 stars 19 forks source link

Update to new Jira Rest API #13

Closed bwegman closed 7 years ago

bwegman commented 7 years ago

Updates backup.sh to use the new Jira Rest API URLs.

dzschille commented 7 years ago

@bwegman i get an error message when running the script:

./backup.sh: Zeile 97: jq: command not found.

Do you have an programm installed named jq? Or is it an alias? Is it this?: https://stedolan.github.io/jq/

dzschille commented 7 years ago

After installing jq the error message changed:

parse error: Invalid numeric literal at line 1, column 10

I tried jq in version 1.4 and 1.5. Which version do you use?

dzschille commented 7 years ago

I found that the last error appears when you are not autenticated. I will fix the authorization check in the script.

dzschille commented 7 years ago

@bwegman , i fixed the authorization check in #14. I also restored the old endpoints for Confluence. Would be great it you can check if the script works for you.