Edit Comment
Hello,
In the webapp, it is pretty straightforward to edit the body of a comment.
But I am not seeing anything in the API about doing that? Am I missing something obvious?
Regards,
Alec
Discussions are closed to public comments.
If you need help with Lighthouse please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
1 Posted by Nicole on 14 Feb, 2011 03:12 PM
Looks like some styling on the KB has eaten the Update portion of our docs.
Update Ticket -
PUT /projects/#{project_id}/tickets/#{number}.xmlUpdate an existing ticket. You can leave out fields to keep them unchanged.
Request:
Response:
HTTP Status: 200 OK
Let us know if you have any questions and we'll update the docs.
Thanks,
Nicole
Nicole closed this discussion on 14 Feb, 2011 03:12 PM.
Alec Sloman re-opened this discussion on 14 Feb, 2011 10:58 PM
2 Posted by Alec Sloman on 14 Feb, 2011 10:58 PM
What I am after is the method by which one can update the body element of a ticket version. Updating a ticket in general and changing the original-body element is indeed well documented and easy to accomplish, but I cannot see how to change the body of a comment with the API.
3 Posted by Hobson on 18 Feb, 2011 10:55 PM
Generally in Lighthouse the application and the API share endpoints. Have you tried POSTing to the version URL? e.g. /projects/:project_id/tickets/:ticket_number/versions/:version_number.xml
Hope this helps,
-hobson
Nicole closed this discussion on 22 Mar, 2011 04:39 AM.