tag:help.lighthouseapp.com,2008-09-20:/discussions/api-developers/99-retrieve-ticket-comments-howLighthouse: Discussion 2011-04-07T05:35:33Ztag:help.lighthouseapp.com,2008-09-20:Comment/1792752009-05-25T12:24:28Z2009-05-25T12:24:29ZRetrieve ticket comments - how?<div><p>Hi guys,</p>
<p>I was wondering how I can retrieve the comments for a particular
ticket via the API. I can get the tickets, I can get the messages,
but I want the latest comment for a particular ticket.</p>
<p>Any thoughts on how to achieve this?</p>
<p>With kind regards</p>
<p>Tomas</p></div>Tomas Coesenstag:help.lighthouseapp.com,2008-09-20:Comment/1792752009-07-06T04:05:27Z2009-07-06T04:05:28ZRetrieve ticket comments - how?<div><p>Each Project can have any number of Tickets. . You can read
complete instruction here http://unfuddle.com/docs/api/tickets<br>
Quickly find <a href="http://www.acesynergy.com">home based
business</a> jobs from providers of home based employment
opportunities.<br></p></div>jacobtag:help.lighthouseapp.com,2008-09-20:Comment/1792752009-07-07T21:53:46Z2009-07-07T21:53:50ZRetrieve ticket comments - how?<div><p>I'd also like to know how to do this.</p>
<p>How does one access versions? When i grab a list of ticket's it
says there is no versions attribute.</p></div>davydetag:help.lighthouseapp.com,2008-09-20:Comment/1792752009-07-14T23:10:12Z2009-07-14T23:10:12ZRetrieve ticket comments - how?<div><p>You should get this information when you fetch an individual
ticket. Instead of comment, it's called . See "Get Ticket" on this
page: http://sera.lighthouseapp.com/api/tickets</p>
<pre>
<code><ticket>
<assigned-user-id type="integer"></assigned-user-id>
<attachments-count type="integer">0</attachments-count>
<body>#{unprocessed, raw body content}</body>
<body-html>#{processed and filtered for html}</body-html>
<created-at type="datetime">2007-01-15T08:13:09Z</created-at>
<creator-id type="integer">1</creator-id>
<milestone-id type="integer">2</milestone-id>
<number type="integer">84</number>
<permalink>provide-an-unwatch-link-in-notification-emails</permalink>
<project-id type="integer">2</project-id>
<state>resolved</state>
<title>Provide an unwatch link in notification emails</title>
<updated-at type="datetime">2007-02-21T16:01:55Z</updated-at>
<user-id type="integer">1</user-id>
<tag>deployment high</tag>
<versions>
<version type="Ticket::Version">
...
</version>
<version type="Ticket::Version">
...
</version>
</versions>
</ticket></code>
</pre></div>Justin Palmertag:help.lighthouseapp.com,2008-09-20:Comment/1792752009-07-22T14:31:24Z2009-07-22T14:33:49ZRetrieve ticket comments - how?<div><p>Sorry Justin,</p>
<p>Thanks for your help with the REST interface</p>
<p>I should have been more specific, my question is to do with the
Ruby API.</p>
<p>How do i do this using the Ruby API, when you retrieve a group
of tickets with the Ruby library, the ticket objects do not have a
"versions", property or method.</p>
<p>Any pointers would be great.</p>
<p>Thanks again</p></div>Davydetag:help.lighthouseapp.com,2008-09-20:Comment/1792752009-07-28T02:36:34Z2009-07-28T02:36:34ZRetrieve ticket comments - how?<div><p>You have to retrieve a single ticket to get the comments.
Otherwise there'd be too much data to fetch for ticket
collections.</p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/1792752009-07-30T08:20:57Z2009-07-30T08:20:57ZRetrieve ticket comments - how?<div><p>Thanks a lot for the response, works like a charm!</p></div>Tomas Coesens