Is it possible to use JQL to pull all subtasks based on a parent's value?

I've logged a support issue and tried to view Atlassian documentation (however, / is a 503 error) to answer my question....

I need to pull all subtasks based on a parent issues field value. I actually have the same value on the subtask - but, the JQL results don't include the subtasks. That seems to be another bug if you have a custom field with different field configuration and the JQL is using one of those fields to evaluate. It only applies to parent issues, not subtasks.

So, I have this dilema in that I need all subtasks with this field value and the parent has it. So...does anyone know how I might write JQL to get these?

1 answer

1 accepted

0 votes
Accepted answer

You cant' use any plugins which support this in onDemand. However, I am not sure why it is not working for you if you have the same value on the subtask as well!

"custom field name" = "value you search for" and issuetype in subtaskIssueTypes()

should fetch you the subtask with that value I guess?

It should work, as you say. I can pull subtasks based on another custom field, but not this custom field. It's not understanding the multiple field configurations for this field and only applies to the parent issue. You also cannot bulk edit this field -- doesn't appear on the screen in either the available or unavailable actions, even though all issues are all using the same field configuration. Consequently, the reason I'm stuck.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

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