I'm playing with the versionMatches function from the Tricks plugin, and it doesn't seem to be working. (I need to pull a report once a month for all of my developer's projects (around 11) and all of the releases for each project (between 1 and 4 per project per month), so doing this without some fancy functions is a major time sink.)
Here's a screenshot of the base query to show that we have data and what our fixversion looks like:
And then adding the function to the query, which gives me no results:
What am I doing wrong?
Try something like this:
project in (BILLGTWY) and fixVersion in versionMatches(".*Jan/2012.*")
Bascially, it takes a Java regex as input.
Sorry, missed the last ')'. Updated the answer. try that!
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.
Or versionMatches(
".*Jan/2012\\)"
)
if it always ends with ')'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ugh, the documentation did mention regex but the example had it as a simple string. But I tried your syntax and it's still not finding any tickets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can also do ".*Jan/2012.*" since it looks like the regex is being anchored.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.