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.