J tricks - Little JIRA Tricks
  • Home
  • Plugins ↓
    • JQL Tricks Plugin
      • JQL Tricks Plugin - Cloud
        • JQLT Cloud Installation
        • JQLT Cloud Configuration
        • JQLT Cloud Usage
        • JQLT Cloud License
        • JQLT Cloud FAQ
      • JQL Tricks Plugin - DC
        • JQLT DC Installation
        • JQLT DC Configuration
        • JQLT DC Usage
          • JQLT Issue Functions
          • JQLT Subtask Functions
          • JQLT Links Functions
          • JQLT Development Functions
          • JQLT Worklog Functions
          • JQLT Project Functions
          • JQLT Component Functions
          • JQLT Version Functions
          • JQLT Group Functions
          • JQLT User Functions
          • JQLT Date Functions
        • JQLT DC License
        • JQLT DC FAQ
        • JQLT DC Known Issues
        • JQLT DC Performance
      • JQL Tricks Cloud Migration
        • JQL Tricks Filter Statistics
    • Simplified Planner
      • J-Planner Installation
      • J-Planner Configuration
      • J-Planner Usage
        • Creating a plan
        • Editing a plan
        • Deleting a plan
        • Viewing a plan
        • Modifying a plan
      • J-Planner FAQ
    • Atla-Search Plugin
      • Atla-Search Installation
      • Atla-Search Configuration
      • Atla-Search Usage
      • Atla-Search License
      • Atla-Search FAQ
    • Heroku for Compass App
      • Heroku for Compass Installation
      • Heroku for Compass Configuration
      • Heroku for Compass Usage
    • Datadog for Compass App
      • Datadog for Compass Installation
      • Datadog for Compass Configuration
      • Datadog for Compass Usage
    • Copy to subtask Plugin
    • All Plugins
  • Tutorials
  • The Book
  • Contact Us
  • Home
  • Plugins ↓
    • JQL Tricks Plugin
      • JQL Tricks Plugin - Cloud
        • JQLT Cloud Installation
        • JQLT Cloud Configuration
        • JQLT Cloud Usage
        • JQLT Cloud License
        • JQLT Cloud FAQ
      • JQL Tricks Plugin - DC
        • JQLT DC Installation
        • JQLT DC Configuration
        • JQLT DC Usage
          • JQLT Issue Functions
          • JQLT Subtask Functions
          • JQLT Links Functions
          • JQLT Development Functions
          • JQLT Worklog Functions
          • JQLT Project Functions
          • JQLT Component Functions
          • JQLT Version Functions
          • JQLT Group Functions
          • JQLT User Functions
          • JQLT Date Functions
        • JQLT DC License
        • JQLT DC FAQ
        • JQLT DC Known Issues
        • JQLT DC Performance
      • JQL Tricks Cloud Migration
        • JQL Tricks Filter Statistics
    • Simplified Planner
      • J-Planner Installation
      • J-Planner Configuration
      • J-Planner Usage
        • Creating a plan
        • Editing a plan
        • Deleting a plan
        • Viewing a plan
        • Modifying a plan
      • J-Planner FAQ
    • Atla-Search Plugin
      • Atla-Search Installation
      • Atla-Search Configuration
      • Atla-Search Usage
      • Atla-Search License
      • Atla-Search FAQ
    • Heroku for Compass App
      • Heroku for Compass Installation
      • Heroku for Compass Configuration
      • Heroku for Compass Usage
    • Datadog for Compass App
      • Datadog for Compass Installation
      • Datadog for Compass Configuration
      • Datadog for Compass Usage
    • Copy to subtask Plugin
    • All Plugins
  • Tutorials
  • The Book
  • Contact Us

JQL Tricks Cloud - Usage

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. ​
Picture
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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "=", "!=", "in", "not in", "is", "is not"

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.comments.createdLast = "2021-01-06" - Returns all issues with its last comment created on 2021-01-06
  • jqlt.comments.createdLast >= -3w - Returns all issues where the comment was last created in the last 3 weeks

jqlt.comments.createdOn [Operator] [date]

