惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
DataBreaches.Net
L
LangChain Blog
博客园_首页
J
Java Code Geeks
博客园 - 【当耐特】
Microsoft Azure Blog
Microsoft Azure Blog
小众软件
小众软件
WordPress大学
WordPress大学
V
Visual Studio Blog
T
The Blog of Author Tim Ferriss
U
Unit 42
酷 壳 – CoolShell
酷 壳 – CoolShell
Recent Announcements
Recent Announcements
C
Check Point Blog
IT之家
IT之家
Engineering at Meta
Engineering at Meta
N
Netflix TechBlog - Medium
A
About on SuperTechFans
aimingoo的专栏
aimingoo的专栏
D
Docker
有赞技术团队
有赞技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
阮一峰的网络日志
阮一峰的网络日志
I
InfoQ

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
I got tired of the Jira Git PR ritual, so I automated it
Aashish Pras · 2026-04-27 · via DEV Community
Cover image for I got tired of the Jira Git PR ritual, so I automated it

Aashish Prasad

The 5-minute tax on every task

If you use Jira and Git, you know this loop:

  1. Write your code
  2. Commit
  3. Open Jira in a new tab
  4. Click "Create" → fill in summary, description, component, work type, acceptance criteria
  5. Copy the ticket key
  6. git commit --amend to add it to your commit
  7. git checkout -b ticket_key && git push -u origin ticket_key
  8. Open the PR on GitHub
  9. Drag the ticket from "To Do" to "In Code Review"

Steps 3–9 take five minutes if everything goes smoothly. Multiply by 5
tasks a day, by your team size, by 200 working days. That's a lot of
human time spent moving a card on a screen.

What if it could be like this:

Enter commit-to-jira

npm install -g commit-to-jira
commit-to-jira setup    # one-time
commit-to-jira build    # every task

Enter fullscreen mode Exit fullscreen mode

$ commit-to-jira build

--- TICKET PREVIEW ---
Project:    PROJ
Summary:    build: Remove legacy payment adapter and feature flags
Commits:    2
  1. build: Remove legacy payment adapter and feature flags
  2. Remove org-level feature flags
Dev branch: development
----------------------

? Create Jira ticket, rewrite commits, open a PR, and move ticket to code review? Yes

Fetching your Jira account...
Fetching project metadata...
? Work type: Story
? Component: Frontend
? Acceptance Criteria: Satisfy all the requirements in the description

🚀 Creating Jira ticket...
✅ Jira ticket created: PROJ-1042

✏️  Rewriting 2 commit(s)...
  → build(PROJ-1042): Remove legacy payment adapter and feature flags
  → fix(PROJ-1042): Remove org-level feature flags
✅ Commits rewritten.

🌿 Creating branch: PROJ-1042
Switched to a new branch 'PROJ-1042'
remote:
remote: Create a pull request for 'PROJ-1042' on GitHub by visiting:
remote:      https://github.com/acme/my-app/pull/new/PROJ-1042
remote:
To https://github.com/acme/my-app.git
 * [new branch]      PROJ-1042 -> PROJ-1042
✅ Branch pushed: PROJ-1042

? PR base branch (enter to use "development"): development

📬 Opening GitHub PR...
✅ PR opened: https://github.com/acme/my-app/pull/87

🔄 Moving ticket to "CODE REVIEW"...
✅ Ticket moved to "CODE REVIEW".

🎉 All done! Ticket: https://yourcompany.atlassian.net/browse/PROJ-1042

Enter fullscreen mode Exit fullscreen mode

How it works

It runs git log @{-1}..HEAD to grab every commit you've made since
branching off, then walks you through three short prompts (work type,
component, acceptance criteria), creates the Jira ticket, rewrites your
commit messages to follow the conventional-commit-with-ticket-key format
via a non-interactive rebase, creates a branch named after the ticket,
pushes it, opens a PR, and transitions the ticket to your "code review"
status.

The clever bit is the commit rewrite — it spawns temporary shell scripts
as GIT_SEQUENCE_EDITOR and GIT_EDITOR, so the rebase happens with
zero terminal interaction even though it's interactive under the hood.

Conventional commits, automatically

Before After
fix: remove old route fix(PROJ-1042): remove old route
feat(auth): add SSO feat(PROJ-1042): add SSO
Update config file fix(PROJ-1042): Update config file

What if I don't use GitHub?

Skip the GitHub token in setup. The tool stops after creating the Jira
ticket and rewriting your commits — still useful.

Source / install

Would love to hear what's broken in your workflow that I should add.