Help needed with JIRA Structure Plugin sprint filtering
I’m trying to set up my JIRA Structure to show only active and upcoming sprints for each team in our program. Here’s what I’ve done so far:
Filtered issues by project and used sprint in (opensprint(), futureSprint())
Grouped everything by sprint
Added issues from the board
The problem is, I’m still seeing closed sprints where some current sprint issues were originally planned but not finished. I want to hide these closed sprints, but when I try sprint not in closedSprint(), it removes issues that were planned in past sprints but are still active.
Does anyone know a trick to keep the active issues while hiding the closed sprint groups? I’m pretty stuck on this one. Thanks in advance for any tips!
hey RunningTiger, i’ve run into this before. try using JQL like sprint in openSprints() OR sprint in futureSprints() OR (sprint in closedSprints() AND status != Done). this should keep active issues from closed sprints while hiding the rest. hope it helps!
In my experience with agile transitions, a solution that worked was to implement a custom field called ‘Sprint Status’ that updates automatically based on the sprint’s state. We then used a JQL query like: project = YourProject AND (‘Sprint Status’ in (‘Active’, ‘Future’) OR (‘Sprint Status’ = ‘Closed’ AND status not in (Done, Resolved))). This approach maintained a clean Structure view by displaying active tasks even from closed sprints. It required setup and regular backlog reviews, but these steps were crucial in ensuring that only relevant issues appeared.
I encountered a similar issue and found a workaround that might help. Instead of filtering at the sprint level, consider using a combination of sprint and issue status filters. Try this JQL query:
project = YourProject AND (sprint in openSprints() OR sprint in futureSprints() OR (sprint in closedSprints() AND status not in (Done, Closed)))
This approach keeps active issues from closed sprints visible while hiding completed work. You may need to adjust the status values based on your workflow. Additionally, ensure your Structure view is set to ‘Match’ rather than ‘Filter’ mode for more precise results. Let me know if this solves your problem or if you need further assistance.