Uploaded image for project: 'Kayako Fusion, Case and Engage'
  1. SWIFT-1449

API - Improve custom field multiple value data format

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Fix Version/s: 4.66
    • Component/s: API
    • Labels:
    • Environment:
      Kayako Trial

      Description

      In API for TicketCustomField, value for fields that can have multiple values is concatenated into single value using comma.
      For example, having custom field with three checkboxes:

      • one
      • two
      • three
        when user select them all, API will return:
        <field id="1" title="Checkbox" type="4">one, two, three</field>

      But considering three checkboxes as follows:

      • one
      • two, three
      • four, five
        when user select them all, API will return:
        <field id="1" title="Checkbox" type="4">one, two, three, four, five</field>
        so it's not possible to get original checkbox values in this case.

      Suggestions:
      1. Concatenate values with new line (you can't enter new line when defining values for multivalue fields).
      2. Introduce <value> XML element:
      <field id="1" title="Checkbox" type="4">
      <value>one</value>
      <value>two, three</value>
      <value>four, five</value>
      </field>

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                amarjeet.kaur Amarjeet Kaur (Inactive)
                Reporter:
                furgas Tomasz Sawicki (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: