Does anyone know of JQL or maybe a plugin that could support the question:
Find all subtasks that have a parent that is an issuetype = Epic.
Or you could just use this query from JIRA:
"Epic Link" is not EMPTY and issuetype in subTaskIssueTypes()
Note that this will only work in GreenHopper versions above 6.x (if I'm not mistaken).
Hope it helps!
That definitely does work for our case; I used epic as an example, but we also want to use this same type of query for other issue types. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also available if you install script runner plugin (free):
issueFunction in subtasksOf("issuetype = Epic")
Performance testing shows it's much faster than the other two!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How to use add on once installed?
Write the above query in JQL search or the plug in search?
[For JIRA Cloud]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Monika,
We are currently working on that functionality for JIRA Cloud. It should be ready soon, but I'm not able to commit to a time frame except that it will be weeks rather than months.
Jon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, if you use the plugin mentioned above: https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner/server/overview
Several other plugins have similar functions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also available if you install script runner plugin (free):
issueFunction in subtasksOf("issuetype = Epic")
Performance testing shows it's much faster than the other two!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I actually just installed script runner to see if I could do something like that. Thanks for the example as I can test it out this evening.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jamie
how can i add a simple validation using script runner to check if an issue type is linked to an issue? thanks.
I tried this code below - even though i linked issue type Chg Request to parent issue, it still shows error message, validation is not working correctly, am i missing anything here?
issueFunction in linkedIssuesOf("issuetype = Chg Request")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For conditions or validations, you'd use the jql query condition. You need to use single quotes around the Chg Request too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey there, Karie!
This is possible to achieve by using the Craftforge JQL Functions Plugin, which finds all sub-tasks of parents found by a specified query . You should use a query like the following:
issue in subtaskIssuesFromQuery("issueType = \"Epic\"")
I hope this helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Matheus, without this plugin, how can i add a validation using simple script to check if an issue type is linked to an issue? thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use this plugin: https://marketplace.atlassian.com/plugins/com.j-tricks.jql-plugin. It has some fine features like subtask(JQLQuery).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for both suggestions! They both seem to be great additions. Appreciate the quick responses!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.
Learn moreOnline 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.