Jira Smart Values in JQL: Power Up Your Queries
Jira, a widely-used issue tracking project management software, introduces a powerful feature known as Jira Query Language (JQL) to help users create complex queries for searching issues. To enhance this functionality, Jira introduced Smart Values in JQL, making searching and filtering issues even more efficient. Let's delve into understanding JQL Smart Values and how they can boost your productivity.
JQL Smart Values leverage Jira's rich field data to provide real-time suggestions while typing queries. They autofill and autosuggest options based on the issue fields and history, saving time and reducing typing efforts. Now, let's explore some key aspects of JQL Smart Values.
Activating JQL Smart Values
Before exploring the functionalities, ensure you have JQL Smart Values activated. You can enable it from your user preferences.
JiraAlign your user profile picture, then click on 'User settings' (⚙️). Under the 'Advanced' tab, you'll find the 'Experimental features' section. Tick the 'Smart values in JQL' option and click save. Now, JQL Smart Values are enabled on your Jira instance.
How JQL Smart Values Work
JQL Smart Values recognize your typing patterns and offer suggestions based on the context. Here's how they work:
- Start typing a query. JQL Smart Values suggest fields related to your JQL query language.
- Press the 'Tab' key or use arrow keys to navigate through the suggestions.
- Press 'Enter' to select the suggestion or continue typing to refine your selection.
JQL Smart Values Limitations
While JQL Smart Values are quite powerful, they have some limitations. They don't support:
- Custom fields or fields from shared schemes.
- Suggestions inside quotes, parentheses, or brackets.
- Suggestions for query operators like AND, OR, or parenthesis.
Practical Applications of JQL Smart Values
JQL Smart Values shine when used for complex issue searches. Here's how you can leverage them in your daily work:
Filtering by assignee
JQL Smart Values autofill assignee fields, making it easier to filter issues by the team member assigned to them.
The query: `assignee = "J` will autofill to `assignee = "John Doe"` once you press the 'Tab' key, saving you typing efforts.
Sorting issues
You can also sort issues directly in the JQL filter bar using Smart Values. For instance, typing `order by prio` will autosuggest `order by priority`, helping you sort issues based on their priority quickly.
Incorporating JQL Smart Values into your Jira workflow can elevate your productivity and enable you to harness the power of JQL for better issue management. Start exploring and customizing your Jira experience today!