npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

jira-subtask-cli

v1.0.2

Published

CLI to auto-create Jira sub-tasks

Downloads

176

Readme

Jira Subtask CLI

A lightweight Node.js CLI utility to automatically create standard DEV / QA / UX Jira sub-tasks for a parent Jira issue — without requiring Jira Automation or admin access.

This tool is designed to save time for developers and testers by eliminating repetitive manual sub-task creation.


✨ Features

  • Create multiple Jira sub-tasks using one command
  • Works without Jira Automation or Jira admin permissions
  • Globally installable via npm
  • User-editable configuration and task templates
  • Cross-platform support (Windows / macOS / Linux)
  • Uses Jira Cloud REST APIs

📋 Default Sub-tasks Created

By default, the utility creates the following sub-tasks:

  • DEV – Story Analysis
  • DEV – Code Changes
  • DEV – Unit Testing
  • DEV – Dev Testing
  • QA – Functional Testing
  • DEV – Buddy Testing (unassigned)
  • UX Review (unassigned)

Sub-tasks can be freely customized by editing tasks.json.


🧰 Prerequisites

  • Node.js 18+
  • npm
  • Jira Cloud account (*.atlassian.net)
  • Jira API Token

Check versions:

node -v
npm -v

🚀 Installation (Global)

Install directly fusing below command:
npm install -g jira-subtask-cli


Verify installation:
jira-subtask


Expected output:
❌ Usage: jira-subtask <ISSUE-KEY> [--dev-only | --qa-only | --skip-ux]

⚙️ First-time Setup
On first execution, the utility automatically creates user-specific files:

jira-subtask ABC-1

This creates:

~/.jira-subtask/
├── config.json
└── tasks.json

🔐 Configure Jira Credentials

Open the config file:

Update it with your Jira details:

{
  "baseUrl": "https://yourcompany.atlassian.net",
  "email": "[email protected]",
  "apiToken": "YOUR_JIRA_API_TOKEN",
  "projectId": "your project id"
}

Configuration notes

email → Jira login email
apiToken → Jira API token (NOT your password)
projectId → Jira project ID (not project key)

Create an API token here:
https://id.atlassian.com/manage-profile/security/api-tokens

📝 Customize Sub-tasks (Optional)
Open task template file:

Each task entry looks like:

{
  "type": "DEV",
  "summary": "[DEV] Code Changes",
  "description": "Implement required code changes",
  "assignee": "SELF"
}

Assignee behavior
"SELF" → assigned to the current user
"NONE" → created unassigned

▶️ Usage
Create all sub-tasks (DEV + QA + UX)
jira-subtask ABC-123

Create DEV + UX sub-tasks only
jira-subtask ABC-123 --dev-only

Create QA sub-tasks only
jira-subtask ABC-123 --qa-only

Create DEV sub-tasks only (without UX)
jira-subtask ABC-123 --skip-ux


⚠️ Only one flag at a time is supported.

🧪 Sample Output
Fetching Jira account...
🚀 Creating 6 sub-tasks for ABC-123
✅ ABC-201 → [DEV] Code Changes
✅ ABC-202 → [QA] Functional Testing
🎉 Done!


🧯 Troubleshooting
❌ 401 Unauthorized
Ensure API token is correct
Email must match Jira login email
Verify credentials using:
curl -u email:token https://yourcompany.atlassian.net/rest/api/3/myself

🔐 Security
No credentials are committed to the repository
Each user uses their own Jira API token
Tokens are stored locally on the user’s machine

📌 Notes
Works only with Jira Cloud
No Jira admin permissions required
Intended for internal team productivity