Automatic Cloud Backup issues

Issue #361 invalid
Niraj Lathiya created an issue

We're currently using the REST API to back up our Jira Cloud management data in our Azure pipeline. However, we've encountered an error message stating that a null value can't be passed. We've attempted to use different credentials and obtain a new token, but the issue persists. We would greatly appreciate your assistance in resolving this problem and preventing any potential loss of Jira tickets or attached files. If possible, could we schedule a call to discuss the issue in more detail? Thank you in advance for your help.

resource: https://bitbucket.org/atlassianlabs/automatic-cloud-backup/src/master/

error : You cannot call a method on a null-valued expression.
At line:56 char:9
+ $InitiateBackup = $_.Exception.Response.GetResponseStream()
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull

Invoke-WebRequest : The request was aborted: The connection was closed unexpectedly.
At line:65 char:16
+ ... tBackupID = Invoke-WebRequest -Method Get -Headers $header https://$a ...
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Invoke-RestMethod : The request was aborted: The connection was closed unexpectedly.
At line:71 char:15
+ ... $status = Invoke-RestMethod -Method Get -Headers $header -Uri "http ...
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Comments (4)

  1. Dario B

    Hello,

    Please notice you didn’t provide enough information to put us in the position to help. Also, the scripts are not officially supported and therefore there are limited things we can do to try to help here.

    Would you mind providing more details about the issue you are facing?

  2. Kunjan Giri

    how can we check the status of backup in progress?? and is this backup downloaded stream by stream?

  3. Log in to comment