• Community
  • Products
  • Jira
  • Questions
  • We would like to have a quick filter that will show in Plan mode only stories with particular subtask. Can it be done?

We would like to have a quick filter that will show in Plan mode only stories with particular subtask. Can it be done?

We would like to have a quick filter that will show in Plan mode only stories that have "failed development" tasks. Is it possible?

2 answers

It is possible. You need to construct a filter that returns only those stories that have tasks is state "failed development" (I assume it is a state in the workflow).

You cannot do this with the default JQL you need this plug-in from the marketplace (it is almost free): https://marketplace.atlassian.com/plugins/org.craftforge.jira.craftforge-jql-functions-plugin

You need to do 3 things:

    1. Create a filter that returns all tasks with state failed development:
      issuetype in subTaskIssueTypes() AND status = "failed development". Save this filter and get its ID from the browser URL (for example: http://jira.corp:8080/issues/?filter=10219)
    2. Create the following filter (it will use a special function from the Search Linked Issues for JIRA plugin): issue in parentIssuesFromFilter("10219"). Save the filter
    3. Add this filter in the quick filters on the Agile board (I asume you know how to do that)

Thank you for response, Peter.

I guess i didnt explain it right.

"Failed task" is a subtask for a Story. Both are IssueTypes. (Failed is not a status).

In the normal workflow, we have Dev (task) and Test (task) under Story (issue). If QA does not pass their Test, they create Failed task (essentually it is a short lived Bug that is created under Story - not just licked to it.)

So I need to track only Stories that have Failed task under them (along with Dev and Test) and ignore Stories that have just Dev and Test.

Makes sense?

OK that can be done in a similar fassion:

On step 1 change the filter to be: issuetype = "Failed task"

On step 2 change the filter to be: issue in parentIssuesFromFilter("10219") and issuetype = "Story"

I get "Field 'subTaskIssueTypes' does not exist" error

Did you install this plug-in:
https://marketplace.atlassian.com/plugins/org.craftforge.jira.craftforge-jql-functions-plugin

if not you will get error as this function is deployed by the plug-in

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

260 views 2 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you