Alias to find issues based on the date when a comment was created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.comments.createdOn = "2021-01-06" - Returns all issues with a comment created on 2021-01-06
  • jqlt.comments.createdOn >= -3w - Returns all issues where a comment was created in the last 3 weeks
  • jqlt.comments.createdOn in ("2021-01-06", "2021-01-07") - Returns all issues where a comment was created on 2021-01-06 OR on 2021-01-07

jqlt.comments.createdBy [Operator] [user]

Alias to find issues based on the author 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.createdBy = "userId" - Returns all issues that has comments created by "userId"
  • jqlt.comments.createdBy in ("userId1", "userId2") - Returns all issues that has comments created by "userId1" OR "userId2"

jqlt.comments.updatedOn [Operator] [date]

Alias to find issues based on the date when a comment was updated on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.

Supported Operators : "<", "<=", "=", "!=", ">", ">=", "in", "not in"

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.worklogs.createdLast = "2021-01-06" - Returns all issues with its last worklog created on 2021-01-06
  • jqlt.worklogs.createdLast >= -3w - Returns all issues where the worklog was last created in the last 3 weeks

jqlt.worklogs.createdOn [Operator] [date]

Alias to find issues based on the date when a worklog was created on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.worklogs.createdOn = "2021-01-06" - Returns all issues with a worklog created on 2021-01-06
  • jqlt.worklogs.createdOn >= -3w - Returns all issues where a worklog was created in the last 3 weeks
  • jqlt.worklogs.createdOn in ("2021-01-06", "2021-01-07") - Returns all issues where a worklog was created on 2021-01-06 OR on 2021-01-07

jqlt.worklogs.createdBy [Operator] [user]

Alias to find issues based on the author 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.createdBy = "userId" - Returns all issues that has worklogs created by "userId"
  • jqlt.worklogs.createdBy in ("userId1", "userId2") - Returns all issues that has worklogs created by "userId1" OR "userId2"

jqlt.worklogs.updatedOn [Operator] [date]

Alias to find issues based on the date when a worklog was updated on the issue. Date should be in yyyy-mm-dd format. Supports relative dates as well.

Supported Operators : "<", "<=", "=", "!=", ">", ">=", "in", "not in"

Usage/Examples:
  • 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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.subtasks.count = 0 - Returns all issues without any subtasks
  • jqlt.subtasks.count > 3 - Returns all issues with more than 3 subtasks

jqlt.subtasks.key [Operator] [issueKey]

Alias to find the parent issue of a given subtask.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.subtasks.key = "JTRICKS-11" - Returns the parent issue of JTRICKS-11
  • jqlt.subtasks.key in ("JTRICKS-11", "JTRICKS-12") - Returns parent issues of JTRICKS-11 and JTRICKS-12

jqlt.subtasks.summary [Operator] [subtask summary]

Alias to find issues based on the summary of its subtasks.

Supported Operators : "~", "!~"

Usage/Examples:
  • jqlt.subtasks.summary ~ "test" - Returns all issues with subtasks that has "test" in its summary
  • jqlt.subtasks.summary !~ "test" - Returns all issues with subtasks that do not have "test" in its summary


jqlt.subtasks.status [Operator] [issue status]

Alias to find issues that has subtasks in a given status.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.subtasks.status = "Open" - Returns all issues that has subtasks in "Open" status
  • jqlt.subtasks.status in ("Open", "In Progress") - Returns all issues that has subtasks in "Open" OR "In Progress" status

jqlt.subtasks.statusCategory [Operator] [issue status Category]

Alias to find issues that has subtasks in a given status category.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.subtasks.statusCategory = "To Do" - Returns all issues that has subtasks in "To Do" status category
  • jqlt.subtasks.statusCategory in ("To Do", "In Progress") - Returns all issues that has subtasks in "To Do" OR "In Progress" status category

jqlt.subtasks.priority [Operator] [issue priority]

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

jqlt.history.project.from [Operator] [project name]

Alias to find issues that were moved from a given project.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.history.project.from = "JTRICKS" - Returns all issues that were moved out of the JTRICKS project
  • jqlt.history.project.from in ("JTRICKS", "TEST") - Returns all issues that were moved out of the JTRICKS OR TEST project

