承接 oguzhantogay/jira-cli 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

oguzhantogay/jira-cli

Composer 安装命令:

composer require oguzhantogay/jira-cli

包简介

A PHP CLI tool to interact with Jira issues directly from the terminal.

README 文档

README

Jira CLI Platform

A powerful, easy-to-use CLI tool for interacting with Jira, making it simple to manage issues, track worklogs, and automate common tasks right from your terminal. Perfect for developers and project managers who want to streamline their Jira workflows.

Features

  • View, create, edit, assign, and delete Jira issues
  • Track daily, weekly or monthly worklogs with detailed or summarized views
  • Retrieve user details and set environment configurations automatically

Supported Platforms

Platform Supported Notes
macOS Requires PHP installed
Linux Requires PHP installed
Windows Requires PHP installed

Installation

  1. Clone the repository:

    git clone https://github.com/oguzhanT/jira-cli.git
    cd jira-cli
  2. Install dependencies:

    composer install
  3. Configure your environment:

    • Copy the .env.example file to .env and fill in your Jira details:
    JIRA_SERVER=https://your-jira-instance.atlassian.net
    JIRA_USERNAME=your-email@example.com
    JIRA_API_TOKEN=your-jira-api-token
    
  4. Set up account ID:

    • Run the following command to automatically set your JIRA_ACCOUNT_ID in .env:
    php bin/jira-cli configure-account-id

Commands

Issue Management

View Issue Details

Display details for a specific issue by key.

php bin/jira-cli show-issue --issueKey=ISSUE-123

Create a New Issue

Interactively create a new issue in Jira.

php bin/jira-cli create-issue

You will be prompted for details such as project, summary, description, issue type, and priority.

Edit an Issue

Edit details of an existing issue.

php bin/jira-cli edit-issue --issueKey=ISSUE-123

Provides prompts for modifying fields like summary, description, assignee, issue type, and priority.

Assign an Issue

Assign an issue to a user by account ID.

php bin/jira-cli assign-issue --issueKey=ISSUE-123 --assignee=account_id

Alternatively, use --projectKey to choose from a list of assignable users.

Delete an Issue

Delete a specified issue.

php bin/jira-cli delete-issue --issueKey=ISSUE-123

Worklog Tracking

Show Worklog Summary

View the total time logged for a specified period (daily, weekly, biweekly, monthly).

php bin/jira-cli show-work-log --accountId=your_account_id --period=weekly

Show Detailed Worklog by Issue

Get a breakdown of worklogs by issue for each day.

php bin/jira-cli show-work-log --accountId=your_account_id --period=monthly --detailed

User Management

Configure Account ID

Automatically fetch and set your Jira accountId in the .env file.

php bin/jira-cli configure-account-id

Show User Details

Retrieve details for the authenticated user.

php bin/jira-cli show-user-detail

Example Workflows

  1. Set up and View Your User Details:

    php bin/jira-cli configure-account-id
    php bin/jira-cli show-user-detail
  2. Log and Track Work:

    php bin/jira-cli create-issue
    php bin/jira-cli assign-issue --issueKey=ISSUE-123 --assignee=account_id
    php bin/jira-cli show-work-log --accountId=your_account_id --period=daily --detailed

Contribution

If you’d like to contribute to this project:

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature-branch).
  3. Commit your changes (git commit -m "Add a new feature").
  4. Push to the branch (git push origin feature-branch).
  5. Create a pull request.

License

This project is licensed under the MIT License.

Sponsor on GitHub

oguzhantogay/jira-cli 适用场景与选型建议

oguzhantogay/jira-cli 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 10 次下载、GitHub Stars 达 3, 最近一次更新时间为 2024 年 10 月 22 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「cli」 「command-line」 「jira」 「JIRA API」 「jira issues」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 oguzhantogay/jira-cli 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 oguzhantogay/jira-cli 我们能提供哪些服务?
定制开发 / 二次开发

基于 oguzhantogay/jira-cli 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 18
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-22