You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I wanted to know about how to take backup using Rest API or through Script for JSM.
I have tried to take backup using python script also though automation rule but it gives an authentication error some error codes like 401 etc.
Is there any possibility to take Jira backup using code or through Rest API or there is any limitations for that.
Please provide answers with steps if anyone tried above method and it's running successfully.
You have two broad options for backup & restore
I am part of Revyz, we have a Jira backup and restore solution, it helps you with more than backup & restore i.e.:
- Backup & Restore
- Configuration Management
- Site Cleanup / Optimization
- Site Analytics
We are working on a similar app for Confluence. If you are interested I can enroll you as part of our beta program!
Also note in either of the cases, backing-up data is relatively easy, but restoring data back is hard, do have plan to restore data back!
As far as I know, unfortunately, taking a full Jira backup using REST API or thorough scripts directly is not a supported method. As it stated in Jira documentation: “The Jira REST API enables you to interact with Jira programmatically. Use this API to build apps, script interactions with Jira, or develop any other type of integration.” As you can see there is nothing said about backup. Here is the full documentation - https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about
As an alternative, to back up your data you can use any of Jira Backup Manager or a third-party backup and recovery tool that you can find on Atlassian Marketplace.
Btw, I work at GitProtect, a backup and Disaster Recovery software company, and we provide backup for Jira Cloud, Jira Work Management, and Jira Service Management. You can find out more about our solution on Atlassian Marketplace: https://marketplace.atlassian.com/apps/1228719/gitprotect-io-backups-for-jira-cloud?hosting=cloud&tab=overview
Hope this answer will be useful for you,