Hi All,
I need to Query Labels to search using the "Like" option. By this I mean, among the list of labels, I would like to search for label like "Dept-%". Is that possible?
Unfortunately the operator '~' is not supported by the 'labels' field.Your best bet is to use the IN operatorFor example:
labels in (Dept-Sales, Dept-Marketing, Dept-HR)
Alternatively you might be able to use a third party app with custom JQL functions. They might support a like query.
No, you cannot use a "LIKE" or partial match query for the Labels field in Jira JQL. JQL only supports exact matches for labels. For example, you can use:
labels = "my-label"labels in ("label1", "label2")
But you cannot do:
labels ~ "partial-label"labels LIKE "prefix*"
It looks like you're new here. Sign in or register to get started.