Filter to unreleaseVersions()?

Howdy y'all .. I was just wondering if anyone knows that it's possible to write a query which does the following (in my made up pseudo query language):

show tickets that have a fixVersion matching ABCD-* where any ABCD-* fixVersion has NOT been released

I basically want to filter on unreleasedVersions but matching a prefix.

1 answer

0 vote

Yes and no. The clause "unreleasedVersions()" will do the "has not been released", so you could say

fixVersion ~ "ABCD-*" and unreleasedVersions()

Problem is the versions don't support wildcards, so the ~"" won't work.

Yeah, even if ~ worked with wildcards, this still wouldn't achieve what I'm trying to accomplish. If a ticket had two versions, ABCD-1.0 and QWER-2.0 where ABCD-1.0 was released, your proposed query would still show the ticket.

It's almost as if we needed to go in the other direction ...

unreleasedVersions() ~ "ABCD-*"

Mmm, no, I think it matches your question, because it'll return issues which have an unreleased ABCD~ version. But I see what you're getting at. Shame we can't do it - a wildcard search to fetch versions would be useful

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...

770 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