Search code examples
jirawildcardjql

JIRA jql Query - what * means?


There is no regexp in JQL: https://answers.atlassian.com/questions/138055/how-can-i-use-regex-in-a-jql-query-i-cannot-match-strings-that-have-a-specific-ending-in-jql-ex-ing-should-match-running-jogging-etc

What is the meaning of * in a jql Query?, I have different results when using and not using it. But I didn't find any consequence in the results.


Solution

  • ~ means CONTAINS, so

    summary ~ win
    

    means WHERE summary CONTAINS the exact word win. * is a wildcard. The example:

    summary ~ "win*"
    

    means WHERE summary CONTAINS win and any multiple character combination after it.

    There are two types of wild-cards in JQL: ? and * where:

    1. To perform a single character wildcard search use the "?" symbol.
    2. To perform a multiple character wildcard search use the "*" symbol.

    Check the JIRA advanced searching guide and the wild-card explanation here.