Hello all,
I'm working to develop a single query that allows me to pull all 8 projects at one time and I'm using Version Matches. Currently we have it developed to be fixVersion in versionMatches(".*23/2013\\)") but the final would look like this
Currently the projects are listed as this 2.4.1(5/23/13)
versionMatches(".*May/2013\\)")
The question I'm wondering is it possible to develop something that would go Month/Day/Year and I could only ask for Version Matches to be asking for the Month/Year? Or is that not possible? What I'm getting at is that could it be like above but have it skip over the day section?
Thank you!
Found the solution to the answer.
versionMatches(".*6/\\d{2}/2013\\)")
Figured I'd post this for others who may run into the same problems I did
Hi Justin,
Well your month is 5 not May and the year is 13 not 2013 so the regex pattern needs to be like
.*\(5\/.*\/13\)
Cheers, Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo,
So when I copied it over what you provided me(By the way thank you very much for the help) it provided an error saying that the \ was an illegal JQL escape sequence. Is it due to me copying it over?
Thanks!
Justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Justin,
try and put it in quotes
".*\(5\/.*\/13\)
"
Cheers, Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo,
I tried that and still got the same issue as well. It seems to be having an issue when it comes to the \/ section as well as the \ before the parenthesis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Justin,
yeah, seems to be a genaral problem escaping characters. See
https://jira.atlassian.com/browse/JRA-23235
Sorry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Udo,
So when I copied over after the 1 it came up with an error stating that \ is an illegal JQL escape sequence. Is it something that's happening from me copying it over?
Thanks!
Justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.