API v2 ticket creation

Answered

Comments

9 comments

  • Avatar
    Steven Yan

    Hey Drew, I'm going to escalate this as a ticket, I'd like to look into your specific ticket.  

  • Avatar
    Steven Yan

    For the interest of everyone else who may read this, this would have been handled using X-On-Behalf-Of in our API v1, where the authenticating user can impersonate a user to update the ticket as that user.  We will be adding a similar mechanism in v2.

    In general, the ticket comment author is never different than the creator of the audit.

  • Avatar
    Benino Sager

    Did this get fixed?

    I can't figure out how to add a comment to a ticket using the v2 api without the author being set to the admin account I'm logged in with.

  • Avatar
    Ian Francis

    I'm stuck on this one too, I can't pass the author_id through when the comment is created, it ignores it and defaults to the authenticated api user, plus audit trails (i.e. comment trails) are read-only so you can't go back and update it after  creation... Any news on the fix for this?... X-on-behalf-of used to work a treat

  • Avatar
    John Rothfels

    Our team would like to see this functionality as well; it's actually quite critical for what we want to do. Is there a timeline for introducing this to v2?

  • Avatar
    Rob Eyre

    I'd like this too

  • Avatar
    ZaneShannon

    When will this be addressed? We're going to have to switch away from Zendesk if posting comments for our users over the API isn't supported almost immediately.

  • Avatar
    Adam

    @Zane (and @all) This issue has been resolved in the latest release of the requests.json endpoint. Learn more here: https://support.zendesk.com/forums/20635666-api-updates/entries/21964887

  • Avatar
    michael jack

    Can you tell me what it is that I am doing wrong? I have spent a while researching an playing around with these triggers this morning and I have hit a brick wall.

Please sign in to leave a comment.

Powered by Zendesk