Hi all,
I've downloaded powershell script to automate Jira Cloud backups from Bitbucket.
First days it worked fine. But now it is not working for any reason. I get the following error and it reapeats indefinitely.
Could you please help me?
Thanks
Diego
Invoke-RestMethod : Error en el servidor remoto: (401) No autorizado.
En C:\Users\user\Desktop\backup.ps1: 23 Carácter: 15
+ ... $status = Invoke-RestMethod -Method Get -Headers @{"Accept"="applic ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc
eption
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Hi Diego,
If you get error 401, you are most likely affected by one the the below issues:
- https://jira.atlassian.com/browse/ID-6351
- https://jira.atlassian.com/browse/JRACLOUD-46830
For the both of them the solution is to actually reset the password for your account in id.atlassian.com (you can just re-set the same password as before).
Also, please be aware that some endpoints have changed in the new infrastructure:
- https://jira.atlassian.com/browse/JRACLOUD-67169
Best Regards,
Dario
Atlassian Cloud Support
Look this https://yourserver.atlassian.net/plugins/servlet/ondemandbackupmanager/admin
They have already a backup for JIRA!!!, any news for that? XD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Gustavo, but I need to get the automatic backup script working back.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am running the same script on my windows 7 machine and it worked fine. Had to download powershell ver 4. can you check your powershell version C:\> $PSVersionTable.PSVersion
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem with the .sh script.
Begins to proccess without problem, but when the moment of download the file comes, it fails.
Maybe is related with some global setting or permissions.
I could'nt find a solution :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.