Updating a ticket

Ben Gottlieb's Avatar

Ben Gottlieb

20 Mar, 2009 03:18 AM

Okay, I may just be being particularly dense this evening, but I can't get ticket updating to work. I can pull down projects, tickets, etc, just fine, and my token says it's read/write, so that shouldn't be the problem. However, when I try updating a ticket, I get back a single space (" ") as a return value (though it does give me a 200 OK return code), and the ticket doesn't change.

URL: http://standalone.lighthouseapp.com/projects/23010/tickets/45.xml PUT data:

<title>DST causes day offset problem, which is bad</title>
<state>resolved</state>
<milestone-id integer="type">28380</milestone-id>
<assigned-user-id integer="type">43004</assigned-user-id>

I've tried intentionally passing malformed XML, and no data at all, and those both give the same result.

Any ideas?

Thanks!

  1. 1 Posted by Ben Gottlieb on 20 Mar, 2009 05:27 PM

    Ben Gottlieb's Avatar

    It would appear that density was the issue. I had forgotten to set the Content-Type of my request to "application/xml".

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