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
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.