tag:help.lighthouseapp.com,2008-09-20:/discussions/problems/491-stateopen-criteria-not-workingLighthouse: Discussion 2012-06-29T22:08:50Ztag:help.lighthouseapp.com,2008-09-20:Comment/733392009-02-17T17:58:46Z2009-02-17T17:58:46Zstate:open criteria not working<div><p>This was a huge point of confusion for new folks. They'd have to
do weird queries like state:open not-state:new to get just open
tickets, for instance. Try using state:open!</p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/733392009-02-17T18:05:46Z2009-02-17T18:05:46Zstate:open criteria not working<div><p>OK. So just to be clear, state:open will only show tickets that
are in specific state called "open" and state:open! will show
tickets that are states that would be considered open?</p>
<p>If yes, do I need to update all of my search bins to start using
"state:open!" instead of "state:open"?</p></div>Ankit Shahtag:help.lighthouseapp.com,2008-09-20:Comment/733392009-02-17T18:08:05Z2009-02-17T18:08:05Zstate:open criteria not working<div><p>Yes, <code>state:{whatever}</code> only shows that state, the
exclamation makes it special. Sorry for the sudden change, I didn't
mean to deploy this until I had the blog post ready, the FAQ
updated, and all the ticket bins changed over. I can change them
all for you right now.</p></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/733392009-02-17T18:23:21Z2009-02-17T18:23:21Zstate:open criteria not working<div><p>Hi Rick,</p>
<p>Thanks for the update. I just wanted to make two small
suggestions/observations:</p>
<ol>
<li>I am sure this is already in your radar, but you should also
update the provided default drop-down search for "Open Tickets" to
use the new syntax.</li>
<li>At present, it seems that <code>state:closed</code> is a
spacial case as well. In my opinion, you should make it consistent
and have it only return tickets with state 'closed'.</li>
</ol></div>Ankit Shahtag:help.lighthouseapp.com,2008-09-20:Comment/733392009-02-17T23:00:41Z2009-02-17T23:00:41Zstate:open criteria not working<div><p>Thanks for the heads up! Indeed the change was a premature
deploy on our part and there are items in Lighthouse that will have
to be tweaked now. We hope to get this all corrected tonight.</p></div>Will Duncantag:help.lighthouseapp.com,2008-09-20:Comment/733392009-02-18T09:32:44Z2009-02-18T09:32:44Zstate:open criteria not working<div><p>can you fix my bins as well? there doesn't seem to be an easy
way to do it (is there?)</p></div>alextag:help.lighthouseapp.com,2008-09-20:Comment/733392009-02-19T01:51:32Z2009-02-19T01:51:32Zstate:open criteria not working<div><p>That's odd, I thought I fixed them yesterday. I re-ran my script
from yesterday and it looks like it works:</p>
<pre>
<code>>> a.name
=> "upstream"
>> puts a.ticket_bins(:reload).map(&:query)
state:open!
state:open!
responsible:me state:open!
responsible:me state:open!
tagged:urgent state:open!
tagged:urgent state:open! responsible:me
responsible:me state:open!
state:for_review
state:ready_to_deploy</code>
</pre></div>Ricktag:help.lighthouseapp.com,2008-09-20:Comment/733392009-02-19T20:04:16Z2009-02-19T20:04:16Zstate:open criteria not working<div><p>We're actually reverting back to the original
<code>state:open</code> search criteria and removing
<code>state:open!</code> for the time being. It was not an intended
deployment on our part and is causing a number of issues with other
users. We apologize for the inconvenience.</p></div>Will Duncan