I have been quite confused as in JIRA glossary, it says that a task is a unit of work within a story. In the community discussion, people say that a story is the same level as a task.
So in JIRA Agile, should I use Stories or Tasks as parents for sub-task? Is there a difference if I use the Epic-Story-Subtask or Epic-Task-Subtask?