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:

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:

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

767 views 2 19
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