[rt-users] Question about REST interface and status

Jeff Konnen jaykayone at gmail.com
Mon Jun 18 01:51:45 EDT 2012


Hi,
this is the way we are creating the ticket, by using a HTML form:

<html>
<form method="POST"
action="http://xxx/REST/1.0/ticket/new/">
  User: <input type="text" name="user" size="20"><br>
  Pass: <input type="text" name="pass" size="20"><br>
  Content: <textarea rows="10" name="content" cols="30">id: new
Text: This is the ticket text
Subject: This is my ticket
Status: resolved
Queue: 6</textarea><br>
  <p><input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2"></p>
</form>
</html>

Thanks
Jeff

On Sat, Jun 16, 2012 at 2:19 AM, Kevin Falcone <falcone at bestpractical.com>wrote:

> On Fri, Jun 15, 2012 at 11:23:27PM +0200, Jeff Konnen wrote:
> >    # Could not create ticket.
> >    # Status 'resolved
> >    ' isn't a valid status for tickets in this queue.
> >
> >    Is this error due to the carriage return and how can I avoid it?
>
> There's a good chance that it dislikes the carriage return.
> However, we'd need to know how you're creating the ticket and what
> you're sending across the wire to make suggestions.
>
> -kevin
>



-- 
Jeff Konnen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120618/54de5890/attachment.htm>


More information about the rt-users mailing list