jitocu
v0.1.1
Published
Copy Jira issues to ClickUp with an interactive terminal UI
Maintainers
Readme
jitocu
Jira to ClickUp - Copy Jira issues assigned to you to ClickUp with an interactive terminal UI.
Prerequisites
- Bun runtime installed (required for development only)
- Jira account with API access
- ClickUp account with API access
Installation
Install globally via npm:
npm install -g jitocuOr with Bun:
bun install -g jitocuAfter installation, configure your credentials:
jitocu configNote: The
configcommand will detect missing settings and prompt you to set them up interactively. You can also set values manually usingjitocu config set <path> <value>.
Getting API Tokens
Jira API Token
- Go to Atlassian Account Settings
- Click "Create API token"
- Give it a label and copy the token
ClickUp API Token
- Log in to your ClickUp account
- Click your avatar in the bottom-left corner
- Select Settings
- Click Apps in the left sidebar
- Under "API Token", click Generate (or Regenerate if you already have one)
- Click Copy to copy your API token
- Store it securely - you won't be able to see it again
ClickUp Workspace ID
- Log in to ClickUp and navigate to your workspace
- Click Settings in the sidebar
- Click Workspaces
- Your Workspace ID is displayed under the workspace name (it's a numeric ID like
1234567) - Alternatively, you can find it in the URL when viewing your workspace:
https://app.clickup.com/{WORKSPACE_ID}/...
Usage
Configuration
Configure your Jira and ClickUp credentials:
jitocu configThe config command will:
- Check for missing settings
- Prompt you to set them up interactively if any are missing
- Guide you through the setup process
Manual configuration (optional):
# Set individual values
jitocu config set jira.domain 'your-domain.atlassian.net'
jitocu config set jira.email '[email protected]'
jitocu config set jira.apiToken 'your-jira-token'
jitocu config set clickUp.apiToken 'your-clickup-token'
jitocu config set clickUp.workspaceId 'your-workspace-id'
# View a specific setting
jitocu config get jira.domain
# List all settings
jitocu config listInteractive Copy (Main Feature)
Copy Jira issues to ClickUp interactively:
jitocuWorkflow:
- 🔍 Search Issues - Type to fuzzy search your Jira issues
- ✅ Select Issue - Choose the issue you want to copy
- 📁 Choose Folder - Select a ClickUp shared folder
- 📋 Choose List - Select a list within the folder
- ✨ Task Created - Your Jira issue is now in ClickUp!
Create Single Ticket
Quickly create a ClickUp task from a Jira issue without interactive prompts:
jitocu create --key PROJ-123 --list "My List Name"Required flags:
-k, --key <ISSUE-KEY>- Jira issue key (e.g., PROJ-123)-l, --list <LIST-NAME>- ClickUp list name where the task will be created
Example:
jitocu create -k PROJ-456 -l "Sprint Backlog"Tech Stack
- Runtime: Bun
- Language: TypeScript
- CLI Framework: Commander.js
- Prompts: @inquirer/prompts
- Fuzzy Search: fuzzy
- Loading Indicators: ora
- Styling: chalk
Development
Setup for Contributors
- Clone the repository:
git clone <repository-url>
cd jitocu- Install dependencies:
bun install- Configure your credentials:
bun run src/cli.ts config- Run in development mode with auto-reload:
bun run devBuild and Test
Build for distribution:
bun run buildTest the built CLI globally:
bun link
jitocu --helpRun tests:
bun testKey Features
- Type-safe API clients for Jira and ClickUp
- Persistent configuration storage with JSON
- Interactive CLI with fuzzy search
- Loading states and error handling
- Atomic settings updates
License
MIT
