I would like to query the Issue Type and Sub-Tasks of that specific Issue Type only. Is there a JQL for this?
You need a plugin to do this either scriptrunner or JQL Search Extensions for Jira & reports
I have JQL Search Extensions for Jira & reports plugin and using it since long time., its available for both server and cloud
In your case
This query will return all sub tasks of issue type epic , you can change the issue type as per your need.
issue in subTaskOf("issuetype=epic")
Would I be able to pull in the Issue Type and the Sub Tasks of that Issue Type?
Example, I have the Issue Type of Creative Request. I want to pull the Creative Request tickets and the Sub-Tasks of those Creative Request tickets.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Angela Boston why not just use:
issuetype="Creative Request" and issue in subTaskOf("issuetype='Creative Request'")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried that and get this error message
Unable to find JQL function 'subTaskOf(issuetype='Creative Request')'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Angela Boston you need to install JQL Search Extensions for Jira & reports plugin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can this be accomplished with ScriptRunner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angela,
Thank you for your question.
I can confirm that the Enhanced Search for Jira Cloud plugin contains the subtasksOf() search function that you can use to query subtasks related to an issue.
The documentation page located here explains how this works in more detail and may be useful to help you to achieve your requirement.
If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not sure if I understood your question correctly. Are you looking for something like this
=project = ABC AND issuetype in (Bug, Story, Task, Sub-task)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm looking to return the Issue Type and Sub-Tasks of that Issue Type only.
Example, the Issue Type is Creative Request. I want to pull all Creative Requests and the Sub-Tasks of only the Creative Requests issue types.
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.