JQL query to filter a field value

Hello,

I have a custom field called "Create Date" which is a text field  which has values like 02/02/2016.... 03/04/2015 ..04/04/2016  etc . as it is a text filed can i query this to find value in range ?

Like find all values between  02/02/2016 And 2027/2016 ?

if Not can i query to find a string that contain "2016"

i tried using "create date" ~ "/2016" but did not work

is " Create Date " a reseved word ?

Thanks

1 answer

0 votes

You've answered your own question - a field that is text cannot have a range searcher, it's not got data that can support it.  It's a bit like asking "are those colours between two and four?".  The data does not know it might be searchable.

"create date" ~ 2016 will work, but it's going to pick up the 20th January and so-on.

Thanks Nic but i tried running 

"Create Date" ~ 2016  in advance JQL query field but it did not return any data am i still missing something ?

 

Mmm, sorry, that used to work, but now it needs the 2016 to be a word on its own.  It won't find partial words, so 20/3/2016 won't be found.

So there is no way we can find the word 2016 ?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Friday in Jira Service Desk

Looking for anyone who has switched from Zendesk to Jira Service Desk

Hi Community! The Jira Service Desk marketing team is looking for customers who have successfully switched from Zendesk to Jira Service Desk!   We’d love to hear your thoughts on the pros and ...

51 views 2 2
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