Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to write a filter to get only issues whose linked issues all have a specific version?

I'm trying to write a filter (or set of filters) where I want only issues that have links of a specific type that all have a specific version assigned and I do not want any issues if there are more of that kind of link but to a different version.

I need only the hazard issues (haz project) that have linked requirements (req project) where every requirement linked to it has a specific affectedVersion. And I don't want any hazard issues where there may be more requirements but they have a different affectedVersion. AND, for those requirements, I want only those requirements used that have linked tests (test project) where every test linked has a specific affectedVersion. And I don't wnat any requirement issues where there may be more test linked but those tests have a different affectedVersion.

I tried using nested filters but it's not working. We have JQL Tricks and ScriptRunner and I'm just not getting it.

I can get issues where at least one of the linked issues has the affectedVersion. What I want is the issues where there are only linked issues with that affectedVersion.

0 answers

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you