Generate an id automatically during import when an automation "Lookup issues" (jira.lookup.issues) step has a null id, instead of failing the import

XMLWordPrintable

      Problem Definition

      Some Jira Data Center automation rules have "Lookup issues" (jira.lookup.issues) components where value.id is null (or empty). Data Center accepts this. When these rules are migrated, the Cloud automation platform rejects them with a 400:

      "id": "Please provide at least one valid value."

      Every other rule in the same import batch also fails with this error, so one bad step blocks the migration of all the customer's automation rules in that batch.

      Suggested Solution

      When Sink finds a jira.lookup.issues step whose value.id is null or empty, it should generate a unique id instead of sending the null to Cloud and failing. Use the format the Cloud rule editor already uses: customsmartvalue_id<epoch_ms>. Make sure the id is unique within the import (e.g. increment it if it's already taken) and leave the rest of the step config unchanged.

      Current Workarounds

      Reach out to the Atlassian support team.

              Assignee:
              Unassigned
              Reporter:
              Ashvini Shukla
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: