JQL actual "contains"

Viewed 17667

I want to perform a simple search on a text field with part of its content but I don't know the beginning. I basically want what someone would expect of a "contains search". If I search issue for 345, I would want this result:

123456
234567
345678
...

Which, in JQL, would be the result of the query issue ~ "*345*", but the * is not allowed as first character in wildcard query. Is there an easy way to get this result, preferably with a JQL query?

2 Answers

Filter issues by "345" substring in the Summary field:

summary ~ "345"

Filter issues by "345" substring in the Description field:

description ~ "345"
Related