Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-161

Automation fails when it has two fields with the same name/type, showing the error "Found multiple fields with the same name and type:" and Additional fields contains invalid field(s) in 'update' or 'fields' section. <field_name>"

    • Severity 3 - Minor
    • 0

      Issue Summary

      Automation fails when has two fields with the same name/type, showing the error "Found multiple fields with the same name and type:"

      In case rule has custom filed of type cascading and another custom field with same name exist then rule fails with below error: 
      "Additional fields contains invalid field(s) in 'update' or 'fields' section.
      <field_name>"

      Steps to Reproduce

      1. Create a new number custom field in a Next-Gen project
      2. Create a rule to copy the value from this field. Below, follows an example.
      3. Set the rule scope for the Next-Gen project.
      4. Under <instance>.atlassian.net/secure/admin/ViewCustomFields.jspa create a new number custom field with the same name.
      5. Associated the "number" custom field to a classic project.
      • Reload the rule, and then run the rule.
      • Then will appear the error "Found multiple fields with the same name and type:"

      Expected Results

      When we set the scope of the rule to a Next-Gen project, it should not consider a classic custom field. 

      Actual Results

      Even the rule restricts to the Next-Gen project, appear the error "Found multiple fields with the same name and type:". The rule is considering a field with the same name and type, causing this error. 

      Workaround

      We can change the field name to a different one, and then the rule will run without error.
       

        1. image-2020-12-10-09-36-14-114.png
          image-2020-12-10-09-36-14-114.png
          64 kB
        2. image-2020-12-10-09-36-27-134.png
          image-2020-12-10-09-36-27-134.png
          64 kB
        3. image-2020-12-10-09-36-39-080.png
          image-2020-12-10-09-36-39-080.png
          11 kB
        4. image-2020-12-10-09-36-57-304.png
          image-2020-12-10-09-36-57-304.png
          7 kB
        5. screenshot-1.png
          screenshot-1.png
          161 kB

            [AUTO-161] Automation fails when it has two fields with the same name/type, showing the error "Found multiple fields with the same name and type:" and Additional fields contains invalid field(s) in 'update' or 'fields' section. <field_name>"

            Diego Borba made changes -
            Link New: This issue relates to AUTO-1759 [ AUTO-1759 ]
            Enida made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 1001003 ]
            Charlie Gavey made changes -
            Assignee Original: Charlie Gavey [ 89403358cf11 ] New: Eshaa Sood [ 9df7f128cb98 ]
            Enida made changes -
            Remote Link Original: This issue links to "Page (Confluence)" [ 987972 ]
            Enida made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 987972 ]
            Christopher made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 984417 ]
            SET Analytics Bot made changes -
            UIS Original: 10 New: 0
            Charlie Gavey made changes -
            Labels Original: Automation_Move_JSW jsw-s13 New: Automation_Move_JSW jsw-s13 ribs-short
            Christopher made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 969768 ]
            Christopher made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 965439 ]

              9df7f128cb98 Eshaa Sood
              cfontana@atlassian.com Cristiano
              Affected customers:
              99 This affects my team
              Watchers:
              117 Start watching this issue

                Created:
                Updated: