I’m working on setting up a custom filter for my JIRA board. The goal is to show all subtasks within a user story when a particular team member is assigned. I’ve been playing around with both custom and default filters, hoping to use the currentSelectedUser feature.
Is it possible to create a query that does this? I want to see all the subtasks in a user story, but only when a specific person is assigned to any of them. I’m not sure if JIRA allows this kind of filtering.
I tried a few combinations, but I can’t seem to get it right. Has anyone done something similar before? Any tips or tricks would be really helpful. I’m pretty new to advanced JIRA filtering, so I might be missing something obvious.
I’ve been in your shoes before, and I found a workaround that might help. Here’s what I did:
Instead of trying to filter directly for subtasks, I created a custom field called ‘Team Member’ on the user story level. Then, I set up an automation rule to update this field whenever a team member is assigned to any subtask within the story.
With this setup, my JQL looked something like this:
‘project = YourProject AND issuetype = Story AND ‘Team Member’ = specificUserName’
This approach gives you a board showing all user stories where your team member is involved in any subtask. It’s not perfect, but it worked well for our team’s needs.
Remember to adjust field names and project keys to match your JIRA instance. Hope this helps!
I’ve tackled a similar challenge before, and here’s what worked for me:
Try using a JQL query like this:
‘project = YourProject AND issuetype = Sub-task AND parent in (issueFunction in subtasksOf(“assignee = currentUser()”))’
This query finds all subtasks where the parent issue has a subtask assigned to the current user, effectively showing all related subtasks. Replace ‘YourProject’ with your actual project key and adjust the query as needed for your setup.