Skip to content
Asep Sunarya

Writing

How I Automated Our Development Workflow with Jira, GitHub and Claude

How a small webhook service took over from our Jira Automation rules, and how Claude now works on tickets, reviews them and prepares releases as they move across the board.

November 28, 2026 · Automation

Our development flow runs on the Jira board. Moving a ticket is what starts the next step: an agent picks the ticket up when it enters In Progress, another reviews the pull request when it enters Code Review, and a third prepares the production release when it reaches the release queue. Jira Automation rules used to do the triggering. Then the rules stopped.

The quota problem

Jira Automation on the Free plan has a monthly execution quota, and at our pace it ran out in about a week. After that every rule stopped until the next month, and development stopped with it. All seven rules were in daily use, so cutting some was not an option. Upgrading the plan meant a recurring cost for a problem a small service could solve. A Jira Forge app would have needed its own development and deploy cycle, and we already had a server and a Node stack.

Jira's built-in webhooks do not use that quota. They send every issue change, with its changelog, to a URL you register. So I moved the logic of the rules into a webhook service of our own.

A small service in the middle

The service is written in TypeScript on Express, with only two other runtime dependencies: Zod for validation and pino for logs. It receives two kinds of request: webhooks from Jira, and callbacks from the GitHub Actions workflow that runs our production releases.

Every request takes the same path. The signature is verified with HMAC-SHA256 over the raw body before anything is parsed. The payload is validated, matched to a flow, checked against a dedupe list, and answered with a 202 straight away. The flow then runs in the background, and jobs for the same ticket run in order.

Signatures matter here because a forged request could start a production release or move a ticket to Done. The GitHub callback signs a timestamp together with the body, so an old request is rejected. Jira sends no timestamp, so protection against replays comes from the dedupe list and from one rule I kept everywhere: before a flow decides anything, it fetches the ticket from Jira again. Deliveries can arrive late or more than once, and if the ticket is no longer in the status the event announced, the flow skips it.

That rule is also why there is no database. Jira is the source of truth and everything else is short-lived, so the dedupe list and the job queue live in memory. The price is that the service has to run as exactly one instance.

What happens to a ticket

A ticket opts in with a label. After that the board drives everything.

  • In Progress. Claude reads the ticket, including its repository and branch fields, creates the working branch, implements the change, runs the tests and lint, and opens a pull request. Then it moves the ticket to Code Review and leaves the PR links in a comment. If a required field is empty, it asks in a comment instead of guessing.
  • Code Review. A second agent reviews the pull request against the ticket's acceptance criteria and looks for bugs, security problems and missing tests. It only reviews: it never approves, merges or pushes. Blockers go back to the ticket as a comment and the ticket returns to In Progress, where the first agent picks up the revision. After three rounds it stops and asks for a human reviewer. A clean review moves the ticket on, but the pull request still waits for a person to check and merge it.
  • Staging. Adding a label sends the change to staging. An agent merges the ticket's branch into the sprint and staging branches and asks the release workflow for a staging tag, and CI deploys from that tag.
  • Release queue. Another agent checks that the ticket's pull requests are merged, brings the target branch into main through a pull request if that is still needed, waits for CI, works out the next version tags, and writes a release plan into the ticket along with a summary of the change for end users. It does not create the tags.
  • Release approved. A person moves the ticket to this status. The service then dispatches the release workflow on GitHub Actions with the release plan, and the workflow reports back as it tags and deploys. On success the service moves the ticket, and any tickets released with it, to Done. On failure the ticket stays where it is, with a comment that says why.

The same service does a few smaller jobs. It keeps a sprint spreadsheet in sync with ticket changes, and it starts the agents that draft the sprint presentation and the test documentation.

Approval is a status, not a button

Approval used to be a manual button, itself a Jira Automation feature. Now it is a status that can only be reached from the release queue, and moving a ticket there is the approval. Jira controls who may do that and records who did.

Talking to Claude

The service holds none of the agents' logic. It starts the right agent with the ticket key, as a Claude Code routine or as a Claude Managed Agents session, depending on a label. Working a ticket and reviewing it run on Claude Opus. Staging and release preparation run on Claude Haiku. Each stage keeps one session for as long as the ticket lives. The session history goes into a single JSON file, the only state the service writes to disk.

Moving over without stopping work

I did not switch everything at once. Two settings made a gradual move possible. In dry-run mode the service still fetches tickets and logs what it would have done, but it calls nothing. And a list of enabled flows lets one flow go live while the others stay off. Each flow is turned on in the service first, and then the old rule behind it is turned off.

What I accepted

The design has costs, and I wrote them down next to the decisions.

  • If the service restarts in the middle of a job, that event is lost. Jira does not resend a delivery that was already answered with a 202, so the ticket has to be triggered again by hand.
  • After a restart the dedupe list is empty. A late redelivery can then run a flow twice if the ticket is still in the same status.
  • One server and one process is a single point of failure.

For one team and one project, that is a fair trade for not running a database and a queue.

The board is still the interface. A developer moves a ticket, and the next step starts.

Filed under Automation, Jira, GitHub, Claude