Return Type: PROJECT
recentProjects()
Function To find all issues in the recent Projects. It is what is given in the Atlassian's JQL tutorial and my first function. Thought it is useful!
Usage/Examples:
- project in recentProjects() - Returns all the issues in the recent projects
projectWithUserInRole(role,[user])
Function To find all issues in the projects where the specified user is in a given role. If not user is supplied, current user is used.
Since : v2.2
Usage/Examples:
- project in projectWithUserInRole("Administrators") - Returns all the issues in the projects where the current user is an Administrator.
- project in projectWithUserInRole("Developers","someguy") - Returns all the issues in the projects where the user "someguy" is a Developer.
projectMatches(regex)
Function To find issues in projects with name that matches a given Java regular expression
Since : v3.0.1
Usage/Examples:
- fixversion in projectMatches("Go.*") - Returns all issues in versions with names starting at "Go" like Goal, Goat, GoDaddy, etc.
See here for more examples in Java regex.
Copyright © 2010. All rights reserved.