desk icon indicating copy to clipboard operation
desk copied to clipboard

Bug when creating articles

Open hilewhousels1 opened this issue 9 years ago • 1 comments

When creating articles through your desk API, articles were created as drafts and couldn't be seen on support center even when I explicitly added :in_support_center. I had to login and manually remove the draft attribute. This bug prevents automation when creating articles.

My API usage example:

Desk.create_article(
  :subject => "subject",
  :body => "body",
  :in_support_center => true,
  :links => {
    :topic => {
       :href => "/api/v2/topics/1",
       :class => "topic"
  }
})

hilewhousels1 avatar Jun 26 '16 13:06 hilewhousels1

Sorry to hear about that - have you had a chance to look through the code and see if you could make a pull request to fix this? I'm not sure when I'll have time to work on it myself, but if you want to take a look at it that'd be awesome.

chriswarren avatar Jul 05 '16 16:07 chriswarren