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

JQL Function to Access Fields in Parent Issue

I want to query issues where the fix version field doesn't match the fix version of its parent issue.  Is there a JQL function to access the fix version of a parent?

2 answers

2 accepted

0 votes
Answer accepted

I used script addons to create and fill new fields like "parent.assignee" or "parent.status" 

0 votes
Answer accepted
Sudarshan TS Community Leader Dec 16, 2020

@Gary GrossGross welcome 
Interesting question.! Let me try:

First, unfortunately there is no "If" and "Else" statement in JQL and JQL is not SQL.!

However, a little bit of excel could help you out.!
1. Query all the items in your project (including, sub tasks and parents)
2. set the results table to show fix version, excel export the results :) 
3. now do a match to find the parent and its corresponding sub tasks (use the links column to get this detail) (excel functions can help)

In JQL there are Functions related to Parents, fixVersions, but they provide you with only an open search results (not much of logic)

I would be happy if anyone provides to your questions.

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