Feature #13347

Filtering by issue subject with wildcard

Added by Philipp Zabel over 6 years ago. Updated 27 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:

Description

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.


Related issues

Related to Redmine - Defect #19786: '%' and '_' are treated as SQL wildcards in issue filter New

History

#1 Updated by Dipan Mehta over 6 years ago

+1. This would be great to have.

#2 Updated by David Rahusen over 5 years ago

+1

I am wondering this is not yet possible... :-(

#3 Updated by Philipp Kroll almost 5 years ago

I'm also interested in this feature.

#4 Updated by Jos Groot Lipman almost 5 years ago

There is an undocumented way to do it. You can add these parameters to the URL:

f[]=subject
&op[subject]=~
&v[subject][]=texttofind

All properly url-encoded this becomes:
issues.json?f%5B%5D=subject&op%5Bsubject%5D=%7E&v%5Bsubject%5D%5B%5D=texttofind

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.

#5 Updated by Matthias Schelling over 4 years ago

+1
can confirm the solution by Jos Groot Lipman is working, looking for a documented way though...

#6 Updated by JW Fuchs about 3 years ago

+1 for this to be implemented as a regular functionality.

#7 Updated by Stéphane Lavergne 9 months ago

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:

issues.json?subject=~texttofind

…so I suppose this issue can be closed?

#8 Updated by Stéphane Frath 27 days ago

For anyone looking for an answer: the % character works as wildcard in the subject text field
Tested on Redmine 4.0.4

#9 Updated by Go MAEDA 27 days ago

  • Related to Defect #19786: '%' and '_' are treated as SQL wildcards in issue filter added

Also available in: Atom PDF