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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,016 views 4 9
Read article

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