Hi,
I need to perform automated backups for a JIRA Cloud instance which seems to have a new version. A path as seen in this script fails with a 404 error. The path looks like this:
https://INSTANCE_NAME/rest/obm/latest/runbackup
When asking the Atlassian support for help, I got this answer:
For instances that are in the new platform, the endpoint will be as following:
https://INSTANCE_NAME/rest/backup/1/export/runbackup
However, this does not work out of the box, I get a 500 error with this error message: "If there are no known problems and your page hasn't appeared again in 5-10 minutes then please create a support request for assistance."
I tried it with this path several days now and still get the same error message.
When I change the credentials to something wrong, I get a 401 Unauthorized error, as expected.
Unfortunately the support could not help me any further.
Was someone able to successfully access the backup functionality using this link for a newer version of JIRA Cloud? Am I doing something wrong?
Best,
Jonas
Hello Jonas,
The backup script you are using does not currently work with our new Cloud platform, which you are on.
Although the script is unsupported by Atlassian, the endpoint is, so we have reported this as a bug: JRACLOUD-67169
The issue right now is that from the new platform, the endpoint is not accessible from outside. Once this is resolved, then you will be able to automatically create backups using this script. The workaround, for now, is to create the backups manually using the UI.
Do let us know if you have any questions about this!
Kind Regards,
Shannon
Hi Shannon,
Thanks for your answer! This is very useful information. I'll perform the backups manually for now until this problem is resolved.
Best,
Jonas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad I could assist, Jonas!
Take care and have a pleasant weekend. :)
Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The endpoint is now available to be called from a script. Please see the workaround we have added to JRACLOUD-67169
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Dario BSo is
https://INSTANCE_NAME/rest/backup/1/export/runbackup
the new way to go or is it just a workaround.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That's the new endpoint in the new infrastructure.
The other endpoint was the one in use for the old cloud infrastructure.
However, since taking backups from scripts in not officially supported there may be other changes in the future.
I hope this helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.