Save form answers API updates some fields not included in API body

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      When using the save form answers API, if there are linked fields, some of those fields are updated with the same value even if it was not part of the request body

      Steps to Reproduce

      1. Have a form in a JSM project with linked fields to Jira fields.
      2. Have one of those fields linked to the Jira description field.
      3. Make sure the form is opened after submission, and submit a ticket with that form linked.
      4. Use the API call Save form answers to edit one of the linked fields, which is not the one linked to 'Description' https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-issue/#api-issue-issueidorkey-form-formid-put 
      5. Once the API call runs, check the issue history, it will show 'Description' modified even if it was not included in the API Body.

      Expected Results

      Only update the fields included in the API body

      Actual Results

      Some random fields are also updated with the same value

      Workaround

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

            Assignee:
            Unassigned
            Reporter:
            Diego Lopez
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: