← 返回
未分类 Key

Jira Access

Access a Jira workspace (omeshkshatriya.atlassian.net) using provided email and API token to list, create, and transition issues. Use when the user wants to...
使用提供的邮箱和API令牌访问Jira工作区(omeshkshatriya.atlassian.net),列出、创建和转接问题。适用于用户想要...
brajesh9373
未分类 clawhub v1.0.0 1 版本 99411.8 Key: 需要
★ 0
Stars
📥 169
下载
💾 0
安装
1
版本
#latest

概述

Jira Access Skill

Overview

This skill provides a thin wrapper around Jira's REST API. It enables the assistant to:

  • List issues with JQL filters
  • Create new issues
  • Transition issues between statuses
  • Add comments or attachments

All operations are performed using the credentials supplied via environment variables to avoid storing secrets in source control.

Setup

  1. Set environment variables in the runtime where the skill runs.

For PowerShell (recommended):

```powershell

$env:JIRA_DOMAIN = "omeshkshatriya.atlassian.net"

$env:JIRA_EMAIL = "omeshkshatriya@gmail.com"

$env:JIRA_API_TOKEN = "ATATT3xFfGF0cks7fxnFIDe..." # full token (do not truncate)

```

For Command Prompt (cmd.exe):

```cmd

set JIRA_DOMAIN=omeshkshatriya.atlassian.net

set JIRA_EMAIL=omeshkshatriya@gmail.com

set JIRA_API_TOKEN=ATATT3xFfGF0cks7fxnFIDe... # full token (do not truncate)

```

> Security note: Do not commit these values to the repository. Keep them in a secure profile, a .env file, or a CI secret store.

  1. Ensure Python 3.9+ is installed on Windows and install the required dependency:

```powershell

pip install requests

```

Usage

The skill is invoked through the jira command (a simple batch wrapper) followed by a sub‑command:

  • jira list "project = OMESH" – List issues matching a JQL query.
  • jira create "Bug" "Summary" "Description" – Create a new issue of type Bug.
  • jira transition – Move an issue to a new status.
  • jira comment "Your comment" – Add a comment.

Example

Create a small batch wrapper jira.bat in the jira-access folder to forward arguments to the Python script:

@echo off
python "%~dp0scripts\jira_cli.py" %*
jira list "assignee = currentUser() AND status = Open"

Will output a table of open issues assigned to the current user.

Implementation Details

The core logic lives in scripts/jira_cli.py. It reads the environment variables, builds HTTP requests, and prints JSON‑formatted results. The script is deliberately minimal to keep the skill lightweight.

Extending the Skill

  • Add more sub‑commands in jira_cli.py for bulk operations.
  • Create reference files under references/ for advanced JQL patterns.
  • Store reusable payload templates in assets/ if needed.

When Not to Use

If the user asks for actions outside Jira (e.g., Confluence, Bitbucket) this skill should not be triggered.


References


版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-20 06:13 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,363 📥 319,074
ai-intelligence

self-improving agent

pskoett
捕获经验教训、错误和纠正,以实现持续改进。使用时机:(1)命令或操作意外失败;(2)用户纠正……
★ 4,062 📥 800,369
security-compliance

Skill Vetter

spclaudehome
AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前,检查风险信号、权限范围及可疑模式。
★ 1,219 📥 266,891