kdeps-tools-jira_post
v1.0.0Write to the Jira Cloud REST API: POST a JSON body to JIRA_URL/rest/api/3/PATH and return the JSON. Use it to create issues, add comments and move issues to a new status. Requires JIRA_URL, JIRA_EMAIL and JIRA_API_TOKEN (or the vault secrets jira_url, jira_email and jira_api_token).
set tools / shelf tools
LLM context: ~164 tokens when loaded (prompt or tool definition)
Where it runs
Part of the tools set, used in workflow and agent mode. What the model is told about each built-in tool: its description, usage notes and parameters. kdeps runs the tool itself.
- the agent loop builds the request
- the tool definitions are sent to the modeltools/jira_post
- the model calls a tool
- kdeps runs it
- the result goes back to the model
Loaded by: kdeps (agent loop), kdeps new, kdeps run, kdeps install, kdeps list, kdeps uninstall, kdeps update, kdeps upgrade
In the code: kdeps (agent loop)executor.(*Engine).Executeparallel.Runjudge.Panelagent.runJudgePanelagent.definedAs
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install tools/jira_post@<version>.
Contents
Write to the Jira Cloud REST API: POST a JSON body to JIRA_URL/rest/api/3/PATH and return the JSON. Use it to create issues, add comments and move issues to a new status. Requires JIRA_URL, JIRA_EMAIL and JIRA_API_TOKEN (or the vault secrets jira_url, jira_email and jira_api_token).
| Parameter | Type | Description |
|---|---|---|
| path * | string | The API path after /rest/api/3/. Examples: issue, issue/KEY-1/comment, issue/KEY-1/transitions. |
| body * | object | The JSON request body. Example for a new issue: {"fields": {"project": {"key": "KEY"}, "summary": "...", "issuetype": {"name": "Task"}}}. |
HTTP call (declared in YAML, no Go code)
{{trimSuffix .env.SITE "/"}}/rest/api/3/{{trimPrefix .args.path "/"}}Offered when set: JIRA_URL | secret:jira_url, JIRA_EMAIL | secret:jira_email, JIRA_API_TOKEN | secret:jira_api_token
- Authorization:
- Basic {{base64 (print .env.USER ":" .env.TOKEN)}}
- Accept:
- application/json
- User-Agent:
- kdeps
- Content-Type:
- application/json
Body
{{json .args.body}}
version: 1.0.0
description: 'Write to the Jira Cloud REST API: POST a JSON body to JIRA_URL/rest/api/3/PATH and return the JSON. Use it to create issues, add comments and move issues to a new status. Requires JIRA_URL, JIRA_EMAIL and JIRA_API_TOKEN (or the vault secrets jira_url, jira_email and jira_api_token).'
parameters:
path:
type: string
description: 'The API path after /rest/api/3/. Examples: issue, issue/KEY-1/comment, issue/KEY-1/transitions.'
required: true
body:
type: object
description: 'The JSON request body. Example for a new issue: {"fields": {"project": {"key": "KEY"}, "summary": "...", "issuetype": {"name": "Task"}}}.'
required: true
http:
env:
SITE: [JIRA_URL, "secret:jira_url"]
USER: [JIRA_EMAIL, "secret:jira_email"]
TOKEN: [JIRA_API_TOKEN, "secret:jira_api_token"]
method: POST
# The site comes from JIRA_URL or the vault, never from the model; path only adds to it.
url: '{{trimSuffix .env.SITE "/"}}/rest/api/3/{{trimPrefix .args.path "/"}}'
headers:
Authorization: 'Basic {{base64 (print .env.USER ":" .env.TOKEN)}}'
Accept: application/json
User-Agent: kdeps
Content-Type: application/json
body: '{{json .args.body}}'
Versions
| Version | Published | Status | Source |
|---|---|---|---|
| 1.0.0 | 11/26/2026 | active | GitHub v1.0.0 |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 11/26/2026