Filter extensions

With ClearQuest queries (similar to JIRA's Filters) it is possible to define a basic filter, but to elect a particular field as being dynamic. In so doing the user is then shown a dialog in to which they can enter a value; or slect from a predfined list of values when the query is run. Simply entering this and pressing OK then runs the query.

eg. Show all closed bugs after a user defined date

The point is the user runs the query, a dialog is displayed into which they enter data and the results are displayed. The user doesnt have to go and edit the existing filter to change its behaviour.

Is there a similar feature available in JIRA?

3 answers

This widget could not be displayed.

No, it doesn't.

Personally, although I can see the logic behind it, I find it's actually a bad idea.

I save and share the more obvious "base" filters for people and then invest a little time in showing them how to take a base filter and extend or modify a copy to suit themselves. Teaching people to filter seems to be far more useful than getting them to do things by rote, it helps them to understand and question their data.

Oh, and the simple filter definition in 5.2 is far more friendly for defining filters.

At one level I agree. But sometimes it makes sense for people to use standard filters e.g. when looking at metrics etc.

That's why we save and share standard filters. If you look at the dashboard gadgets (we set up shared common dashboards too), you can do things like "show this filter and push it through a report where the user can choose which field to group the results on" (filter statistics gadget). Far more useful than a predefined filter with one variable they enter - again it encourages them to understand their own data.

I agree with friendliness of filtering GUI in JIRA 5.2. There is just little step to requested functionality - allow to specify in JQL something like components in (*) which would persist and appear in GUI like [ In components: All ▼]

This widget could not be displayed.

There is no such functionality out of the box, as Nic written, anyway there are use cases where it would be benefitial. We should distinguish between filtering and exact searching in predefined set of issues.

In our customized JIRA installation are users routinely searching for orders by their identifier, they don't want the fiddle with filter to do the search. We have provided them with search gadget allowing to AND predefined filter with exact search for given customfield.

At the very beginning it start as generic text gadget with simple form and javascript placed on dashboard, something like this:

<form action="/jira/secure/IssueNavigator.jspa" target="_parent">
<script type="text/javascript">
function mySearch(orderNr) {
    var result = 'type = \"Order\" ';
    
    if(orderNr) return result + 'AND OrderNr = \"' + orderNr + '\"';
    return result; 
}
</script>

<input type="hidden" name="jqlQuery" />
<input type="hidden" name="reset" value="true" />

<table>
	<tr> <td>OrderNr:</td> <td><input type="text" name="OrderNr" /></td><td><input type="submit" value="Go" onclick="this.form.elements['jqlQuery'].value=mySearch(this.form.elements['OrderNr'].value)" /></td></tr>
</table>
</form>

This widget could not be displayed.

Something similar to what Jozef said. We used to use Confluence with run macro and the user fills in the arguments and then those values were taken directly into the jql argument for the isssue search in JIRA and the results shown.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

46 views 1 0
Join discussion

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