We want to searching the tickets which the lables contain "dde" by JQL.
Is there any possible can achieve this function?
Hi Panbinsuiyuan,
There is an open Suggestion to allow wild card searching that you can find at JRASERVER-23038. Please vote on the issue to add impact and you'll be notified of any changes to the ticket including a fix version.
Cheers,
Branden
Natively, Jira can't do this by itself. The labels field does not permit the searching with wildcards, or the use of the ~ contains operator. There is an existing feature request to add this functionality to Jira in https://jira.atlassian.com/browse/JRASERVER-23038
But this request is common enough that other plugins to Jira have been created that can actually handle this. I know that Scriptrunner can do this with the issueFunction in issueFieldMatch search. The specifics of how this could be done are also explained over in the post How to search for labels with a wildcard? - Atlassian Community
There are also other plugins that might help, such as
Wildcard Search plugin for Jira
or
JQL Tricks
Thanks very much
what year is this? 1998
Basically is:
issueFunction in issueFieldMatch("filter='all_projects'", labels, "(foo)")
More info: https://mraddon.blog/2018/11/19/jql-trick-how-to-search-for-labels-with-a-wildcard-expression-in-jira-server/
Respectfully meant to Jira developers, the above comment is what I think a lot when using Jira. When searching for something which should be there out of the box from a user perspective you find all kinds of explanations on technical level why it is not there and how to work around it. Really hope at some point general user experience gets better without the need to install and pay for another plugin.
Thanks for sharing. It works
It looks like you're new here. Sign in or register to get started.