When a user fills out the Zendesk form and submits, a new ticket is created in Zendesk by submitting a JSON package to zendesk.com. Currently the bug's description is sent along in the "description" field.

However, the description field is not the right place, surprisingly. The right format for the JSON is

{
  "ticket": {
    "comment": {
      "value": "This is the ticket description"
    },
    "requester": {
      "name": "Customer",
      "email": "customer@domain.com"
    }
  }
}

Change the format of the ticket submitted so that it conforms with Zendesk standard.

See also https://support.zendesk.com/entries/38297038-Description-field-not-chang....

Comments

Jonathan Peterson’s picture

Status: Active » Needs review
StatusFileSize
new749 bytes

Simple fix to change the JSON; patch applied.

naxoc’s picture

Status: Needs review » Closed (fixed)

Committed to dev.

Thanks! Good find - and nice with the link to the Zendesk docs.

  • Commit 4d6d4eb on 7.x-1.x by naxoc:
    Issue #2183173 by Jonathan Peterson: Use first comment to set...