Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-86

Exported Automation rules from Cloud fails to be imported to Server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 7.2.0
    • 7.1.1, 7.1.7
    • Configuration
    • None
    • Severity 2 - Major

      Issue Summary

      Exported Automation rules from Cloud fails to be imported to Server

      Steps to Reproduce

      1. Export multiple rules from Cloud
      2. Attempt to import them in Automation for Jira Server.

      Expected Results

      The rules are imported without issues.

      Actual Results

      The import fails and the following error is displayed:
      "Error parsing provided JSON. Please ensure it was created using 'Export rules' previously. If the problem persists please contact Code Barrel support!"

      The format of the export from Cloud rules export has changed slightly so that the fields in an issue condition is could look like:

      "selectedField":
      { "type": "ID", "value": "issuetype" },
      

      whereas they used to look like

      "selectedField": "issuetype",

      This causes the import to fail.

      • Note that if the selectedField type is not ID, it should error out or at least ignore the field. 

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. FixedJSON
          104 kB
        2. image-2020-08-07-07-36-41-192.png
          image-2020-08-07-07-36-41-192.png
          18 kB

              Unassigned Unassigned
              rchiquete Rene C. [Atlassian Support] (Inactive)
              Votes:
              14 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: