Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,301,527
Community Members
 
Community Events
165
Community Groups

Can an automation rule be exported or imported?

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

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 Oct 10, 2018

Whoops missed it was for automation plugin.

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.

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

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

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

0 votes
Answer accepted
Brant Schroeder Community Leader Oct 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.

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

 

export.png

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

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.

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

@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.

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
Community showcase
Published in Apps & Integrations

📅 Partner Webinar & Events Opportunities: July 2022

Hi community 👋, Here is another monthly roundup of the partner-organized events in July 2022. If there is any event missing please let me know in the comments below 🙏 If you're looking for Atla...

29 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you