Backup Progression check using Automation for Jira

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

 

Summary

Check the % completion of a Backup initiated using Automation for Jira.

  • Created an automation rule which will trigger a backup for the site on a remote windows/linux server on a scheduled timing.
  • Find % completion of the backup triggered as it will run at background.
  • Add the % completion in the audit log of the automation rule.

Diagnosis

You will get a result as below :

{
status: "Success",
description: "Cloud Export task",
message: "",
result: "",
progress: 100,
exportType: "",
}


Solution

To automate the same, you can follow the steps below : 

  • Use the trigger → Scheduled 
  • Add a new action "Send web request"
  • Add an action called "Create variable" 
    • Provide the variable name 
    • Pass the smart value

      {{webhookResponse.body}}


  • Add a new web request again 
    • Pass the variable on the send web request action url as mentioned in the screenshot


  • Add a log action 
    • Pass the smart value


Note : Service limits will be bothered if the rule is executed multiple times.


Last modified on Apr 9, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.