Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Description:
Excerpt |
---|
Perform searches based on projects that you have recently viewed, i.e. project that are in the 'Current Project' or 'Recent Projects' sections of the 'Project' drop-down menu. if you are not logged in to JIRA, only projects from your current browser session will be included. |
Syntax | recentProjects() recentProjects(limit) |
Available since | v1.0.0-RELEASE |
Supported fields | Project |
Supported operators |
|
Unsupported operators |
|
Examples:
• Find issues in my current project:
Code Block | ||||
---|---|---|---|---|
| ||||
project IN recentProjects(1) |
• Find 'OPEN' issues in the last five projects that I have visited:
Code Block | ||||
---|---|---|---|---|
| ||||
project IN recentProjects(5) AND status = Open |
• Find unresolved issues in projects that I have recently visited:
Code Block | ||||
---|---|---|---|---|
| ||||
project IN recentProjects() AND resolution = Unresolved |
Real World Use Cases:
· JRASERVER-23895 - Create JQL currentProject() function (by Gary D. Brown)
· JQL to select current project from JIRA Agile (by Gabriel Bauman at ATLASSIAN Community)
· How can I get the current project to use in a JQL query? (by Frank Spafford at ATLASSIAN Community)
JQL Function Reference
Page Tree | ||||
---|---|---|---|---|
|