'parent' field - how it is meant to be used?

I accidentally discovered that a jql query : parent=PID-34 is valid. This means there exists a field “parent” in JIRA. I am not aware of any JIRA screens that explicitly show this field. Is it a native field? How is it used? How is it meant to be used? Can I use it for the purposes of my plugin as well?

Thanks!

parent=PID-34 will return all subtasks for the issue with key PID-34.

It’s a native field as mentioned in the Advanced searching - fields reference.

I’m sure you can find a way to use it in your plugin :slight_smile:

It’s worth mentioning that there also exists a similar parentEpic field, which can be used to get all issues in an epic, transitively taking subtasks into account.

1 Like