-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.2.4
-
Severity 3 - Minor
-
1
Issue Summary
Some of the Exported Automation rules from Cloud fails to be imported to Server/DC
Steps to Reproduce
- Export multiple rules from Cloud
- Attempt to import them in Automation for Jira Server/DC.
Expected Results
The rules are imported without issues.
Actual Results
The import succeeds and the following error is displayed:
"Some of the rules were not parsed successfully and can not be imported"
The format of the export from Cloud rules export is as below but the server does not support type=NAME
"field":{ "type": "NAME", "value": "Access Group in APC" },
This causes the import process to ignore some rules and proceed with the valid ones.
.
The following errors might be found in the Jira logs, after enabling the debugging package com.codebarrel:
- Error 1:
com.codebarrel.api.JsonSupport$JsonDeserializationException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "field" (class com.codebarrel.automation.rulecomponent.jira.common.FieldOperation), not marked as ignorable (4 known properties: "value", "type", "fieldType", "fieldId"]) at [Source: (ByteArrayInputStream); line: 1, column: 26] (through reference chain: com.codebarrel.automation.rulecomponent.jira.common.IssueActionConfig["operations"]->java.util.ArrayList[0]->com.codebarrel.automation.rulecomponent.jira.common.FieldOperation["field"]) at com.codebarrel.api.JsonSupport.toObject(JsonSupport.java:107)
- Error 2:
com.codebarrel.api.JsonSupport$JsonDeserializationException: com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `com.codebarrel.automation.rulecomponent.jira.trigger.fieldchanged.config.FieldChangedConfig$Type` from String "fieldName": value not one of declared Enum instance names: [field, match] at [Source: (ByteArrayInputStream); line: 1, column: 41] (through reference chain: com.codebarrel.automation.rulecomponent.jira.trigger.fieldchanged.config.MultiFieldChangedTriggerConfig["fields"]->java.util.ArrayList[0]->com.codebarrel.automation.rulecomponent.jira.trigger.fieldchanged.config.FieldChangedConfig["type"]) at com.codebarrel.api.JsonSupport.toObject(JsonSupport.java:107)
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
- is cloned from
-
JIRAAUTOSERVER-86 Exported Automation rules from Cloud fails to be imported to Server
-
- Closed
-
- links to
- relates to
-
A4J-2642 Loading...