jqlt.history.project.to [Operator] [project name]

Alias to find issues that were moved in to a given project.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.history.project.to = "JTRICKS" - Returns all issues that were moved to the JTRICKS project
  • jqlt.history.project.to in ("JTRICKS", "TEST") - Returns all issues that were moved to the JTRICKS OR TEST project

jqlt.history.issuetype.from [Operator] [issuetype name]

Alias to find issues that were changed from a given issuetype.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.history.issuetype.from = "Bug" - Returns all issues that were previously a Bug and was changed to a different issuetype
  • jqlt.history.issuetype.from in ("Bug", "Story") - Returns all issues that were previously a Bug OR Story and was changed to a different issuetype.

jqlt.history.issuetype.to [Operator] [issuetype name]

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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.affectsversions.count = 0 - Returns all issues that doesn't have any affects versions set on them
  • jqlt.affectsversions.count > 3 - Returns all issues that has more than 3 affects versions set on them

jqlt.affectsversions.releasedCount [Operator] [number]

Alias to find issues with a given number of released versions as affects versions on the issue.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.affectsversions.releasedCount = 0 - Returns all issues that doesn't have any released versions set as affects versions on them
  • jqlt.affectsversions.releasedCount > 3 - Returns all issues that has more than 3 released versions set as affects versions on them

jqlt.affectsversions.archivedCount [Operator] [number]

Alias to find issues with a given number of archived versions as affects versions on the issue.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.affectsversions.archivedCount = 0 - Returns all issues that doesn't have any archived versions set as affects versions on them
  • jqlt.affectsversions.archivedCount > 3 - Returns all issues that has more than 3 archived versions set as affects versions on them

jqlt.affectsversions.startedOn [Operator] [date]

Alias to find issues with at least one affects version started 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.affectsversions.startedOn = "2021-01-06" - Returns all issues that has at least one affects version that started on 2021-01-06
  • jqlt.affectsversions.startedOn > -3w - Returns all issues that has at least one affects version that started in the last 3 weeks

jqlt.affectsversions.releasedOn [Operator] [date]

Alias to find issues with at least one affects version released 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.affectsversions.releasedOn = "2021-01-06" - Returns all issues that has at least one affects version that released on 2021-01-06
  • jqlt.affectsversions.releasedOn > -3w - Returns all issues that has at least one affects version that released in the last 3 weeks


jqlt.affectsversions.overdue [Operator] [true/false]

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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.fixversions.count = 0 - Returns all issues that doesn't have any fix versions set on them
  • jqlt.fixversions.count > 3 - Returns all issues that has more than 3 fix versions set on them

jqlt.fixversions.releasedCount [Operator] [number]

Alias to find issues with a given number of released versions as fix versions on the issue.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.fixversions.releasedCount = 0 - Returns all issues that doesn't have any released versions set as fix versions on them
  • jqlt.fixversions.releasedCount > 3 - Returns all issues that has more than 3 released versions set as fix versions on them

jqlt.fixversions.archivedCount [Operator] [number]

Alias to find issues with a given number of archived versions as fix versions on the issue.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.fixversions.archivedCount = 0 - Returns all issues that doesn't have any archived versions set as fix versions on them
  • jqlt.fixversions.archivedCount > 3 - Returns all issues that has more than 3 archived versions set as fix versions on them

jqlt.fixversions.startedOn [Operator] [date]

Alias to find issues with at least one fix version started 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.fixversions.startedOn = "2021-01-06" - Returns all issues that has at least one fix version that started on 2021-01-06
  • jqlt.fixversions.startedOn > -3w - Returns all issues that has at least one fix version that started in the last 3 weeks


jqlt.fixversions.releasedOn [Operator] [date]

Alias to find issues with at least one fix version released 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.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.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • jqlt.agile.issueCount = 0 - Returns all Epics that doesn't have any issues under it
  • jqlt.agile.issueCount > 3 - Returns all Epics that has more than 3 issues under it

jqlt.agile.issueKey [Operator] [issueKey]

