I’m working with Jira and I’ve got a question about filters. I’ve set up a filter that shows stories for a specific release. Now I need to expand on this filter to include related tests.
Is there a way to add new conditions to an existing filter? I’ve looked through the docs but can’t find anything about combining filters or making them more complex.
Has anyone done something like this before? Any tips or tricks would be really helpful. I’m trying to avoid creating a whole new filter from scratch if possible.
Yes, modifying existing Jira filters is certainly possible. I’ve done this numerous times in my projects. Navigate to your current filter and select ‘Edit’ to access the JQL query. From there, you can add new conditions using AND/OR operators. For including related tests, consider using the ‘issuelinks’ function. Something like: AND issuelinks = ‘is tested by’. This will pull in test cases linked to your stories. Just be cautious when adding complexity to filters, as it can impact performance for large datasets. Always test your modified filter to ensure it’s returning the expected results before saving changes.
Absolutely, you can modify an existing Jira filter to include additional conditions. In my experience, I usually start by opening the filter and clicking on the edit button at the top right. Then, in the JQL editor, you add extra criteria using operators such as AND or OR. For instance, if your filter is set up as project = ‘YourProject’ AND fixVersion = ‘YourRelease’, you might alter it to something like (project = ‘YourProject’ AND fixVersion = ‘YourRelease’) OR (issueType = Test AND linkedIssues in (‘YourProject’)). This approach lets you incorporate related tests without creating a new filter from scratch. Be sure to test the revised query to ensure it returns the expected results.
yep, u can totally tweak existing filters! just hit ‘Edit’ on ur filter and mess with the JQL. try adding smth like ‘AND issuetype = Test’ to grab those related tests. might wanna use ‘issuelinks’ too, like ‘AND issuelinks in (related)’. play around with it, see what works best for ur setup. good luck!