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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,772 views 11 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot