Hello Community,
I face an issue where i'm migrating around 400 projects from DC to a Cloud that already have projects in it.
now, on the DC i had automations that were set Globally and if i will set it to that in cloud - it will catch also the existing project which i dont want.
is there a way to set only the projects that came from the migration?
Thanks
Ariel.
Hi @arielei
Short answer: In my opinion, unless there exists a very sophisticated, marketplace app which has up-to-the-minute handling for Cloud automation changes to do this, an export-edit-import approach may work, although every rule may need to be checked for safety.
If your license level is high enough, perhaps ask the Atlassian Support team for suggestions.
Even for very simple rules, the projects-impacted information is stored all over the place, in the scope and individual components. This may be observed looking at an exported JSON file for a rule. I recall a "global" rule scope just keeps the highest level identifier, leaving off the added details for a specific project's identifier.
A couple of approaches to manage this might be:
Kind regards,
Bill
Hey @arielei
If, in your case, the option of using a third-party tool to handle the migration and post-migration configuration is acceptable, it might be worth giving the Getint Platform available on Atlassian Marketplace a try.
Getint can help you migrate only specific projects or configurations without impacting your existing Cloud setup.
For example:
So this approach lets you avoid touching global automation rules and gives you more control during and after migration.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Kinga_Getint , but this is irrelevant.
we have a plan to migrate using the JCMA tool.
The problem is that i have a list of keys and i simply want to add them to the automation rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, thanks for clarification @arielei
In that case, since you already have your migration planned with JCMA, the easiest way to handle this in automation would be to maybe filter by project keys directly?
For example by adding a condition like: Project key is in (PROJ1, PROJ2, PROJ3, ...)
That way, your global rule will only run for those migrated projects.
If you’re managing a long list (hundreds of keys), try to store them in a smart value (lookup table or JSON) so you don’t have to edit the rule every time, just update that reference when you add more migrated projects. And if later on you need to keep certain DC and Cloud projects in sync temporarily after. I think it should work fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @arielei
I think one of the solutions could be using Project Categories.
Assign all migrated projects to a category→ “Migrated from DC”.
Use that in automation conditions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Gor Greyan
Thanks but thats not an option as it will brake other scripts that are using the category field.
any other solution?
Ariel.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.