JQL Tricks plugin enhances the search functionality in Jira Cloud by adding a set of useful JQL aliases that can be used in JQL queries. These aliases are similar to the standard JQL fields in Jira and duplicates the functionality of complex JQL functions in the Jira DC version.
The plugin offers the aliases under the namespace jqlt and provides an intuitive way of using the functions in Jira's advanced searching. These aliases are first class citizens in Jira and can be used in filters, dashboards, rapid boards etc. You can simply start typing jqlt to get a list of available functions, as shown below.
Following are the full list of aliases along with their syntax and examples.
Link Functions & Aliases
Attachment Functions & Aliases
Comment Functions & Aliases
Worklog Functions & Aliases
Subtask Functions & Aliases
Parent Aliases
History Aliases
Affects Versions Functions & Aliases
Fix Version Functions & Aliases
Agile Aliases
Component Functions & Aliases
Group Functions
Issue Functions
Link Functions & Aliases
JQL Tricks App add JQL functions and aliases to support searching based on links.
JQL Functions
linkedAllIssues(issueKey,[linkType])
Function to find all issues linked to a given issue and optionally for a link type. Native Jira only retrieves the immediate links whereas this one traverses the entire tree and retrieves all the directly and indirectly linked issues.
Usage/Examples:
issue in linkedAllIssues("TST-123") - Returns all the issues directly and indirectly linked to TST-123
issue in linkedAllIssues("TST-123", "duplicated by") - Returns all the issues directly and indirectly duplicated by TST-123. i.e. if there is TST-234 duplicated by TST-123 and TST-345 duplicated by TST-234, both TST-234 and TST-345 will be returned as search results.
linkedIssuesByDepth(issueKey,depth,[linkType])
Same as above but only to the depth specified.
Usage/Examples:
issue in linkedIssuesByDepth("TST-123", 2) - Returns all the issues directly and indirectly linked to TST-123 up to the 2nd level in the tree
issue in linkedIssuesByDepth("TST-123", 2, "duplicated by") - Returns all the issues directly and indirectly duplicated by TST-123 up to the 2nd level in the tree
issue in linkedIssuesByDepth("TST-123", 2, "cloned by") - Returns no issues if nothing is cloned within 2 hops
linkedIssuesInQuery(jqlQuery,[linkType])
Function to find all issues that has got linked issues with issues satisfying a JQL query. Optionally you can limit the search to a link type. Use '\' to escape double quotes for complex queries.
Usage/Examples:
issue in linkedIssuesInQuery("status = Open") - Returns all the issues that are linked to Open issues
issue in linkedIssuesInQuery("status = Open", "is blocked by") - Returns all the issues that are blocked by Open issues
issue in linkedIssuesInQuery("status = "In Progress"", "is blocked by") - Returns all the issues that are blocked by issues in "In Progress" status
linkedIssuesInFilter(filterId,[linkType])
Function to find all issues that has got linked issues with issues satisfying a Filter. Optionally you can limit the search to a link type.
Usage/Examples:
issue in linkedIssuesInFilter("10000") - Returns all the issues that are linked to issues in filter with id 10000
issue in linkedIssuesInFilter("10100", "is blocked by") - Returns all the issues that are blocked by issues in filter with id 10100
hasLinks([count],[linkType],[query])
Function to find all issues that has links and optionally for a count, link type or matching a query.
Usage/Examples:
issue in hasLinks() - Returns all the issues with at least one link (inward or outward)
issue in hasLinks(1) - Returns all the issues with exactly one link (inward or outward)
issue in hasLinks("blocks") - Returns all the issues with "blocks" link
issue in hasLinks("project = DEMO") - Returns all the issues in DEMO project with at least one link (inward or outward)
issue in hasLinks("1", "blocks") - Returns all the issues with exactly one "blocks" link
issue in hasLinks("1", "project = DEMO") - Returns all the issues in DEMO project with exactly one link
issue in hasLinks("blocks", "project = DEMO") - Returns all the issues in DEMO project with "blocks" link
issue in hasLinks("1", "blocks", "project = DEMO") - Returns all the issues in DEMO project with exactly one "blocks" link
hasRemoteLinks([count])
Function to find all issues that has remote links and optionally for a count. Works similar to hasLinks.
Usage/Examples:
issue in hasRemoteLinks() - Returns all the issues with at least one remote link
issue in hasRemoteLinks(2) - Returns all the issues with exactly 2 remote links
JQL aliases
Following are the JQL aliases used to search issues based on the issue links and they start with the prefix jqlt.links.
jqlt.links.count [Operator] [number]
Alias to find issues based on the number of links.
jqlt.links.count = 0 - Returns all issues without any issue links
jqlt.links.count > 3 - Returns all issues with more than 3 issue links
jqlt.links.type [Operator] [issue link type]
Alias to find issues that has a given issue link type.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.links.type = "is blocked by" - Returns all issues that has at least one issue link of type "is blocked by"
jqlt.links.type in ("is blocked by", "clones") - Returns all issues that has at least one issue link of type "is blocked by" OR "clones"
jqlt.links.type = "is blocked by" AND jqlt.links.type = "clones" - Returns all issues that has at least one issue link of both type "is blocked by" AND "clones"
jqlt.links.issue [Operator] [issueKey]
Alias to find issues that are linked to a given issue.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.links.issue = "JTRICKS-11" - Returns all issues that are linked to JTRICKS-11
jqlt.links.issue in ("JTRICKS-11", "JTRICKS-12") - Returns all issues that are linked to JTRICKS-11 OR JTRICKS-12
jqlt.links.issue = "JTRICKS-11" AND jqlt.links.issue = "JTRICKS-12" - Returns all issues that are linked to JTRICKS-11 AND JTRICKS-12
jqlt.links.status [Operator] [issue status]
Alias to find issues that has linked issues in a given status.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.links.status = "Open" - Returns all issues that are linked to issues in "Open" status
jqlt.links.status in ("Open", "In Progress") - Returns all issues that are linked to issues in "Open" OR "In Progress" status
jqlt.links.statusCategory [Operator] [issue status Category]
Alias to find issues that has linked issues in a given status category.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.links.statusCategory = "To Do" - Returns all issues that are linked to issues in "To Do" status category
jqlt.links.statusCategory in ("To Do", "In Progress") - Returns all issues that are linked to issues in "To Do" OR "In Progress" status category
jqlt.links.priority [Operator] [issue priority]
Alias to find issues that has linked issues in a given priority.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.links.priority = "Major" - Returns all issues that are linked to issues with priority "Major"
jqlt.links.priority in ("Major", "Blocker") - Returns all issues that are linked to issues with "Major" OR "Blocker" priority
jqlt.links.issuetype [Operator] [issue type]
Alias to find issues that has linked issues of a given issue type.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.links.issuetype = "Bug" - Returns all issues that are linked to Bugs
jqlt.links.issuetype in ("Bug", "Story") - Returns all issues that are linked to Bugs or Stories
jqlt.links.project [Operator] [projectKey]
Alias to find issues that has linked issues in a given project.
jqlt.links.project = "JTRICKS" - Returns all issues that are linked to issues in project with key "JTRICKS"
jqlt.links.project in ("JTRICKS", "DEMO") - Returns all issues that are linked to issues in project with key "JTRICKS" OR "DEMO"
Attachment Functions & Aliases
JQL Tricks App add JQL functions and aliases to support searching based on attachments.
JQL Functions
hasAttachments([count],[operator])
Function to find issues based on the number of attachments. It can take two optional arguments, a count and an operator. Supported operators: "<", "<=", "=", "!=", ">", ">=".
Usage/Examples:
issue in hasAttachments() - Returns all the issues with at least one attachment
issue in hasAttachments("2") - Returns all the issues with exactly 2 attachments
issue in hasAttachments("2", ">=") - Returns all the issues with 2 or more attachments
issue in hasAttachments("3", "<") - Returns all the issues with fewer than 3 attachments
attachedByUser(user)
Function to find issues on which attachments were added by a specific user. The user is required and can be an accountId, email or display name. currentUser() is not supported on Cloud.
Usage/Examples:
issue in attachedByUser("someguy") - Returns all the issues with an attachment added by someguy
issue in attachedByUser("[email protected]") - Returns all the issues with an attachment added by that user
JQL Aliases Following are the JQL aliases used to search issues based on the attachments and they start with the prefix jqlt.attachments.
jqlt.attachments.count [Operator] [number]
Alias to find issues based on the number of attachments.
jqlt.attachments.count = 0 - Returns all issues without any attachments
jqlt.attachments.count > 3 - Returns all issues with more than 3 attachments
jqlt.attachments.createdFirst [Operator] [date]
Alias to find issues based on the date when an attachment was first created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.
jqlt.attachments.createdFirst = "2021-01-06" - Returns all issues with its first attachment created on 2021-01-06
jqlt.attachments.createdFirst >= -3w - Returns all issues where the attachment was first created in the last 3 weeks
jqlt.attachments.createdLast [Operator] [date]
Alias to find issues based on the date when an attachment was last created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.
jqlt.attachments.createdLast = "2021-01-06" - Returns all issues with its last attachment created on 2021-01-06
jqlt.attachments.createdLast >= -3w - Returns all issues where the attachment was last created in the last 3 weeks
jqlt.attachments.createdOn [Operator] [date]
Alias to find issues based on the date when an attachment was created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.
jqlt.attachments.createdOn = "2021-01-06" - Returns all issues with an attachment created on 2021-01-06
jqlt.attachments.createdOn >= -3w - Returns all issues where an attachment was created in the last 3 weeks
jqlt.attachments.createdOn in ("2021-01-06", "2021-01-07") - Returns all issues where an attachment was created on 2021-01-06 OR on 2021-01-07
jqlt.attachments.type [Operator] [file type]
Alias to find issues based on the type of an attachment on the issue. Supports all standard attachment types.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.attachments.type = "png" - Returns all issues with a PNG attachment created on them
jqlt.attachments.type in ("png", "doc") - Returns all issues with a PNG or DOC attachment created on them
jqlt.attachments.name [Operator] [file name]
Alias to find issues based on the name of an attachment on the issue.
Supported Operators : "~", "!~"
Usage/Examples:
jqlt.attachments.name ~ "test" - Returns all issues with attachments that has "test" in its name
jqlt.attachments.name !~ "test" - Returns all issues with attachments that do not have "test" in its name
jqlt.attachments.author [Operator] [user]
Alias to find issues based on the author of an attachment on the issue. Use the user id or pick the user from the suggestions
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.attachments.author = "userId" - Returns all issues that has attachments created by "userId"
jqlt.attachments.author in ("userId1", "userId2") - Returns all issues that has attachments created by "userId1" OR "userId2"
Comment Functions & Aliases
JQL Tricks App add JQL functions and aliases to support searching based on comments.
JQL Functions
commentedByUser(user,[action])
Function to find issues commented by a specific user. The user is required and can be an accountId, email or display name. currentUser() is not supported on Cloud. Action can be CREATE or UPDATE and is CREATE by default. When UPDATE is provided, it finds issues where a comment was updated by that user.
Usage/Examples:
issue in commentedByUser("someguy") - Returns all the issues commented by someguy
issue in commentedByUser("[email protected]") - Returns all the issues commented by that user
issue in commentedByUser("someguy", "UPDATE") - Returns all the issues where a comment was updated by someguy
commentedOnDate(date,[user],[action])
Function to find issues commented on a specific date. You can also pass an optional user to find issues commented by that user on that date. The user can be an accountId, email or display name. currentUser() is not supported on Cloud. Action can be CREATE or UPDATE and is CREATE by default. When UPDATE is provided, it finds issues where a comment was updated on that date.
Usage/Examples:
issue in commentedOnDate("2026/10/28") - Returns all the issues commented on 28 October 2026
issue in commentedOnDate("-1d") - Returns all the issues commented 1 day ago
issue in commentedOnDate("2026/10/28", "someguy") - Returns all the issues commented by someguy on 28 October 2026
issue in commentedOnDate("2026/10/28", "UPDATE") - Returns all the issues where a comment was updated on 28 October 2026
issue in commentedOnDate("2026/10/28", "someguy", "UPDATE") - Returns all the issues where a comment was updated by someguy on 28 October 2026
commentedAfterDate(date,[user],[action])
Function to find issues commented on or after a specific date. You can also pass an optional user to find issues commented by that user on or after that date. The user can be an accountId, email or display name. currentUser() is not supported on Cloud. Action can be CREATE or UPDATE and is CREATE by default. When UPDATE is provided, it finds issues where a comment was updated on or after that date.
Usage/Examples:
issue in commentedAfterDate("2026/10/01") - Returns all the issues commented on or after 1 October 2026
issue in commentedAfterDate("-1w") - Returns all the issues commented in the last week
issue in commentedAfterDate("2026/10/01", "[email protected]") - Returns all the issues commented by that user on or after 1 October 2026
issue in commentedAfterDate("2026/10/01", "someguy", "UPDATE") - Returns all the issues where a comment was updated by someguy on or after 1 October 2026
commentedBeforeDate(date,[user],[action])
Function to find issues commented on or before a specific date. You can also pass an optional user to find issues commented by that user on or before that date. The user can be an accountId, email or display name. currentUser() is not supported on Cloud. Action can be CREATE or UPDATE and is CREATE by default. When UPDATE is provided, it finds issues where a comment was updated on or before that date.
Usage/Examples:
issue in commentedBeforeDate("2026/10/01") - Returns all the issues commented on or before 1 October 2026
issue in commentedBeforeDate("-30d") - Returns all the issues commented more than 30 days ago
issue in commentedBeforeDate("2026/10/01", "someguy") - Returns all the issues commented by someguy on or before 1 October 2026
issue in commentedBeforeDate("2026/10/01", "UPDATE") - Returns all the issues where a comment was updated on or before 1 October 2026
Date arguments accept the yyyy/MM/dd or yyyy-MM-dd format (for example "2026/10/28"), or a relative date such as "-1d" (1 day ago) or "-2w" (2 weeks ago). Supported relative units are w (weeks), d (days), h (hours) and m (minutes). Functions that search on a single day (commentedOnDate, workLoggedOn, workUpdatedOn) accept relative dates in days or weeks only.
JQL Aliases
Following are the JQL aliases used to search issues based on the comments and they start with the prefix jqlt.comments.
jqlt.comments.count [Operator] [number]
Alias to find issues based on the number of comments.
jqlt.comments.count = 0 - Returns all issues without any comments
jqlt.comments.count >= 3 - Returns all issues with more than 3 comments
jqlt.comments.createdFirst [Operator] [date]
Alias to find issues based on the date when a comment was first created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.
jqlt.comments.createdFirst = "2021-01-06" - Returns all issues with its first comment created on 2021-01-06
jqlt.comments.createdFirst >= -3w - Returns all issues where the comment was first created in the last 3 weeks
jqlt.comments.createdLast [Operator] [date]
Alias to find issues based on the date when a comment was last created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.
jqlt.comments.updatedOn = "2021-01-06" - Returns all issues with a comment updated on 2021-01-06
jqlt.comments.updatedOn >= -3w - Returns all issues where a comment was updated in the last 3 weeks
jqlt.comments.updatedOn in ("2021-01-06", "2021-01-07") - Returns all issues where a comment was updated on 2021-01-06 OR on 2021-01-07
jqlt.comments.updatedBy [Operator] [user]
Alias to find issues based on the updator of a comment on the issue. Use the user id or pick the user from the suggestions
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.comments.updatedBy = "userId" - Returns all issues that has comments updated by "userId"
jqlt.comments.updatedBy in ("userId1", "userId2") - Returns all issues that has comments updated by "userId1" OR "userId2"
Worklog Functions & Aliases
JQL Tricks App add JQL functions and aliases to support searching based on comments.
JQL Functions
workLoggedBy(user)
Function to find issues on which work was logged by a specific user. The user is required and can be an accountId, email or display name. currentUser() is not supported on Cloud. Groups are not supported. Usage/Examples:
issue in workLoggedBy("someguy") - Returns all the issues on which work was logged by someguy
issue in workLoggedBy("[email protected]") - Returns all the issues on which work was logged by that user
workLoggedOn(date,[user])
Function to find issues on which work was logged on a specific date. The date is the day the worklog was created. You can also pass an optional user to find issues on which that user logged work on that date. The user can be an accountId, email or display name. currentUser() is not supported on Cloud.
Usage/Examples:
issue in workLoggedOn("2026/10/28") - Returns all the issues on which work was logged on 28 October 2026
issue in workLoggedOn("-1d") - Returns all the issues on which work was logged 1 day ago
issue in workLoggedOn("2026/10/28", "someguy") - Returns all the issues on which someguy logged work on 28 October 2026
workUpdatedOn(date,[user])
Function to find issues on which a worklog was updated on a specific date. You can also pass an optional user to find issues on which that user updated a worklog on that date. The user can be an accountId, email or display name. currentUser() is not supported on Cloud. A worklog that was never edited counts as updated on the day it was created.
Usage/Examples:
issue in workUpdatedOn("2026/10/28") - Returns all the issues on which a worklog was updated on 28 October 2026
issue in workUpdatedOn("-1d") - Returns all the issues on which a worklog was updated 1 day ago
issue in workUpdatedOn("2026/10/28", "[email protected]") - Returns all the issues on which that user updated a worklog on 28 October 2026
workLoggedAfter(date,[user])
Function to find issues on which work was logged on or after a specific date. You can also pass an optional user to find issues on which that user logged work on or after that date. The user can be an accountId, email or display name. currentUser() is not supported on Cloud.
Usage/Examples:
issue in workLoggedAfter("2026/10/01") - Returns all the issues on which work was logged on or after 1 October 2026
issue in workLoggedAfter("-1w") - Returns all the issues on which work was logged in the last week
issue in workLoggedAfter("2026/10/01", "someguy") - Returns all the issues on which someguy logged work on or after 1 October 2026
workLoggedBetween(startDate,endDate,[user])
Function to find issues on which work was logged between two dates. The start date is included and the end date is excluded. You can also pass an optional user to find issues on which that user logged work between those dates. The user can be an accountId, email or display name. currentUser() is not supported on Cloud.
Usage/Examples:
issue in workLoggedBetween("2026/10/01", "2026/11/01") - Returns all the issues on which work was logged in October 2026
issue in workLoggedBetween("-2w", "-1w") - Returns all the issues on which work was logged between 2 weeks and 1 week ago
issue in workLoggedBetween("2026/10/01", "2026/11/01", "someguy") - Returns all the issues on which someguy logged work in October 2026
JQL Aliases
Following are the JQL aliases used to search issues based on the worklogs and they start with the prefix jqlt.worklogs.
jqlt.worklogs.count [Operator] [number]
Alias to find issues based on the number of worklogs.
jqlt.worklogs.count = 0 - Returns all issues without any worklogs
jqlt.worklogs.count > 3 - Returns all issues with more than 3 worklogs
jqlt.worklogs.createdFirst [Operator] [date]
Alias to find issues based on the date when a worklog was first created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.
jqlt.worklogs.createdFirst = "2021-01-06" - Returns all issues with its first worklog created on 2021-01-06
jqlt.worklogs.createdFirst >= -3w - Returns all issues where the worklog was first created in the last 3 weeks
jqlt.worklogs.createdLast [Operator] [date]
Alias to find issues based on the date when a worklog was last created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.
jqlt.worklogs.updatedOn = "2021-01-06" - Returns all issues with a worklog updated on 2021-01-06
jqlt.worklogs.updatedOn >= -3w - Returns all issues where a worklog was updated in the last 3 weeks
jqlt.worklogs.updatedOn in ("2021-01-06", "2021-01-07") - Returns all issues where a worklog was updated on 2021-01-06 OR on 2021-01-07
jqlt.worklogs.updatedBy [Operator] [user]
Alias to find issues based on the updator of a worklog on the issue. Use the user id or pick the user from the suggestions
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.worklogs.updatedBy = "userId" - Returns all issues that has worklogs updated by "userId"
jqlt.worklogs.updatedBy in ("userId1", "userId2") - Returns all issues that has worklogs updated by "userId1" OR "userId2"
Subtask Functions & Aliases
JQL Tricks App add JQL functions and aliases to support searching based on subtasks.
JQL Functions
hasSubtasks([count],[subtaskType],[query])
Function to find issues that have subtasks and optionally for a count, subtask type or matching a query.
Usage/Examples:
issue in hasSubtasks() - Returns all the issues with at least one subtask
issue in hasSubtasks(2) - Returns all the issues with exactly 2 subtasks
issue in hasSubtasks("Support Task") - Returns all the issues with a "Support Task" subtask
issue in hasSubtasks("project = DEMO") - Returns all the issues in DEMO project with at least one subtask
issue in hasSubtasks("2", "Support Task") - Returns all the issues with exactly 2 "Support Task" subtasks
issue in hasSubtasks("2", "project = DEMO") - Returns all the issues in DEMO project with exactly 2 subtasks
issue in hasSubtasks("Support Task", "project = DEMO") - Returns all the issues in DEMO project with a "Support Task" subtask
issue in hasSubtasks("2", "Support Task", "project = DEMO") - Returns all the issues in DEMO project with exactly 2 "Support Task" subtasks
subtask(query)
Function to find parent issues that have at least one subtask matching a query. The query is required and must restrict the project, for example project = DEMO or project in (DEMO, TEST). The query cannot use currentUser(). The query can match up to 1000 subtasks. Results are refreshed hourly.
Usage/Examples:
issue in subtask("project = DEMO AND status = Open") - Returns all the issues in DEMO that have an open subtask
issue in subtask("project = DEMO AND assignee = someguy") - Returns all the issues in DEMO that have a subtask assigned to someguy
issue not in subtask("project = DEMO AND status != Done") - Returns all the issues that have no unfinished subtask in DEMO
JQL Aliases
Following are the JQL aliases used to search issues based on the subtasks and they start with the prefix jqlt.subtasks.
jqlt.subtasks.count [Operator] [number]
Alias to find issues based on the number of subtasks.
Alias to find issues that has subtasks in a given priority.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.subtasks.priority = "Major" - Returns all issues that has subtasks with priority "Major"
jqlt.subtasks.priority in ("Major", "Blocker") - Returns all issues that has subtasks with "Major" OR "Blocker" priority
jqlt.subtasks.issuetype [Operator] [issue type]
Alias to find issues that has subtasks of a given issue type.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.subtasks.issuetype = "Sub-task" - Returns all issues that has Sub-task subtasks
jqlt.subtasks.issuetype in ("Sub-task", "Technical Task") - Returns all issues that are linked to Sub-task or "Technical Task" subtasks
Parent Aliases
These are JQL aliases used to search issues based on their parent issues and starts with jqlt.parent. Following is the full list of parent aliases, along with examples.
jqlt.parent.summary [Operator] [parent summary]
Alias to find subtasks based on the summary of its parent issue.
Supported Operators : "~", "!~"
Usage/Examples:
jqlt.parent.summary ~ "test" - Returns all subtasks that has "test" in its parent issue's summary
jqlt.parent.summary !~ "test" - Returns all issues with subtasks that do not have "test" in its parent issue's summary
jqlt.parent.status [Operator] [issue status]
Alias to find subtasks that has its parent issue in a given status.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.parent.status = "Open" - Returns all subtasks that has its parent issue in "Open" status
jqlt.parent.status in ("Open", "In Progress") - Returns all subtasks that has its parent issue in "Open" OR "In Progress" status
jqlt.parent.statusCategory [Operator] [issue status Category]
Alias to find subtasks that has its parent issue in a given status category.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.parent.statusCategory = "To Do" - Returns all subtasks that has its parent issue in "To Do" status category
jqlt.parent.statusCategory in ("To Do", "In Progress") - Returns all subtasks that has its parent issue in "To Do" OR "In Progress" status category
jqlt.parent.priority [Operator] [issue priority]
Alias to find subtasks that has its parent issue in a given priority.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.parent.priority = "Major" - Returns all subtasks that has its parent issue with priority "Major"
jqlt.parent.priority in ("Major", "Blocker") - Returns all subtasks that has its parent issue with "Major" OR "Blocker" priority
jqlt.parent.issuetype [Operator] [issue type]
Alias to find subtasks that has its parent issue of a given issue type.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.parent.issuetype = "Bug" - Returns all subtasks of Bugs
jqlt.parent.issuetype in ("Bug", "Story") - Returns all subtasks of Bugs and Stories
History Aliases
These are JQL aliases used to search issues based on their history and starts with jqlt.history. Following is the full list of history aliases, along with examples.
jqlt.history.field [Operator] [field name]
Alias to find issues where a given field has changed.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.history.field = "assignee" - Returns all issues where the assignee was changed
jqlt.history.field in ("assignee", "reporter") - Returns all issues where the assignee OR reporter was changed
jqlt.history.field = "project" - Returns all issues that were moved from one project to another
Alias to find issues that were changed to a given issuetype.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.history.issuetype.to = "Bug" - Returns all issues that were previously a different issuetype but was changed to Bug
jqlt.history.issuetype.to in ("Bug", "Story") - Returns all issues that were previously a different issuetype but was changed to Bug OR Story
jqlt.history.updatedBy [Operator] [user]
Alias to find issues that were changed by a given user. Use the user id or pick the user from the suggestions.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.history.updatedBy = "user1" - Returns all issues that were updated by user1
jqlt.history.updatedBy in ("user1", "user2") - Returns all issues that were updated by user1 OR user2
jqlt.history.lastUpdatedBy [Operator] [user]
Alias to find issues that were last changed by a given user. Use the user id or pick the user from the suggestions.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.history.lastUpdatedBy = "user1" - Returns all issues that were last updated by user1
jqlt.history.lastUpdatedBy in ("user1", "user2") - Returns all issues that were last updated by user1 OR user2
jqlt.history.lastTransitionedBy [Operator] [user]
Alias to find issues that were last transitioned by a given user. Use the user id or pick the user from the suggestions.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.history.lastTransitionedBy = "user1" - Returns all issues that were last transitioned by user1
jqlt.history.lastTransitionedBy in ("user1", "user2") - Returns all issues that were last transitioned by user1 OR user2
jqlt.history.updatedOn [Operator] [date]
Alias to find issues that were updated on a given date. Date should be in yyyy-mm-dd format. Supports relative dates as well.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.history.updatedOn = "2021-01-06" - Returns all issues that were updated on 2021-01-06
jqlt.history.updatedOn >= -3w - Returns all issues that were updated in the last 3 weeks
Affects Versions Functions & Aliases
JQL Tricks App add JQL functions and aliases to support searching based on affects version field.
JQL Functions
hasVersions([count],"affectedVersion")
Function to find issues that have versions. By default, the function searches fixVersions. Pass affectedVersion to search affected versions. You can also pass an optional count to find issues that have the exact number of affected versions. Version custom fields are not supported on Cloud.
Usage/Examples:
issue in hasVersions("affectedVersion") - Returns all the issues with at least one affectedVersion
issue in hasVersions(3, "affectedVersion") - Returns all the issues with exactly 3 affectedVersions
JQL Aliases
Following are the JQL aliases used to search issues based on the affects versions and they start with the prefix jqlt.affectsversions.
jqlt.affectsversions.count [Operator] [number]
Alias to find issues with a given number of affects versions.
Alias to find issues with at least one overdue affects version.
Supported Operators : "=", "!="
Usage/Examples:
jqlt.affectsversions.overdue = true - Returns all issues with at least one overdue affects version
jqlt.affectsversions.overdue = false - Returns all issues that do not have any overdue affects version
Fix Version Functions & Aliases
JQL Tricks App add JQL functions and aliases to support searching based on fix version field.
JQL Functions
hasVersions([count])
Function to find issues that have versions. By default, the function searches fixVersions. Pass affectedVersion to search affected versions. You can also pass an optional count to find issues that have the exact number of versions. Version custom fields are not supported on Cloud.
Usage/Examples:
issue in hasVersions("") - Returns all the issues with at least one fixVersion
issue in hasVersions(3) - Returns all the issues with exactly 3 fixVersions
JQL Aliases
Following are the JQL aliases used to search issues based on the fix versions and they start with the prefix jqlt.fixversions.
jqlt.fixversions.count [Operator] [number]
Alias to find issues with a given number of affects versions.
jqlt.fixversions.releasedOn = "2021-01-06" - Returns all issues that has at least one fix version that released on 2021-01-06
jqlt.fixversions.releasedOn > -3w - Returns all issues that has at least one fix version that released in the last 3 weeks
jqlt.fixversions.overdue [Operator] [true/false]
Alias to find issues with at least one overdue fix version.
Supported Operators : "=", "!="
Usage/Examples:
jqlt.fixversions.overdue = "true" - Returns all issues with at least one overdue fix version
jqlt.fixversions.overdue = "false" - Returns all issues that do not have any overdue fix version
Agile Aliases
These are JQL aliases used to search issues based on their Epic data and Epics based on their issue data. These aliases starts with jqlt.agile. Following is the full list of agile aliases, along with examples.
jqlt.agile.issueCount [Operator] [number]
Alias to find Epics with a given number of issues under it.
Alias to find issues that has an Epic in a given status category.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.agile.epicStatusCategory = "To Do" - Returns all issues that has an Epic in "To Do" status category
jqlt.agile.epicStatusCategory in ("To Do", "In Progress") - Returns all issues that has an Epic in "To Do" OR "In Progress" status category
jqlt.agile.epicPriority [Operator] [Priority]
Alias to find issues that has an Epic with a given priority.
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.agile.epicPriority = "Major" - Returns all issues that has an Epic with "Major" priority
jqlt.agile.epicPriority in ("Major", "Blocker") - Returns all issues that has an Epic with "Major" OR "Blocker" priority
Component Functions & Aliases
JQL Tricks App add JQL functions and aliases to support searching based on components.
JQL Functions
hasComponents([count])
Function to find issues that have components. You can also pass an optional count to find issues that have the exact number of components.
Usage/Examples:
issue in hasComponents() - Returns all the issues with at least one component
issue in hasComponents(3) - Returns all the issues with exactly 3 components
componentLeads(projectOrComponent) Function to find users that are component leads. Pass a project key to find the leads of all components in that project, or a component id to find the lead of that component. It can be used with any user field, such as assignee, reporter or a user custom field. Component leads are refreshed hourly, so recent changes can take up to an hour to show.
Usage/Examples:
assignee in componentLeads("DEMO") - Returns all the issues assigned to a component lead of the DEMO project
reporter in componentLeads("10001") - Returns all the issues reported by the lead of the component with id 10001
JQL Aliases
Following are the JQL aliases used to search issues based on the components and they start with the prefixjqlt.components.
jqlt.components.count [Operator] [number]
Alias to find issues with a given number of components.
jqlt.components.count = 0 - Returns all issues that doesn't have any components
jqlt.components.count > 3 - Returns all issues that has more than 3 components
jqlt.components.leads [Operator] [user]
Alias to find the issues that has components with a given component lead. Use the user id or pick the user from the suggestions
Supported Operators : "=", "!=", "in", "not in"
Usage/Examples:
jqlt.components.leads = "user1" - Returns the issues that has a component with lead "user1"
jqlt.components.leads in ("user1", "user2") - Returns the issues that has a component with lead "user1" OR "user2"
Group Functions
Following are the Group JQL functions in JQL Tricks
groupsOfUser(user)
Return Type: GROUP
Function to find issues based on groups of a specific user. Use it with a group picker custom field. The user can be an accountId, email or display name.
Usage/Examples:
mygroupCF in groupsOfUser("someguy") - Returns all the issues that are having the value of mygroupCF as one of someguy's groups
mygroupCF in groupsOfUser("[email protected]") - Returns all the issues that are having the value of mygroupCF as one of that user's groups
Function to find users that are members of one or more groups. It can be used with any user field, such as assignee, reporter or a user custom field. Up to 5 groups can be passed. A user that is a member of any of the groups is included. Group membership is refreshed hourly, so recent changes to a group can take up to an hour to show.
Usage/Examples:
assignee in membersOfGroups("developers") - Returns all the issues assigned to a member of the developers group
reporter in membersOfGroups("developers", "testers") - Returns all the issues reported by a member of the developers or testers group
assignee not in membersOfGroups("contractors") - Returns all the issues not assigned to a member of the contractors group
Issue Functions
JQL Tricks App add JQL functions to support searching based on issue fields and properties.
JQL Functions
movedIssues([type],[from],[to])
Function to find issues that were moved between projects or issue types. Type can be project or issuetype. Without a type, it finds issues that were moved in either way. You can also pass an optional from and to value to find issues moved from or to a specific project or issue type. Use the name as shown in the issue history, for example the project name. Use ANY to skip from and only filter by to.
Usage/Examples:
issue in movedIssues() - Returns all the issues that were moved to another project or issue type
issue in movedIssues("project") - Returns all the issues that were moved to another project
issue in movedIssues("issuetype") - Returns all the issues whose issue type was changed
issue in movedIssues("project", "Demo") - Returns all the issues moved out of the Demo project
issue in movedIssues("project", "ANY", "Demo") - Returns all the issues moved into the Demo project
issue in movedIssues("issuetype", "Bug", "Story") - Returns all the issues changed from Bug to Story