Understanding Jira Query Language (JQL):
JQL is your tool for asking Jira questions and getting precise answers. Here are some simple examples:
Basic JQL Queries:
- Simple Text Search:
- To find issues with specific words, use:
text ~ “documentation”
Filter by Issue Type:
- Focus on a specific type of issue, like bugs:
issueType = Bug
Filter by Project:
- Look at issues from a particular project:
project = “PROJ”
Advanced JQL Queries:
Combining Conditions:
- Mix conditions with “AND,” “OR” and “NOT”:
project = “PROJ” AND issuetype = Bug AND status = Open
Date Range Queries:
- Find issues within a timeframe:
created >= “2023-01-01” AND created <= “2023-12-31”
User-Specific Queries:
- Search for issues assigned to you:
assignee = currentUser() AND status = “In Progress”
Using JQL in Jira:
- Basic Search:
- Type your JQL query in the search bar for quick results.
- Advanced Searching:
- Go to “Search for Issues” and switch to the “Advanced” tab for detailed queries.
- Saving Filters:
- Save favorite queries as filters for easy access.
Best Practices for JQL Queries:
- Use Autocomplete:
- Let Jira suggest and complete your queries.
- Experiment and Learn:
- Try different clauses and see what works for you.
- Combine with Dashboards:
- Integrate JQL queries into dashboards for real-time updates.