I have a team with a different workflow for subtasks than for stories. They want a specific subtask issue type to show on the Kanban board until they are resolved, then go away right away. They want resolved stories to show for 15 days, then go away. I am trying to create a board filter that is something like this:
(fixVersion in unreleasedVersions() OR fixVersion is EMPTY) AND (resolution = EMPTY OR resolution in (Fixed, Done) AND resolutiondate > -15d) AND (issuetype = 'story defect' and resolution is not EMPTY)
When I try the above, Jira removes the parens around the last part. I've tried this a few times and I think I've twisted myself into a logic knot trying to figure this out....
Can I do this with straight JQL or do I need an add-on? Another option is to use a different 'done' status type and just not add it to a column on the board - but then the team can't drag and drop the issue to resolve it.
Options?