← 返回
未分类 Key 中文

Jira

Manage Jira Cloud issues — search, create, update, comment, transition. Use when user mentions Jira, issues, tickets, sprints, bugs, tasks, or issue keys lik...
管理Jira Cloud问题—搜索、创建、更新、评论、流转。当用户提到Jira、问题、工单、冲刺、缺陷、任务或问题键(如...)时使用
pejovicvuk pejovicvuk 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 需要
★ 0
Stars
📥 543
下载
💾 0
安装
1
版本
#latest

概述

Jira Cloud

Manage Jira Cloud issues via a bash CLI wrapper. No jq required — uses python3 for JSON parsing, which is available in the stock OpenClaw container.

Script location: {baseDir}/jira-cli.sh

Setup

Set these environment variables on your OpenClaw gateway:

Make the script executable: chmod +x {baseDir}/jira-cli.sh

Commands

Search issues

{baseDir}/jira-cli.sh search "assignee=currentUser() AND status!=Done"
{baseDir}/jira-cli.sh search "project=PROJ AND issuetype=Bug" 50

Second argument is max results (default: 20).

Returns: { total, issues: [{ key, summary, status, priority, assignee, type, created, updated }] }

Common JQL patterns:

  • My open issues: assignee=currentUser() AND status!=Done
  • All bugs in project: project=PROJ AND issuetype=Bug
  • Created this week: project=PROJ AND created >= startOfWeek()
  • High priority open: project=PROJ AND priority=High AND status!=Done
  • By status: project=PROJ AND status="In Progress"
  • Updated recently: project=PROJ AND updated >= -7d

Get issue details

{baseDir}/jira-cli.sh get PROJ-123

Returns: { key, summary, status, priority, type, assignee, reporter, project, description, labels, created, updated, url }

Create issue

{baseDir}/jira-cli.sh create --project PROJ --type Bug --summary "Login fails with unicode email" --description "Steps to reproduce..." --priority High

Required: --project, --summary

Optional: --type (default: Task), --description, --priority

Returns: { key, id, url }

Add comment

{baseDir}/jira-cli.sh comment PROJ-123 "Tested on staging — confirmed fixed"

Returns: { id, created, author }

List available transitions

Always check this before transitioning — transition IDs vary per project workflow.

{baseDir}/jira-cli.sh transitions PROJ-123

Returns: { transitions: [{ id, name, to }] }

Transition issue (change status)

{baseDir}/jira-cli.sh transition PROJ-123 31

Second argument is the transition ID from the transitions command.

Assign issue

First look up the user's account ID:

{baseDir}/jira-cli.sh users "jane"

Then assign:

{baseDir}/jira-cli.sh assign PROJ-123 "5b10a2844c20165700ede21g"

Update issue fields

{baseDir}/jira-cli.sh update PROJ-123 --summary "Updated title" --priority High --labels "regression,blocker"

Labels are comma-separated.

List projects

{baseDir}/jira-cli.sh projects

Returns: [{ key, name, type }]

Rules

  • All output is JSON to stdout, errors to stderr.
  • Before transitioning, ALWAYS run transitions first to get valid IDs.
  • Before assigning, ALWAYS run users first to get the account ID.
  • If a command fails, the error JSON includes the HTTP status code.

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-03 04:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Bitbucket

pejovicvuk
浏览 Bitbucket Cloud 仓库,审查Pull Request,阅读代码差异,查看分支。适用于用户提及 PR、代码变更、差异、分支、Bitbucket 或仓库时。
★ 0 📥 513
business-ops

Stripe

byungkyu
Stripe API 集成,支持托管 OAuth,实现对客户、订阅、发票、产品、价格和支付的可写金融集成。
★ 27 📥 25,935
business-ops

Discord

steipete
当需要通过discord工具控制Discord时使用:发送消息、添加反应、发布或上传表情包、上传表情、创建投票、管理帖子/置顶/搜索、获取权限或成员/角色/频道信息,或在Discord私信或频道中处理管理操作。
★ 78 📥 37,925