#1203 √ resolved
Dr Nic

API - JSON: no body/body-html field for tickets

Reported by Dr Nic | October 9th, 2008 @ 05:38 PM

In the main part of a ticket and each version tag, there is no description field for the body of text entered by the user.

In http://lighthouseapp.com/api/tic... it shows a body and body-html element but these do not appear in the JSON feed.

Comments and changes to this ticket

  • Will

    Will October 10th, 2008 @ 07:40 AM

    • → Tag changed from “json” to “api json”
    • → State changed from “new” to “open”
    • → Assigned user changed from “” to “rick”
  • rick

    rick October 10th, 2008 @ 10:16 AM

    See #834 for justification...

    However, there's a weird issue with the way AR implements @ticket.to_json(:include => :versions). It doesn't call #to_json on the associated records, so it uses the same formatting options as the ticket's.

    I have a fix pushed, just waiting for the OK to deploy it (we have some design tweaks and other fixes going up too). It'll be deployed today... or tonight at the very latest.

  • Dr Nic

    Dr Nic October 29th, 2008 @ 10:18 PM

    This is now working for us. Thanks!

  • Will

    Will October 29th, 2008 @ 11:26 PM

    • → State changed from “open” to “resolved”

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Using Lighthouse to track Lighthouse.

Shared Ticket Bins

People watching this ticket

Tags