jira - JQL to retrieve all stories and sub tasks related to specific epic -


is possible use raw jql (not using plugins) filter stories , respective sub-tasks?

currently, have following retrieves stories epic-123:

project = proj1 , "epic link" = epic-123 , issuetype = story order priority desc, updated desc 

however, want sub-tasks related stories. thought work:

project = proj1 , "epic link" = epic-123 , (issuetype = story or issuetype = sub-task) order priority desc, updated desc 

but returns stories.

i think because jira reads "retrieve sub-tasks epic-123" (which 0) opposed "retrieve sub-tasks stories in epic-123".

i thought using issue in (linkedissues(aaa-###)) imagine involve programatically looping through stories returned in above query. seems ridiculous , not possible.

would rather not go down plugin path open suggestions. thanks!

the function issueswhereepicin() available of v5.2:

issue in issueswhereepicin("issue = jira-1234”) or parent in issueswhereepicin("issue = jira-1234") 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -