Issue Navigator Query Question

Is there a way to search a field by masking?

I have two fields and i just want names starting with DEVX. I have tried quotes and asterisk DEVX* . Is there a way to do it in this query? These are custom fields Version Picker type JIRA 5.2.4

project = XXXXXX and "Target Release" = "DEVX" or "Fixed In Version/s" = "DEVX"

1 answer

1 accepted

Hi KP11,

The script runner plugin has some features to extend the JIRA JQL capabilities:

https://answers.atlassian.com/questions/144898/jql-query-field-starts-with

For instance, let's say I want to find all the project that start with DEVX. Then this will be my JQL query:

project in projectMatch("^DEVX")

If I want all issues with a fixed version starting with DEVX:

fixVersion in versionMatch("^DEVX")

Of course you can also combine queries with standard JQL logic:

project in projectMatch("^DEVX") AND fixVersion in versionMatch("^DEVX")

Hope this helps?!

The parameters for the script runner JQL functions are just normal regular expressions. This page gives more information about the script runner JQL functions:

https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

133 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you