Automation rule
Automation clone allows user to download selected automation rules from Jira site, it supports same site & cross site cloning
Steps for cloning the automation rules
Click on “Clone & Restore” in left navbar
Click on “Clone” on top navbar & select “Automation rules”
Source site is same site so it is disabled. Latest backup snapshot is auto selected but you can change it for e.g. if you want to clone automation rule which is accidentally deleted & backed up in another snapshot then select that snapshot to restore the rule which gets deleted
![](../__attachments/68714498/image-20231123-103847.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
Click on “Next“
Select “Filters“ - filters make easy to search specific rules which you want to clone
Click on “Next“
![](../__attachments/68714498/Screenshot%20from%202023-11-23%2016-13-50-20231123-104350.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
On preview page, you will see all the rules which is backed up from selected source site is listed
Select rules which you want to clone & click on “View summary page“
Summary page will show all user selected rules
![image-20240321-135503.png](../__attachments/68714498/image-20240321-135503.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
![Screenshot from 2024-03-22 11-22-43-20240322-055243.png](../__attachments/68714498/Screenshot%20from%202024-03-22%2011-22-43-20240322-055243.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
Verify user selected automation rules and click on “Export rules“
It will open the box which contains the steps to restore automation rules
Click on “Export rules“
![image-20240322-060011.png](../__attachments/68714498/image-20240322-060011.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
Triggered job will be shown on “Jobs” page. Select recent job id “3068“
![](../__attachments/68714498/image-20231123-113124.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
Job Status is “Action Required” : To download selected automation rules, Click on Download button which will give selected rule details in JSON format.
Confirm prompt message & again click on “Download“
![](../__attachments/68714498/image-20231123-121709.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
File gets downloaded & Job status is success
![](../__attachments/68714498/image-20231123-121933.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
Steps to export downloaded rule on Jira site
Open Jira site (same site or other site) on which you want to restore the rule
Click on settings - > Select system & click on Global automation on left navbar
![](../__attachments/68714498/Screenshot%20from%202023-11-23%2018-31-38-20231123-130138.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
![](../__attachments/68714498/image-20231123-130638.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
Click on More actions which is on top right & click on “Import rule“
Click on Upload JSON and select Downloaded file of selected rules
![](../__attachments/68714498/image-20231123-132842.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
If you want to apply that rule for particular project in that site select project else select rule & click on “Next”
Select on Done once Importing process is finished & click on Return to list and check selected rules are imported or not
if a rule with the same name already exists, then the imported rule will be renamed to 'Copy of ...'. otherwise it will restore by same name
![](../__attachments/68714498/image-20231123-133203.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)
Selected 2 Rules are restored successfully
Email reporter if issue is deleted
Email rule
![](../__attachments/68714498/image-20231123-133418.png?inst-v=185d6abe-a407-4c06-a116-dcec3614f56d)