{
  "schemaVersion": "1.0",
  "item": {
    "slug": "jira-api",
    "name": "Jira",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/byungkyu/jira-api",
    "canonicalUrl": "https://clawhub.ai/byungkyu/jira-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/jira-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=jira-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "LICENSE.txt"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/jira-api"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/jira-api",
    "agentPageUrl": "https://openagent3.xyz/skills/jira-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/jira-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/jira-api/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Jira",
        "body": "Access the Jira Cloud API with managed OAuth authentication. Search issues with JQL, create and manage issues, and automate workflows."
      },
      {
        "title": "Quick Start",
        "body": "# First, get your cloud ID\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/jira/oauth/token/accessible-resources')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n# Then search issues\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/jira/ex/jira/{cloudId}/rest/api/3/search/jql?jql=project%3DKEY&maxResults=10')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Base URL",
        "body": "https://gateway.maton.ai/jira/{native-api-path}\n\nReplace {native-api-path} with the actual Jira API endpoint path. The gateway proxies requests to api.atlassian.com and automatically injects your OAuth token."
      },
      {
        "title": "Getting Cloud ID",
        "body": "Jira Cloud requires a cloud ID. Get it first:\n\nGET /jira/oauth/token/accessible-resources\n\nResponse:\n\n[{\n  \"id\": \"62909843-b784-4c35-b770-e4e2a26f024b\",\n  \"url\": \"https://yoursite.atlassian.net\",\n  \"name\": \"yoursite\"\n}]"
      },
      {
        "title": "Authentication",
        "body": "All requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\""
      },
      {
        "title": "Getting Your API Key",
        "body": "Sign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key"
      },
      {
        "title": "Connection Management",
        "body": "Manage your Jira OAuth connections at https://ctrl.maton.ai."
      },
      {
        "title": "List Connections",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=jira&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Create Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'jira'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Get Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"jira\",\n    \"metadata\": {}\n  }\n}\n\nOpen the returned url in a browser to complete OAuth authorization."
      },
      {
        "title": "Delete Connection",
        "body": "python <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Specifying Connection",
        "body": "If you have multiple Jira connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/jira/ex/jira/{cloudId}/rest/api/3/project')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nIf omitted, the gateway uses the default (oldest) active connection."
      },
      {
        "title": "Projects",
        "body": "List Projects\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/project\n\nGet Project\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/project/{projectKeyOrId}"
      },
      {
        "title": "Issues",
        "body": "Search Issues (JQL)\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/search/jql?jql=project%3DKEY%20order%20by%20created%20DESC&maxResults=20&fields=summary,status,assignee\n\nGet Issue\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}\n\nCreate Issue\n\nPOST /jira/ex/jira/{cloudId}/rest/api/3/issue\nContent-Type: application/json\n\n{\n  \"fields\": {\n    \"project\": {\"key\": \"PROJ\"},\n    \"summary\": \"Issue summary\",\n    \"issuetype\": {\"name\": \"Task\"}\n  }\n}\n\nUpdate Issue\n\nPUT /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}\nContent-Type: application/json\n\n{\n  \"fields\": {\n    \"summary\": \"Updated summary\"\n  }\n}\n\nDelete Issue\n\nDELETE /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}\n\nAssign Issue\n\nPUT /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/assignee\nContent-Type: application/json\n\n{\n  \"accountId\": \"712020:5aff718e-6fe0-4548-82f4-f44ec481e5e7\"\n}"
      },
      {
        "title": "Transitions",
        "body": "Get Transitions\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/transitions\n\nTransition Issue (change status)\n\nPOST /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/transitions\nContent-Type: application/json\n\n{\n  \"transition\": {\"id\": \"31\"}\n}"
      },
      {
        "title": "Comments",
        "body": "Get Comments\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/comment\n\nAdd Comment\n\nPOST /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/comment\nContent-Type: application/json\n\n{\n  \"body\": {\n    \"type\": \"doc\",\n    \"version\": 1,\n    \"content\": [{\"type\": \"paragraph\", \"content\": [{\"type\": \"text\", \"text\": \"Comment text\"}]}]\n  }\n}"
      },
      {
        "title": "Users",
        "body": "Get Current User\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/myself\n\nSearch Users\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/user/search?query=john"
      },
      {
        "title": "Metadata",
        "body": "List Issue Types\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/issuetype\n\nList Priorities\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/priority\n\nList Statuses\n\nGET /jira/ex/jira/{cloudId}/rest/api/3/status"
      },
      {
        "title": "JavaScript",
        "body": "// Get cloud ID first\nconst resources = await fetch(\n  'https://gateway.maton.ai/jira/oauth/token/accessible-resources',\n  { headers: { 'Authorization': `Bearer ${process.env.MATON_API_KEY}` } }\n).then(r => r.json());\n\nconst cloudId = resources[0].id;\n\n// Search issues\nconst issues = await fetch(\n  `https://gateway.maton.ai/jira/ex/jira/${cloudId}/rest/api/3/search/jql?jql=project=KEY`,\n  { headers: { 'Authorization': `Bearer ${process.env.MATON_API_KEY}` } }\n).then(r => r.json());"
      },
      {
        "title": "Python",
        "body": "import os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n\n# Get cloud ID\nresources = requests.get(\n    'https://gateway.maton.ai/jira/oauth/token/accessible-resources',\n    headers=headers\n).json()\n\ncloud_id = resources[0]['id']\n\n# Search issues\nissues = requests.get(\n    f'https://gateway.maton.ai/jira/ex/jira/{cloud_id}/rest/api/3/search/jql',\n    headers=headers,\n    params={'jql': 'project=KEY', 'maxResults': 10}\n).json()"
      },
      {
        "title": "Notes",
        "body": "Always fetch cloud ID first using /oauth/token/accessible-resources\nJQL queries must be bounded (e.g., project=KEY)\nUse URL encoding for JQL query parameters\nUpdate, Delete, Transition return HTTP 204 on success\nAgile API requires additional OAuth scopes. If you receive a scope error, contact Maton support at support@maton.ai with the specific operations/APIs you need and your use-case\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping."
      },
      {
        "title": "Error Handling",
        "body": "StatusMeaning400Missing Jira connection or invalid JQL401Invalid or missing Maton API key429Rate limited (10 req/sec per account)4xx/5xxPassthrough error from Jira API"
      },
      {
        "title": "Troubleshooting: API Key Issues",
        "body": "Check that the MATON_API_KEY environment variable is set:\n\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF"
      },
      {
        "title": "Troubleshooting: Invalid App Name",
        "body": "Ensure your URL path starts with jira. For example:\n\nCorrect: https://gateway.maton.ai/jira/ex/jira/{cloudId}/rest/api/3/project\nIncorrect: https://gateway.maton.ai/ex/jira/{cloudId}/rest/api/3/project"
      },
      {
        "title": "Resources",
        "body": "Jira API Introduction\nSearch Issues (JQL)\nGet Issue\nCreate Issue\nTransition Issue\nJQL Reference\nMaton Community\nMaton Support"
      }
    ],
    "body": "Jira\n\nAccess the Jira Cloud API with managed OAuth authentication. Search issues with JQL, create and manage issues, and automate workflows.\n\nQuick Start\n# First, get your cloud ID\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/jira/oauth/token/accessible-resources')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n# Then search issues\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/jira/ex/jira/{cloudId}/rest/api/3/search/jql?jql=project%3DKEY&maxResults=10')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nBase URL\nhttps://gateway.maton.ai/jira/{native-api-path}\n\n\nReplace {native-api-path} with the actual Jira API endpoint path. The gateway proxies requests to api.atlassian.com and automatically injects your OAuth token.\n\nGetting Cloud ID\n\nJira Cloud requires a cloud ID. Get it first:\n\nGET /jira/oauth/token/accessible-resources\n\n\nResponse:\n\n[{\n  \"id\": \"62909843-b784-4c35-b770-e4e2a26f024b\",\n  \"url\": \"https://yoursite.atlassian.net\",\n  \"name\": \"yoursite\"\n}]\n\nAuthentication\n\nAll requests require the Maton API key in the Authorization header:\n\nAuthorization: Bearer $MATON_API_KEY\n\n\nEnvironment Variable: Set your API key as MATON_API_KEY:\n\nexport MATON_API_KEY=\"YOUR_API_KEY\"\n\nGetting Your API Key\nSign in or create an account at maton.ai\nGo to maton.ai/settings\nCopy your API key\nConnection Management\n\nManage your Jira OAuth connections at https://ctrl.maton.ai.\n\nList Connections\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections?app=jira&status=ACTIVE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nCreate Connection\npython <<'EOF'\nimport urllib.request, os, json\ndata = json.dumps({'app': 'jira'}).encode()\nreq = urllib.request.Request('https://ctrl.maton.ai/connections', data=data, method='POST')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Content-Type', 'application/json')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nGet Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nResponse:\n\n{\n  \"connection\": {\n    \"connection_id\": \"21fd90f9-5935-43cd-b6c8-bde9d915ca80\",\n    \"status\": \"ACTIVE\",\n    \"creation_time\": \"2025-12-08T07:20:53.488460Z\",\n    \"last_updated_time\": \"2026-01-31T20:03:32.593153Z\",\n    \"url\": \"https://connect.maton.ai/?session_token=...\",\n    \"app\": \"jira\",\n    \"metadata\": {}\n  }\n}\n\n\nOpen the returned url in a browser to complete OAuth authorization.\n\nDelete Connection\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections/{connection_id}', method='DELETE')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nSpecifying Connection\n\nIf you have multiple Jira connections, specify which one to use with the Maton-Connection header:\n\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://gateway.maton.ai/jira/ex/jira/{cloudId}/rest/api/3/project')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nreq.add_header('Maton-Connection', '21fd90f9-5935-43cd-b6c8-bde9d915ca80')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\n\nIf omitted, the gateway uses the default (oldest) active connection.\n\nAPI Reference\nProjects\nList Projects\nGET /jira/ex/jira/{cloudId}/rest/api/3/project\n\nGet Project\nGET /jira/ex/jira/{cloudId}/rest/api/3/project/{projectKeyOrId}\n\nIssues\nSearch Issues (JQL)\nGET /jira/ex/jira/{cloudId}/rest/api/3/search/jql?jql=project%3DKEY%20order%20by%20created%20DESC&maxResults=20&fields=summary,status,assignee\n\nGet Issue\nGET /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}\n\nCreate Issue\nPOST /jira/ex/jira/{cloudId}/rest/api/3/issue\nContent-Type: application/json\n\n{\n  \"fields\": {\n    \"project\": {\"key\": \"PROJ\"},\n    \"summary\": \"Issue summary\",\n    \"issuetype\": {\"name\": \"Task\"}\n  }\n}\n\nUpdate Issue\nPUT /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}\nContent-Type: application/json\n\n{\n  \"fields\": {\n    \"summary\": \"Updated summary\"\n  }\n}\n\nDelete Issue\nDELETE /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}\n\nAssign Issue\nPUT /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/assignee\nContent-Type: application/json\n\n{\n  \"accountId\": \"712020:5aff718e-6fe0-4548-82f4-f44ec481e5e7\"\n}\n\nTransitions\nGet Transitions\nGET /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/transitions\n\nTransition Issue (change status)\nPOST /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/transitions\nContent-Type: application/json\n\n{\n  \"transition\": {\"id\": \"31\"}\n}\n\nComments\nGet Comments\nGET /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/comment\n\nAdd Comment\nPOST /jira/ex/jira/{cloudId}/rest/api/3/issue/{issueIdOrKey}/comment\nContent-Type: application/json\n\n{\n  \"body\": {\n    \"type\": \"doc\",\n    \"version\": 1,\n    \"content\": [{\"type\": \"paragraph\", \"content\": [{\"type\": \"text\", \"text\": \"Comment text\"}]}]\n  }\n}\n\nUsers\nGet Current User\nGET /jira/ex/jira/{cloudId}/rest/api/3/myself\n\nSearch Users\nGET /jira/ex/jira/{cloudId}/rest/api/3/user/search?query=john\n\nMetadata\nList Issue Types\nGET /jira/ex/jira/{cloudId}/rest/api/3/issuetype\n\nList Priorities\nGET /jira/ex/jira/{cloudId}/rest/api/3/priority\n\nList Statuses\nGET /jira/ex/jira/{cloudId}/rest/api/3/status\n\nCode Examples\nJavaScript\n// Get cloud ID first\nconst resources = await fetch(\n  'https://gateway.maton.ai/jira/oauth/token/accessible-resources',\n  { headers: { 'Authorization': `Bearer ${process.env.MATON_API_KEY}` } }\n).then(r => r.json());\n\nconst cloudId = resources[0].id;\n\n// Search issues\nconst issues = await fetch(\n  `https://gateway.maton.ai/jira/ex/jira/${cloudId}/rest/api/3/search/jql?jql=project=KEY`,\n  { headers: { 'Authorization': `Bearer ${process.env.MATON_API_KEY}` } }\n).then(r => r.json());\n\nPython\nimport os\nimport requests\n\nheaders = {'Authorization': f'Bearer {os.environ[\"MATON_API_KEY\"]}'}\n\n# Get cloud ID\nresources = requests.get(\n    'https://gateway.maton.ai/jira/oauth/token/accessible-resources',\n    headers=headers\n).json()\n\ncloud_id = resources[0]['id']\n\n# Search issues\nissues = requests.get(\n    f'https://gateway.maton.ai/jira/ex/jira/{cloud_id}/rest/api/3/search/jql',\n    headers=headers,\n    params={'jql': 'project=KEY', 'maxResults': 10}\n).json()\n\nNotes\nAlways fetch cloud ID first using /oauth/token/accessible-resources\nJQL queries must be bounded (e.g., project=KEY)\nUse URL encoding for JQL query parameters\nUpdate, Delete, Transition return HTTP 204 on success\nAgile API requires additional OAuth scopes. If you receive a scope error, contact Maton support at support@maton.ai with the specific operations/APIs you need and your use-case\nIMPORTANT: When using curl commands, use curl -g when URLs contain brackets (fields[], sort[], records[]) to disable glob parsing\nIMPORTANT: When piping curl output to jq or other commands, environment variables like $MATON_API_KEY may not expand correctly in some shell environments. You may get \"Invalid API key\" errors when piping.\nError Handling\nStatus\tMeaning\n400\tMissing Jira connection or invalid JQL\n401\tInvalid or missing Maton API key\n429\tRate limited (10 req/sec per account)\n4xx/5xx\tPassthrough error from Jira API\nTroubleshooting: API Key Issues\nCheck that the MATON_API_KEY environment variable is set:\necho $MATON_API_KEY\n\nVerify the API key is valid by listing connections:\npython <<'EOF'\nimport urllib.request, os, json\nreq = urllib.request.Request('https://ctrl.maton.ai/connections')\nreq.add_header('Authorization', f'Bearer {os.environ[\"MATON_API_KEY\"]}')\nprint(json.dumps(json.load(urllib.request.urlopen(req)), indent=2))\nEOF\n\nTroubleshooting: Invalid App Name\nEnsure your URL path starts with jira. For example:\nCorrect: https://gateway.maton.ai/jira/ex/jira/{cloudId}/rest/api/3/project\nIncorrect: https://gateway.maton.ai/ex/jira/{cloudId}/rest/api/3/project\nResources\nJira API Introduction\nSearch Issues (JQL)\nGet Issue\nCreate Issue\nTransition Issue\nJQL Reference\nMaton Community\nMaton Support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/byungkyu/jira-api",
    "publisherUrl": "https://clawhub.ai/byungkyu/jira-api",
    "owner": "byungkyu",
    "version": "1.0.5",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/jira-api",
    "downloadUrl": "https://openagent3.xyz/downloads/jira-api",
    "agentUrl": "https://openagent3.xyz/skills/jira-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/jira-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/jira-api/agent.md"
  }
}