Updating a ticket with a multi-word tag?

Justin Bingham's Avatar

Justin Bingham

28 Jan, 2013 11:19 PM

I'm having an issue getting the API to allow me to update an ticket through the api that has a multi-word tag, it doesn't seem to recognize it. Single word tags seem to work okay. The multi word tags are working properly during ticket creation (via api), and both cases work via the web app, but updating an existing ticket doesn't seem to.

Steps are:

  1. Create a ticket
  2. Update the tags with something like 'words with spaces'

It doesn't seem to like that multi-space input, and 'words with spaces' never shows up as a valid tag. If i did something like 'nospacesatall', that would show up fine. Sorry for keeping you guys busy today!

  1. Support Staff 1 Posted by Tiger Team on 28 Jan, 2013 11:23 PM

    Tiger Team's Avatar

    did you try double quotes? tag:"foo bar"

  2. 2 Posted by Justin Bingham on 28 Jan, 2013 11:25 PM

    Justin Bingham's Avatar

    yep. tried that and also "'foo bar'" to see, but no dice. its working for me on create, but doesn't seem to get recognized on the update. fwiw, i'm using the lighthouse-api ruby gem.

  3. Support Staff 3 Posted by Tiger Team on 29 Jan, 2013 12:14 AM

    Tiger Team's Avatar

    this ruby code works here on an existing ticket.

    ticket.tag = "email \"test multi\""
    ticket.save
    

    --->

    January 28th, 2013 @ 04:12 PM
    → Tag changed from “email” to “test multi, email”
    
  4. brandi closed this discussion on 30 Jan, 2013 07:48 PM.

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