Can an automation rule be exported or imported?

Craig Weston October 10, 2018

I want to move an automation from my "test" project to my "live" project within the same jira instance. the projects are otherwise identical, and the rule is somewhat complex. Is there a way to do this without diving into the database?

 

Thanks all,

Craig

5 answers

3 accepted

2 votes
Answer accepted
andreas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 10, 2018

Hi Craig,

Yes, you can copy rules with Automation for Jira.  So  in your 'Live' project you can simply hit the '...' menu top right and select 'Copy rules':

copy-rule.png

Then you can select the source project & rule you want to copy from your 'test' project.

You can also export/import all rules from a Jira instance as a global admin: https://docs.automationforjira.com/upgrade/import-export.html

Cheers,
Andreas

Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 10, 2018

Whoops missed it was for automation plugin.

Craig Weston October 11, 2018

Thank you for replying.

 

There are tools to copy within a project, but nothing that I saw that will copy from project to project from what I could tell.   Thanks though.

andreas
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 11, 2018

Hi Craig,

So if you use that 'Copy rules' link from my screenshot above, you can copy a rule from one project to another. This is the next screen you get to select the rule you want to copy:

copy-project.png

 

You may have to visit this from the  global admin section 'Automation rules' as a global admin to get the list of full projects.

Cheers,
Andreas

Craig Weston October 23, 2018

Thanks, this must be a new version as I don't have that option. I can export all from the global menu however.

0 votes
Answer accepted
Craig Weston October 23, 2018

On the Global page you can export and import all the rules as JSON. 

0 votes
Answer accepted
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 10, 2018

There is no way to export and import an automation.  I believe plugins like this https://marketplace.atlassian.com/apps/1211611/configuration-manager-for-jira?hosting=server&tab=overview allow you to sync from one instance to another.

0 votes
sean archer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 29, 2021

If you hold your mouse over the end of your project rules you will see dots appear 

 

export.png

0 votes
Milo Grika May 18, 2020

View the rule in question, under the Scope drop-down menu select All projects, or select Multiple project and add (and delete) the ones you want.Screen Shot 2020-05-18 at 5.24.01 PM.png

Jose Luis Lopez July 20, 2020

Multi-projects automation depends on your Jira plan. Make sure that you can use it.

Single project: no limits

Multi-projects: you need the premium version and you have limits.

Milo Grika August 12, 2020

True, but you can duplicate an automation and therefore have the same automation in multiple projects without the premium price tag.

Ryan Cabanas September 2, 2020

@Milo Grika I think that was the original question at the start of this thread, though.  How do you easily duplicate an automation from one "single project" to another "single project"?  I haven't been able to do it via an export/import.  I can export an automation from a single project, but I seem to only be able to import it at a global level and am unable to import it to another single project, which is a real bummer.  Thanks.

Janos Toth-Egetö
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2020

Found a workaround for this problem, you can create a rule on global/multiproject level, export as json, then import on global level again, but restricting the scope to only one single project.

The imported rule will then show up on project level only.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events