Vote #73488
未完了Filtering by issue subject with wildcard
0%
説明
If I'm right it is not possible to filter issues by subject with a wildcard. This could be very useful, maybe by using "*" character.
journals
+1. This would be great to have.
--------------------------------------------------------------------------------
+1
I am wondering this is not yet possible... :-(
--------------------------------------------------------------------------------
I'm also interested in this feature.
--------------------------------------------------------------------------------
There is an undocumented way to do it. You can add these parameters to the URL:
<pre>
f[]=subject
&op[subject]=~
&v[subject][]=texttofind
</pre>
All properly url-encoded this becomes:
<pre>issues.json?f%5B%5D=subject&op%5Bsubject%5D=%7E&v%5Bsubject%5D%5B%5D=texttofind</pre>
I found this by creating a search-query in the GUI and examining the URL that was generated for that.
Again: this is undocumented and may change without notice in a future version but it solved my problem.
--------------------------------------------------------------------------------
+1
can confirm the solution by Jos Groot Lipman is working, looking for a documented way though...
--------------------------------------------------------------------------------
+1 for this to be implemented as a regular functionality.
--------------------------------------------------------------------------------
Not sure when it appeared, but the direct prefix form of the @~@ operator example in note 4 works for me in Redmine 3.4.1:
<pre>
issues.json?subject=~texttofind
</pre>
…so I suppose this issue can be closed?
--------------------------------------------------------------------------------
For anyone looking for an answer: the % character works as wildcard in the subject text field
Tested on Redmine 4.0.4
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Stéphane Frath wrote:
> For anyone looking for an answer: the % character works as wildcard in the subject text field
> Tested on Redmine 4.0.4
The behavior is going to be fixed in the upcoming Redmine 5.0.0 (#35073). Instead, filtering by multiple keywords (AND search) will be available (#35764).
--------------------------------------------------------------------------------
related_issues
relates,Closed,19786,'%' and '_' are treated as SQL wildcards in issue filter
relates,Closed,35073,Escape values in LIKE statements to prevent injection of placeholders (_ or %)