Skip to main content
Glama

jira_get_edit_meta

Retrieve editable fields and allowed values for existing Jira issues to prepare accurate updates and maintain data integrity.

Instructions

Get metadata for editing an issue - shows editable fields and allowed values for an existing issue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueKeyYesThe Jira issue key to get edit metadata for

Implementation Reference

  • MCP tool handler case that validates input using GetEditMetaSchema, calls jiraClient.getEditMeta, and returns the metadata as JSON.
    case "jira_get_edit_meta": { const { issueKey } = GetEditMetaSchema.parse(args); const meta = await jiraClient.getEditMeta(issueKey); return { content: [{ type: "text", text: JSON.stringify(meta, null, 2) }], }; }
  • Zod schema used for input validation in the tool handler.
    const GetEditMetaSchema = z.object({ issueKey: z.string().describe("The Jira issue key to get edit metadata for"), });
  • src/index.ts:475-489 (registration)
    Tool registration entry in the ListToolsRequestHandler, defining name, description, and input schema.
    { name: "jira_get_edit_meta", description: "Get metadata for editing an issue - shows editable fields and allowed values for an existing issue", inputSchema: { type: "object", properties: { issueKey: { type: "string", description: "The Jira issue key to get edit metadata for", }, }, required: ["issueKey"], }, },
  • JiraClient helper method that makes the REST API call to /rest/api/2/issue/{issueKey}/editmeta to fetch edit metadata.
    async getEditMeta(issueKey: string): Promise<unknown> { return this.request<unknown>(`/issue/${issueKey}/editmeta`); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yogeshhrathod/JiraMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server