Good afternoon,
I'd like to run a query where subtasks are listed only in case the issue that contains them has an specific value in a field.
Is there any way I can add a condition to the select to indicate that?
Thanks!
As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.
With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.
Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions
You can use this query to find all subtasks that have a parent which type is User Story
issue in subtasksOfParentsInQuery("type = 'User Story'")
Check out the documentation for more examples.
If you have any other questions, please contact our support. We’ll be happy to help you!
Best regards,
Maurício
Use the ~ condition for the field where the specific value is located in your query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, not sure if my question was clear.
We have tickets that are Sub-Task of another tickets.
So, the field Type of the sub-task = "Sub-Task", but I want to get the tickets where Type = Sub-Task and its main ticket (the one that owns the sub-task) has type = 'User Story'
Who can we link both tickets in the query?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try parentEpic IN (EPIC-123) to get all downstream issues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, but I'm afraid that's not the solution either.
I need to list all the tickets with type = 'User Story' and all their Sub-Tasks in the same list.
As sub-tasks has type = 'Sub-Task' I don't find a way to fetch only those sub-tasks from an user story.
I'm looking for something like:
type = 'User Story' or (type = 'Sub-Task' and issue.type = 'User Story')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.