Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Automation rules migration

Yaoqi Huang January 30, 2023

Hello all,

Per the document here https://support.atlassian.com/cloud-automation/docs/import-and-export-jira-automation-rules/, it says that rules after migration between different instances needs to be reconfigured since issue types, fields may be mapped to wrong value.

So is there an existing plugin that can do the migration and the configuration automatically?

Regards,

Yaoqi Huang

1 answer

1 accepted

1 vote
Answer accepted
Ashley Hudson
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.
January 30, 2023

Heya @Yaoqi Huang ,

So far the only movement from Atlassian side is this ticket which you can upvote and put in your use case as at the moment it seems they are gathering interest for this feature to be native in JCMA! (Can see here: https://jira.atlassian.com/browse/AUTO-325 )

In terms of marketplace apps, I'm unaware of any app that facilitates that need specifically so your best bet at the moment is using the JSON export and import for the time being! Sorry :(

Kind Regards,

Ashley Hudson

Yaoqi Huang January 30, 2023

Hello @Ashley Hudson ,

Thanks for you answer.

And there is another question. Since there is no existing Automation rule migration feature, we need to develop this ourselves. So has the Automation for Jira exposes any Java APIs for us to develop a plugin around it? And I see the JSON export and import is RESTful APIs, so is there any document describing the RESTful APIs?

Regards,

Yaoqi Huang

Ashley Hudson
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.
January 31, 2023

Hey @Yaoqi Huang !

Yeah it certainly does! For documentation on how to use Jira API's then here is an article for ya: https://developer.atlassian.com/server/jira/platform/rest-apis/

For API specific to managing automation rules, then there isn't any documentation that I'm aware of however, I have seen this from Atlassain where you can upvote for that feature to be developed (Link here: https://jira.atlassian.com/browse/AUTO-51 )

Hope this helps you out! :)

Kind Regards,

Ashley Hudson

Yaoqi Huang January 31, 2023

Hello @Ashley Hudson ,

Thanks and i'll follow up this ticket https://jira.atlassian.com/browse/AUTO-51.

Since there aren't REST APIs to manage rules, we are also fine with developing Jira plugins, does the plugin Automation for Jira exposes any Java APIs for us to call?

If there are no Java API exposed, I also found REST APIs of export and import rules from browser's developer tools, is it ok for us to develop automation migration workflows based on these two REST APIs?

Regards,

Yaoqi Huang

Gal Fatal
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!
June 7, 2023

@Yaoqi Huang I can suggest another way, instead of developing by yourself. Some tools allow to compare and migrate configurations between instances. See, for example, Salto , they provide the option to compare and merge configurations between instances, including automation rules. They also present the dependencies so you can cherry-pick your desired elements to merge together with their dependencies.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events