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
    • 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
    • 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 DC - User Functions

Return Type: USER

membersOfGroups
projectLeads
projectLead
usersInRole
userMatches
inactiveUsers
usersInTimezone
componentLeads
membersOfGroups
membersOfGroups(group1,group2,..,groupN)

Function to find issues based on users of specified groups

Since : v1.0

Usage/Examples:
  • assignee in membersOfGroups("my-special-group") - Returns all issues that assigned to a member of 'my-special-group'!
  • reporter in membersOfGroups("my-special-group1","my-special-group2") - Returns all issues that are reported by members in one or both of 'my-special-group1' and 'my-special-group2'!
projectLeads
projectLeads()

Function to find issues based on leads of all Projects

Since : v1.0

Usage/Examples:
  • assignee in projectLeads() - Returns all the issues assigned to any one of the project Leads
projectLead
projectLead(project)

Function to find issues based on project lead of a project

Since : v1.0

Usage/Examples:
  • assignee = projectLead("TST") - Returns all the issues assigned to project Lead of project 'TST'.
usersInRole
usersInRole([project],role)

Function to find issues based on users in a specific role in a specific project. Project role made optional in 7.0.

Since : v1.0

Usage:
  • assignee in usersInRole("TST","Administrators") - Returns all the issues assigned to one of the Administrator of project 'TST'
  • assignee in usersInRole("Administrators") - Returns all the issues assigned to users with Administrator role in any of the projects.
userMatches
userMatches(regex)

Function to find issues based on users matching to a Java regular expression. The Java documentation shows how to construct a proper regular expression. The regular expression should be atleast 4 character long.

Since : v2.0

Usage/Examples:
  • assignee in userMatches("kat.*") - Returns all issues where assignee name starts with kat (Eg: kate, katherine etc)
  • reporter in userMatcher(j.*b) - Returns all issues reported by users with name starting on j and ending on b! (Eg: jacob, job etc)
inactiveUsers
inactiveUsers()

Function to find issues based on inactive users.

Since : v4.0

Usage/Examples:
  • assignee in inactiveUsers() - Returns all issues where assignee is an inactive user.
usersInTimezone
usersInTimezone(timezoneName)

Function to find issues based on users in specific timezone. The timezone parameters should be the timezone name. You an find the available timezone here. See the name under TZ* column.

If the default timezone is given, all the users who doesn't have a timezone set will also be returned.

Since : v4.0

Usage/Examples:
assignee in usersInTimezone("America/New_York") - Returns all issues that are assigned to users in America/New_York timezone.
componentLeads
componentLeads([ProjecyKeyOrComponentID])

Function to find issues based on component leads. An optional project Key or component ID can be passed as arguments. Leads from any components in any project is returned if not arguments are passed and leads from components in a given project is passed when a project Key is specified as argument. A component ID can be used as argument to return the lead of a specific component.

Since : v7.1

Usage/Examples:
  • assignee in componentLeads() - Returns all issues that are assigned to component leads of any components in any project.
  • assignee in componentLeads("XYZ") - Returns all issues that are assigned to component leads of any components in XYZ project.
  • assignee in componentLeads("10010") - Returns all issues that are assigned to the lead of the component with ID "10010". ID of the component can be found from the database or using the developer tools in your favorite browser.

SUPPORT
APPS
TUTORIALS
THE BOOK
© J-Tricks