Jira Query Language (JQL) is a powerful tool used to search and manage issues within Jira. Mastering JQL can streamline project management by allowing advanced queries, creating filters, and automating tasks for reporting. This quiz will test your knowledge of writing basic and advanced JQL queries, using filters, and leveraging JQL for reporting.
MCQs on Jira Query Language (JQL)
Writing Basic and Advanced JQL Queries
What does the following JQL query do? project = "Software" AND status = "Open" a) Returns all issues in the Software project that are open b) Returns all issues in the Software project regardless of their status c) Returns issues with a status of “Open” d) Returns issues from any project that are open
Which keyword is used to fetch issues assigned to a particular user in JQL? a) user b) assignee c) assigned d) owner
In JQL, which operator is used to find issues created before a specific date? a) >= b) < c) != d) before
How can you find issues that have been updated within the last 7 days in JQL? a) updated >= -7d b) updated = -7d c) updated <= 7d d) updated <= -7d
What is the function of the OR operator in a JQL query? a) It allows searching issues with multiple statuses b) It helps to find issues assigned to multiple users c) It joins multiple conditions to narrow down results d) It retrieves only issues that match all conditions
Which of the following is the correct way to find issues that were resolved in the last week? a) resolved >= -1w b) resolved = -1w c) resolved <= -1w d) resolved within -1w
How do you specify a JQL query to return issues with a specific priority? a) priority = High b) priority = "High" c) priority = "High Priority" d) priority == High
In JQL, what does the function issuetype in ("Bug", "Story") return? a) Issues of the type “Bug” and “Story” b) Issues with a bug priority c) All issues excluding “Bug” and “Story” types d) Only “Story” issues
Which of the following operators can be used in JQL to match issues by a list of values? a) IN b) BETWEEN c) LIKE d) IS
Which of these is a valid JQL function to search for issues reported by a specific user? a) reporter = "John Doe" b) createdBy = "John Doe" c) reportedBy = "John Doe" d) submitter = "John Doe"
Using Filters and Automation with JQL
How can you save the result of a JQL query for future use? a) Create a custom dashboard b) Create a filter c) Create an issue type d) Create a new project
What is the benefit of using JQL filters in automation rules? a) Automating user permission settings b) Automating issue resolutions c) Automating notifications and transitions d) Automating project creation
How do you share a saved filter with other users in Jira? a) Go to filter settings and select “Share” b) Send the filter link manually c) Export the filter as a CSV file d) Filters are always public
Which Jira user permissions are required to create a filter? a) Project Admin b) Jira Admin c) Browse Projects permission d) View Issues permission
Which keyword in JQL can be used to check for issues with no assignee? a) assignee is EMPTY b) assignee = NULL c) assignee NOT IN ("") d) assignee = "Unassigned"
How can JQL be used to automate assigning issues to specific users? a) Set up an Automation Rule based on a filter b) Use the Bulk Edit feature c) Write a script for issue assignment d) Set up an approval workflow
Which type of automation rule can use JQL to trigger actions? a) Issue Created b) Issue Updated c) Custom Rule d) All of the above
In Jira, which feature allows you to trigger actions based on JQL queries and conditions? a) Automation for Jira b) Issue Transition Rules c) Workflow Schemes d) Permission Schemes
How do you trigger a JQL-based filter in Jira automation to send notifications? a) Use JQL as a trigger condition for actions b) Use a condition in the workflow c) Use an event-based rule d) Set the filter as the project lead
What is the function of the Jira Automation Rules in relation to JQL? a) It allows running queries manually b) It automatically runs queries and triggers actions c) It sends email notifications based on queries d) It creates new issues automatically
Leveraging JQL for Reporting
How can you create a JQL report for issues assigned to a user in the last 30 days? a) assignee = "John Doe" AND created >= -30d b) assignee = "John Doe" AND updated >= -30d c) assignee = "John Doe" AND createdDate >= -30d d) assignee = "John Doe" AND resolved >= -30d
Which of the following does a JQL-based report for issues in a project with status “Done” provide? a) Issues from the selected project that are completed b) Issues from any project marked as done c) Unresolved issues from the selected project d) Pending tasks from the project
How can you generate a report of issues based on a custom field in JQL? a) customfield_12345 = value b) field = "custom field" c) customfield_12345 IN ("value") d) field = custom field
What is a benefit of using JQL filters for generating custom reports in Jira? a) Reports can be exported as CSV files b) Reports automatically refresh with real-time data c) Reports can be customized based on user roles d) All of the above
How can you use JQL to generate a report for high-priority unresolved issues? a) priority = High AND status != Resolved b) priority = High AND resolution = NULL c) priority = High AND status = Open d) priority = High AND resolved = NULL
What type of data can you extract using JQL for reporting purposes? a) Issue status b) Issue history c) Issue comments d) All of the above
How can JQL-based reports help in visualizing project progress? a) Through the creation of dashboards b) By generating detailed issue timelines c) By categorizing issues by priority d) All of the above
What is a common use case for JQL filters in reporting? a) Tracking overdue tasks b) Monitoring team performance c) Visualizing open versus closed issues d) All of the above
Which JQL query would show all issues that were resolved this week? a) resolved >= startOfWeek() b) resolved = -7d c) resolved <= startOfWeek() d) resolved >= endOfWeek()
How can you use JQL to create reports based on issue comments? a) comment ~ "keyword" b) comment = "keyword" c) comments = "keyword" d) comment contains "keyword"
Answer Key
Qno
Answer (Option with Text)
1
a) Returns all issues in the Software project that are open
2
b) assignee
3
b) <
4
a) updated >= -7d
5
a) It allows searching issues with multiple statuses
6
a) resolved >= -1w
7
b) priority = "High"
8
a) Issues of the type “Bug” and “Story”
9
a) IN
10
a) reporter = "John Doe"
11
b) Create a filter
12
c) Automating notifications and transitions
13
a) Go to filter settings and select “Share”
14
c) Browse Projects permission
15
a) assignee is EMPTY
16
a) Set up an Automation Rule based on a filter
17
d) All of the above
18
a) Automation for Jira
19
a) Use JQL as a trigger condition for actions
20
b) It automatically runs queries and triggers actions
21
a) assignee = "John Doe" AND created >= -30d
22
a) Issues from the selected project that are completed