Menu

1 / 3

I got tired of the Jira Git PR ritual, so I automated it

DEV Community·Aashish Prasad·6 months ago
#2ESdWKI0
#git#javascript#cli#jira#commit
Reading 0:00
15s threshold

The 5-minute tax on every task

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

Write your code

Commit

Open Jira in a new tab

Click "Create" → fill in summary, description, component, work type, acceptance criteria

Copy the ticket key

git commit --amend to add it to your commit

git checkout -b ticket_key && git push -u origin ticket_key

Open the PR on GitHub

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.