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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

174 views 1 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