jira_get_project
Retrieve detailed information about a specific Jira project using its unique project key identifier.
Instructions
Get details of a specific Jira project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectKey | Yes | The project key |
Implementation Reference
- src/index.ts:1066-1072 (handler)Handler for the jira_get_project tool: parses input using GetProjectSchema, calls jiraClient.getProject(projectKey), and returns JSON stringified response.case "jira_get_project": { const { projectKey } = GetProjectSchema.parse(args); const project = await jiraClient.getProject(projectKey); return { content: [{ type: "text", text: JSON.stringify(project, null, 2) }], }; }
- src/index.ts:102-104 (schema)Zod schema for validating input parameters of jira_get_project tool (requires projectKey). Used in handler and reflected in tool registration.const GetProjectSchema = z.object({ projectKey: z.string().describe("The project key"), });
- src/index.ts:380-389 (registration)Tool registration in ListTools handler, defining name, description, and JSON input schema for jira_get_project.name: "jira_get_project", description: "Get details of a specific Jira project", inputSchema: { type: "object", properties: { projectKey: { type: "string", description: "The project key" }, }, required: ["projectKey"], }, },
- src/jira-client.ts:123-125 (helper)Core implementation in JiraClient: makes REST API call to /rest/api/2/project/{projectKey} via the private request method.async getProject(projectKey: string): Promise<JiraProject> { return this.request<JiraProject>(`/project/${projectKey}`); }