I have a custom field called CATEGORY. This is a multiple-choice field dropdown where I assign a field to either EPIC, User story, or Defect which are child items. I do not have this custom field category at the sub-task level as it is supposed to leverage this from the parent field as a linked item.
Now when I want to get a list of all work items with CATEGORY = ABC, I do not get the child items of the user story.
Is there a way I can get a list of sub-tasks included where the query finds the child item of the parent whose CATEGORY = ABC?