My Jira project has 4 issue types (e.g. Product Specification), and 3 subtask types (e.g. PMO Task). Any of the 4 issue types can contain zero or more of any of the subtask types.
I'd like to create a filter to see all the subtasks of a given (subtask type, parent issue type) tuple.
E.g. I may want to see all the "PMO Task"s that have ever been created for "Product Specification"s (thus filtering out all the "PMO Task"s that have been created for, e.g. "Development Deliverable" parent tasks.
How do I do that?
Hey Johan,
Currently, it is not available inside JIRA. However, I have raised a JIRA request for this, which you can find here - JRA-38798
I would recommend that you do the following on the feature request ticket :
Please note that the implementation of new features and improvement requests falls under Atlassian's Implementation of New Features Policy.
I have voted also!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johan,
NOTE: This post is purely my personal opinion and not an objective comparison of the plugins :-)
If you are to convince someone about a plugin solving your described issue I personally would recommend the ScriptRunner!
Two reasons actually:
The two other plugins mentioned are also good plugins. I have used them both with great result but they are not just as versatile as the ScriptRunner.
Cheers,
// Svante
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Liked the bit with Swiss army-Knife :) Sure Script runner is THE plugin I use the most as an administrator of JIRA right now. That was the reason I placed as first option.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You may use the ScriptRunner Plugin.
issueFunction in subtasksOf("sub query here returns all parent tasks")
But disclaimer says it will be paid plugin soon.
Another option thats already paid plugin is :
https://marketplace.atlassian.com/plugins/org.craftforge.jira.craftforge-jql-functions-plugin
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Vijay, practically how do I do that - do I just copy & paste the code you quoted into the JQL field? Or does issueFunction stand for something I need to fill in? It looks like a promising approach. I work in a midsize corporate, so don't control the plugins that are allowed, but it may already be installed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To expands - this should be:
issueFunction in subtasksOf("issuetype = MyParentType") and issuetype = MySubTaskType
So the first clause will find all the subtasks of the particular parent type you care about, then filter further to the subtask type you care about.
Yes, you paste than in the advanced JQL editor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> But disclaimer says it will be paid plugin soon.
True, but it's said that for around 2 years now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Johan,
This is from Script runner plugin. Can you check with JIRA Admin if it is installed?
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! Unfortunately I get this: "Field 'issueFunction' does not exist or you do not have permission to view it." Which I suspect means my company hasn't got that plugin installed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another option is JQL Tricks plugin (Paid). See http://www.j-tricks.com/jqlt-subtask-functions.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The closest I have come is an advanced filter with JQL that references the "parent" field, but that is a dead end because that field only contains the unique key of the parent task, not its type. Unless there's some way to look up the type based on the key (in a subquery), and then filter on that?
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.