Alias to find the Epic with a given issue under it.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.agile.issueKey = "JTRICKS-123" - Returns the Epic that holds the issue with key "JTRICKS-123"
  • jqlt.agile.issueKey in ("JTRICKS-123", "JTRICKS-234") - Returns the Epics that holds the issue with key "JTRICKS-123" OR "JTRICKS-234"

jqlt.agile.issueSummary [Operator] [text]

Alias to find Epics that has issues containing a given text in their summary.

Supported Operators : "~", "!~"

Usage/Examples:
  • jqlt.agile.issueSummary ~ "test" - Returns all Epics that has issues with summary containing the word "test"
  • jqlt.agile.issueSummary !~ "test" - Returns all Epics that do not have any issues with summary containing the word "test"

jqlt.agile.issueProject [Operator] [projectKey]

Alias to find Epics that has issues in a given project.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.agile.issueProject = "JTRICKS" - Returns all Epics that has issues in project "JTRICKS"
  • jqlt.agile.issueProject in ("JTRICKS", "TEST") - Returns all Epics that has issues in projects "JTRICKS" OR "TEST"

jqlt.agile.issueType [Operator] [issuetype]

Alias to find Epics that has issues of a given type.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.agile.issueType = "Bug" - Returns all Epics that has bugs under it
  • jqlt.agile.issueType in ("Bug", "Story") - Returns all Epics that has bugs or stories under it

jqlt.agile.issueStatus [Operator] [status]

Alias to find Epics that has issues in a given status.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.agile.issueStatus = "Open" - Returns all Epics that has issues in "Open" status
  • jqlt.agile.issueStatus in ("Open", "In Progress") - Returns all Epics that has issues in "Open" OR "In Progress" status

jqlt.agile.issueStatusCategory [Operator] [statusCategory]

Alias to find Epics that has issues in a given status category.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.agile.issueStatusCategory = "To Do" - Returns all Epics that has issues in "To Do" status category
  • jqlt.agile.issueStatusCategory in ("To Do", "In Progress") - Returns all Epics that has issues in "To Do" OR "In Progress" status category

jqlt.agile.issuePriority [Operator] [Priority]

Alias to find Epics that has issues with a given priority.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.agile.issuePriority = "Major" - Returns all Epics that has issues with "Major" priority
  • jqlt.agile.issuePriority in ("Major", "Blocker") - Returns all Epics that has issues with "Major" OR "Blocker" priority

jqlt.agile.epicSummary [Operator] [text]

Alias to find issues that has an Epic containing a given text in its summary.

Supported Operators : "~", "!~"

Usage/Examples:
  • jqlt.agile.epicSummary ~ "test" - Returns all issues that has an Epic with summary containing the word "test"
  • jqlt.agile.epicSummary !~ "test" - Returns all issues that do not have an Epic with summary containing the word "test"

jqlt.agile.epicProject [Operator] [projectKey]

Alias to find issues that has an Epic in a given project.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.agile.epicProject = "JTRICKS" - Returns all issues that has an Epic in project "JTRICKS"
  • jqlt.agile.epicProject in ("JTRICKS", "TEST") - Returns all issues that has an Epic in projects "JTRICKS" OR "TEST"

jqlt.agile.epicStatus [Operator] [status]

Alias to find issues that has an Epic in a given status.

Supported Operators : "=", "!=", "in", "not in"

Usage/Examples:
  • jqlt.agile.epicStatus = "Open" - Returns all issues that has an Epic in "Open" status
  • jqlt.agile.epicStatus in ("Open", "In Progress") - Returns all issues that has an Epic in "Open" OR "In Progress" status

jqlt.agile.epicStatusCategory [Operator] [statusCategory]

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 prefix jqlt.components. 

jqlt.components.count [Operator] [number]

Alias to find issues with a given number of components.

Supported Operators : "<", "<=", "=", "!=", ">", ">="

Usage/Examples:
  • 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

membersOfGroups(group1,[group2],[group3],[group4],[group5])

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​
Installation
Configuration
Usage
Licensing
FAQ

SUPPORT
APPS
TUTORIALS
THE BOOK
© J-Tricks