1

I need a way to add an issue via the API - as an email object (that's quoted on reply) with metadata (computer, ...) Or alternatively, a way to import custom mail header fields as metadata alongside the fetched mails' content themselves.

flag

1 Answer

1

Currently the XML api only lets you send an email, but doesn't let you inject an email event into the database. You can set the customer email when creating a new case (which will allow you to 'reply' to the case) but it won't be formatted as an email.

There are a few workarounds:

  1. If you have direct access to the db, you could just insert the info in the correct format bypassing the api.
  2. You could instead set up a mailbox and FW: the emails into FogBugz but set the reply-to or the From header appropriately so they appear to come from the original sender.
  3. You can create a small plugin which can use the plugin api to create email events, and then extend the api using that plugin.

The final option would give you complete control over the case.

link|flag

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.