How to search for issues affecting a version and not affecting previous versions?

I'm trying to search for issues affecting a version Y and not affecting versions released prior Y.

I tried following jql requests, which are not working as they are giving me in results an issue with AffectsVersion set to (X,Y):

AffectedVersion = Y and not(AffectedVersion < Y)

AffectedVersion = Y and AffectedVersion >= Y

4 answers

How is the order of your versions set up in your project? This is important if you use the < or > comparison operator.

X < Y in my example

I can reproduce your case, the only solution I found is that you have to use the not in operator.

AffectedVersion = Y and AffectedVersion not in(X,W,V,U,...)

Maybe someone got a better solution?

Thank you very much for trying to help, but the solution you found doesn't scale well in a project (as mine) where the number of releases < Y is large.

We can't envision to specify explicitly all releases < Y in all our filters, that would be very difficult to handle.

I was expecting ordering of versions to help on such requests, but it seems like requests based on combining ordering operators and multiple values in AffectsVersion behave "strangely".

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

21,942 views 2 7
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