Update Ticket Comment
Hi,
I want an example of how to update a ticket comment using the API.
I already know that updating a ticket body adds a new comment, but don't know how to update it.
Thanks.
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 03 May, 2012 04:14 PM
Omar -
Have you taken a look at our API docs? You can get examples of updating a ticket from there.
Are you talking about editing an existing ticket body/comment?
Thanks,
Nicole
2 Posted by Omar on 03 May, 2012 05:30 PM
Yes, I wish to edit an existing ticket comment.
Thanks for answering.
3 Posted by Nicole on 04 May, 2012 06:34 PM
Omar -
Every ticket update creates a new ticket version, accessible as the API resource
projects/X/tickets/X/versions. Updating a ticket versionwill update a ticket comment in-place. Ticket versions are the same thing as comments. The ticket body is the body of the first ticket version.
Let me know if this doesn't make sense.
Thanks,
Nicole
Nicole closed this discussion on 04 May, 2012 06:34 PM.
omarjavier15 re-opened this discussion on 04 May, 2012 07:09 PM
4 Posted by omarjavier15 on 04 May, 2012 07:09 PM
Ok, you confirmed what I was thinking.
Thanks a lot Nicole.
Nicole closed this discussion on 04 May, 2012 07:31 PM.