Get all projects
Jira get all projects action retrieves a list of projects from your Jira instance. This is a read-only action that returns projects with support for filtering by name, category, status, and other criteria.
Prerequisites
- Your admin must complete the initial Jira setup and enable Jira actions in the Admin Console so that the Jira action pack is available in Agent Builder.
- Each user is prompted to connect their Jira account via OAuth in Glean before running agents that use Jira actions, including Jira Assign issue.
- If your Jira organization uses Central OAuth, a Jira administrator must authorize the app for the site before users can run Jira actions in Glean.
Supported parameters
| Parameter | Type | Description |
|---|---|---|
| Search query | String | Text to search for in project names and descriptions. |
| Name | String | Filter projects by exact or partial name match. |
| Category ID | String | Filter projects by category identifier. |
| Status | String | Filter projects by status (e.g., live, archived). |
| Action | String | Type of action to perform when retrieving projects. |
| Expand | String | Comma-separated list of additional fields to expand in the response. |
| Properties | String | Additional properties to include in the results. |
| Sort by | String | Field to sort results by (e.g., name, key, category). |
| Start at | Integer | Zero-based index for pagination to fetch subsequent pages. |
| Results limit | Integer | Maximum number of projects to return per page. |
Usage examples
-
"Show me all active Jira projects in our Engineering category."
-
"List all Jira projects I have access to."
-
"What archived projects exist in Jira?"