JIRA is a cool tool but it becomes even cooler if you know how to leverage it's powerful search features! Some of you probably already discovered the powerful JIRA Query Language (JQL) and that's what this series of blogposts is all about. In the next few posts we'll cover:
In Advanced searches in JIRA we covered the basics of JQL but there's much much more! We won't be able to cover (allthethings) but I've done my best selecting the most relevant JQL features.
What if you would like to find all issues to which you've been assigned. Basically all the work that you are expected to do.
You can use the JQL function currentUser() for this:
assignee = currentUser()
And the good news is, this filter will not only work for you but it'll work for others too. This filter is somehow personalized to the logged in user. In the first post of this series we've covered how to save a filter that can be used by others, so if you'd save this filter and make it available to other they'll be able to use the filter to see all issues that have been assigned to them.
You could do the same for all members of a certain squad/team/group. The most important thing to note here is the use of IN instead of =
assignee IN membersOf("Collaboration Squad")
In the article about History Searches we covered many ways of filtering by using dates. Most of the examples were using static dates. But Atlassian has provided a set of functions to support dynamic date filtering as well.
There's a couple of functions 'startOf...'. Here's a list:
The following example gives you all issues that were created this year:
created >= startOfYear()
The same functions exist for the end of a day, week, month or year:
The now() function refers to the current date and time and is often used for filtering on the due date:
due <= now()
If you want to keep track of all the issues that have been created or updated since you last logged in, you could use this function:
created >= lastLogin() OR updated >= lastLogin()
These are just a hand full of available functions. The complete list can be found on the official JIRA Documentation.
Please checkout this page from Atlassian first: https://confluence.atlassian.com/jiracoreserver073/basic-searching-861257184.html?_ga=2.12645040.62589169.1494573379-798135519.1489390862#Basicsearching-troubleshootingTroubleshooting
If that doesn't help, please use the comments.
Maarten Cautreels
Product Owner Digital Nomads Squad
DPG Media
Belgium
57 accepted answers
11 comments