Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-61618

API call to check status of backup jobs and a post to indicate it has completed with or without errors.

    • Icon: Suggestion Suggestion
    • Resolution: Won't Do
    • None
    • None
    • 1
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem Definition

      Backups can often fail for a vareity of reasons. It would be great to have an API call that check the status of a backup job. If a backup job fails users in cloud can either contact support or check the webdav directory after the average time it takes the backup to run.

      Suggested Solution

      As well as have a post that pushes a call back URL to indicate the job completed either with our without errors.

            [JRASERVER-61618] API call to check status of backup jobs and a post to indicate it has completed with or without errors.

            Atlassian Update – 30 March 2018

            Hi,

            Thank you for raising this suggestion. We regret to inform you that due to limited demand, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Sometimes potentially valuable tickets do get closed where the Summary or Description has not caught the attention of the community. If you feel that this suggestion is valuable, consider describing in more detail or outlining how this request will help you achieve your goals. We may then be able to provide better guidance.

            For more context, check out our Community blog on our renewed approach to highly voted Server suggestions for Jira and Confluence.

            Thanks again.
            Regards,
            Jira Product Management

            Gosia Kowalska added a comment - Atlassian Update – 30 March 2018 Hi, Thank you for raising this suggestion. We regret to inform you that due to limited demand, we have no plans to implement it in the foreseeable future. In order to set expectations, we're closing this request now. Sometimes potentially valuable tickets do get closed where the Summary or Description has not caught the attention of the community. If you feel that this suggestion is valuable, consider describing in more detail or outlining how this request will help you achieve your goals. We may then be able to provide better guidance. For more context, check out our Community blog on our renewed approach to highly voted Server suggestions for Jira and Confluence . Thanks again. Regards, Jira Product Management

            Thanks for opening this issue Ramiro.

            The idea here is /rest/obm/1.0/runbackup should return a Job ID. Another API method should be available to check the Job status. Perhaps something like /rest/obm/1.0/status/<JOB_ID>.

            That, in my opinion, is bare minimum functionality. Compare that to the current state - 'runback' returns nothing useful, except if you call it repeatedly you'll get a message that a backup is in progress or that you're throttled for calling it too often. You have to poll the webdav directory waiting for the backup file to show up... and if there's an error, there's no explanation why.

            I'm also suggesting that when calling 'runback', it would be nice to provide a callback URL where customers can be notified that backup jobs are done - upon success or failure we'd be notified. For instance, that could trigger a job to download the backup file... much more efficient than polling.

            Charles McLaughlin added a comment - Thanks for opening this issue Ramiro. The idea here is /rest/obm/1.0/runbackup should return a Job ID. Another API method should be available to check the Job status. Perhaps something like /rest/obm/1.0/status/<JOB_ID>. That, in my opinion, is bare minimum functionality. Compare that to the current state - 'runback' returns nothing useful, except if you call it repeatedly you'll get a message that a backup is in progress or that you're throttled for calling it too often. You have to poll the webdav directory waiting for the backup file to show up... and if there's an error, there's no explanation why. I'm also suggesting that when calling 'runback', it would be nice to provide a callback URL where customers can be notified that backup jobs are done - upon success or failure we'd be notified. For instance, that could trigger a job to download the backup file... much more efficient than polling.

              Unassigned Unassigned
              jcastro Jose Castro (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: