jirotion
v0.3.0
Published
A powerful CLI tool to seamlessly sync and migrate Jira tasks to Notion databases with automated todo lists and smart formatting
Downloads
525
Maintainers
Readme
🚀 Jirotion
Jira to Notion — Sync Jira issues assigned to you to Notion with an interactive terminal UI.
Prerequisites
- Node.js >= 18.0.0
- Jira account with API access
- Notion account with API access
Installation
Install globally via npm:
npm install -g jirotionAfter installation, configure your credentials:
jirotion configNote: The
configcommand will detect missing settings and prompt you to set them up interactively.
Getting API Tokens
Jira API Token
- Open your Atlassian Account Settings
- Go to the Security tab
- Click Create and manage API tokens
- Click Create API token
- Choose a name (e.g., "Jirotion") and an expiration date
- Click Create
- Copy the generated token and store it securely
⚠️ Important: Save the token immediately — you won't be able to see it again!
Notion Integration
- Go to Notion Integrations
- Click New integration
- Choose a name (e.g., "Jirotion")
- Optionally add an icon
- Select the Associated workspace
- Click Create
- Click Configure integration settings
- Copy the Internal Integration Secret and store it securely
Notion Database ID
- Open the Notion database where you want to create tasks
- Click
...in the top-right corner - Click Copy link
- From the URL, extract the Database ID:
notion.so/DatabaseName-{THIS_IS_THE_ID}?source=... - Go back to your database, click
...→ Connections → Add the Jirotion integration
⚠️ Important: You must connect the integration to the database, otherwise Jirotion won't be able to access it!
Usage
Configuration
jirotion configFirst-time setup — runs all sections in sequence: Jira → Notion → Todo items.
Existing config — shows a summary and opens a menu to update only the section you need:
? What would you like to update?
❯ 🔑 Jira credentials
📓 Notion credentials & databases
📋 Default todo items
✅ ExitEach section saves independently. Secret fields (API tokens, Notion key) can be left blank to keep the current value. Press Ctrl+C at any point to cancel without saving.
Interactive Sync (Main Feature)
Sync a Jira issue to Notion interactively:
jirotion syncWorkflow:
- 🔍 Fetch Issues — Your unresolved Jira tasks are loaded
- ✅ Select Issue — Choose the issue you want to sync
- 📁 Database — Auto-selects "Tasks" database (or prompts if multiple)
- 📂 Select Project — Optionally link the task to a Notion project (automatically syncs Stacks if configured)
- 📋 Customize Todo — Optionally add extra todo items between the configured start and end items
- ✏️ Edit Title — Review and edit the formatted title before import
- ✨ Task Created — Your Jira issue is now in Notion!
- 📝 Linked Notes — Automatic creation of "Task info" and "Difficulties" in your Notes DB (if configured)
Features
- 🏗️ Smart Task Titles — Automatically formats Jira summaries and lets you edit them before sync.
- 📋 Configurable Todo Lists — Define default start and end todo items in
jirotion config. Items added during sync are inserted between them. - 🔗 Project & Stack Sync — Linking a project automatically pulls its associated Stacks into the new Notion task.
- 📓 Automatic Notes — Creates linked "Task info" and "Difficulties" pages in a Notes database, with status set to Done and Jira description pre-filled as a bullet list in "Task info".
- ⚙️ Flexible Configuration — Supports optional databases (Notes, Stacks) for a more robust workflow.
Each synced task automatically includes a todo list structured as:
- [ ] (start items — configured in
jirotion config) - [ ] Create branch:
git checkout -b feat/PROJ-123 - [ ] Publish branch:
git push -u origin feat/PROJ-123 - [ ] (custom items added interactively during sync)
- [ ] Open PR for PROJ-123
- [ ] (end items — configured in
jirotion config)
Task titles are automatically formatted:
| Jira | Notion |
|------|--------|
| [Operations] Anagrafica - Dropdown | [WG-5345] Operations - Anagrafica - Dropdown |
| [FE] EMISSIONE FIR DIGITALE: Aggiungere regole | [WAS-926] Emissione Fir Digitale - Aggiungere regole |
Sync a Specific Issue
Quickly sync a Jira issue by key:
jirotion sync --key PROJ-123Sync to a Specific Database
jirotion sync --key PROJ-123 --database <notion-database-id>List Your Jira Tasks
jirotion listTech Stack
- Language: TypeScript
- CLI Framework: Commander.js
- Prompts: Inquirer.js
- Jira Client: Axios
- Notion Client: @notionhq/client
- Loading Indicators: Ora
- Styling: Chalk
Development
Clone the repository:
git clone https://github.com/FRJess/jirotion.git
cd jirotion
npm installRun in development mode:
npm run devBuild for distribution:
npm run buildLicense
MIT
