We've been using a pair of quick filters for months, but recently realized they no longer allow for expanding a story to view the associated sub-tasks in the active sprint board. We are on Jira v8.20.6
The filters are based on values in the Components fields. "Development" for the dev team, and "Configuration" for the config team. None, one, or both of the values may be found on a story and / or subtask. When applied, I want to see every story where either the story and or any of it's sub-tasks are so tagged.
(issue in parentIssuesFromQuery("type = Sub-task AND Component = Configuration")) OR (type = Story AND Component = Configuration )
The list of stories are showing correctly, but none expand to show sub-tasks.
From what I undersatnt from the query it return what is expected.
Use this one to get all the story and sub-task
(issue in parentIssuesFromQuery("type = Sub-task AND Component = Configuration")) OR (type = Sub-task AND Component = Configuration )
This will return parent of subtask with compoenents Configuration and all Sub-task with COnfiguration as component.
What you are using return only stories based on the analysis below.
(issue in parentIssuesFromQuery("type = Sub-task AND Component = Configuration"))
return anything that is parent of a subtask when the sub-task has Configuration as components.
OR
(type = Story AND Component = Configuration )
return story with Configuration as components.
Regards
It needs to be noted that the parentIssuesFromQuery function is NOT native to Jira. It requires the purchase and installation of a third party app:
https://marketplace.atlassian.com/apps/31601/search-linked-issues?hosting=server&tab=overview
I don't believe there is a native method to get all of these in one filter:
1. sub-tasks with Component=Configuration
2. parent issues of (1) (regardless of the value of the Component field in the parent)
3. non-sub-task issues with Component=Configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys --- getting closer.
(issue in parentIssuesFromQuery("type = Sub-task AND Component = Development"))
OR (type = Sub-task AND Component = Development)
OR (type = Story AND Component = Development )
Shows all stories, and the sub-tasks that are component = Development. But... what we really want is ALL subtasks, from the parent stories that have any Development subtasks. So Sort of -- All Subtasks from (parentissuesFromQuery("type = Sub-task AND Component = Development")). Not sure this is possible?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not sure to understant but if what is missing is all sub-task if the story has development compoenents you can achieve that by adding
OR
issue in subtaskIssuesFromFilter(
"type = Story AND Component = Development "
)
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Excellent! Thanks Florian. Combining that with a story level filter both gets all subtasks, and stories that have no subtasks!
(issue in subtaskIssuesFromQuery("type in (Story,Bug) AND Component = Development")) OR (type = Story AND Component = Development)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right, does it return everything you were expecting ?
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.
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.