Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to write jql query for only story issuetype under sub task issues

Prathima Katkuri March 1, 2023

Hi,

Please suggest me

 

Regards,

Prathima K

2 answers

1 vote
Mindaugas Dūda
Contributor
March 1, 2023

Hello @Prathima Katkuri

If you want to search only subtasks that are under issue type 'story' you can use following JQL:
project = YourProject AND issuetype in subTaskIssueTypes()

If you want to include 'story' and 'subtask', you can use following:
project = YourProject AND issuetype in (subTaskIssueTypes(), Story)

Hope this answers your question. 

Regards,
Mindaugas

1 vote
Dave Mathijs
Community Champion
March 1, 2023

HI @Prathima Katkuri welcome to the Atlassian Community!

A sub-task issue type is usually not a story. The story is the parent issue type, and the sub-tasks within the story are the children.

Could you please explain in a bit more detail what issues you are searching for in your query?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events