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, /confluence.atlassian.com/ 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 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,183 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot