---
title: "Send Jira Issues to an AI Coding Agent | AgentRQ Guidelines"
url: https://agentrq.com/guidelines/hooks/send-jira-issues-to-an-ai-coding-agent
description: "Send a Jira Cloud issue to your AI coding agent in one click: register AgentRQ's jira hook, add a Send to AgentRQ automation rule, and the agent gets a task."
---

![](https://agentrq.com/assets/guideline-icons/ticket.svg) Checked November 26, 2026 | [All Hooks guides](https://agentrq.com/guidelines/hooks/)

# Send Jira Issues to an AI Coding Agent

To send a Jira Cloud issue to an AI coding agent, register AgentRQ's built-in **jira** hook with your Jira account id, then have a Jira project admin add a **Send to AgentRQ** automation rule that posts the issue to the hook's payload URL. After that, you open an issue assigned to you, pick **Actions → Send to AgentRQ**, and a task with the issue's key, summary, link and description shows up in your workspace for its agent.

This page is one of our [Hooks guidelines](https://agentrq.com/guidelines/hooks/). It follows the [Jira docs](https://github.com/agentrq/agentrq/blob/main/docs/JIRA.md) and was checked against AgentRQ v0.19.6 on November 26, 2026.

## The Five Steps at a Glance

| Step | Who | Where |
| --- | --- | --- |
| 1. Add the jira hook to the server | the server's operator, once | AgentRQ admin page |
| 2. Find your Jira account id | you | Jira |
| 3. Make an event, and a trigger that creates the task | you | AgentRQ, **Events** |
| 4. Register the hook | you | AgentRQ, **Events → Hooks** |
| 5. Make the "Send to AgentRQ" rule | a Jira project admin | Jira, **Project settings → Automation** |

## Before You Start

- → A workspace with an agent connected, here **web-app**.
- → Jira Cloud, and a project admin who can create automation rules.
- → A server Jira can reach. On agentrq.com it can. Self-hosted, `AGENTRQ_BASE_URL` must be a public `https://` address: see [make the payload URL reachable](https://agentrq.com/guidelines/hooks/check-hook-deliveries-replay-rotate-and-reach-your-server#make-the-payload-url-reachable).

## Step 1: Add the jira Hook to the Server

If **jira** is already listed when you choose **Events → Hooks → New registration**, skip this step. Otherwise the server's operator adds it once: download `agentrq-hook-jira_<version>.wasm` from the server's release on GitHub, sign in at `<AGENTRQ_BASE_URL>/admin/login` with the root access token and upload it on the **Hooks** tab. [Install a built-in hook](https://agentrq.com/guidelines/hooks/check-hook-deliveries-replay-rotate-and-reach-your-server#install-a-built-in-hook-on-a-self-hosted-server) shows how to do it from a script.

## Step 2: Find Your Jira Account Id

In Jira, click your avatar, then **Profile**. The address ends in your account id: `https://<site>.atlassian.net/jira/people/<account id>`, for example `5b10ac8d82e05b22cc7d4ef5`.

The hook matches people by account id only. A display name can be shared by two people and changed by anybody, and Jira Cloud does not send email addresses.

## Step 3: Make an Event and Its Trigger

**1. Open Events and click + New Event.** Name it, for example `jira_issue`, and create it.

**2. On the event's page, click + Add trigger.**

**3. Target Workspace:** the workspace whose agent should do the work, here **web-app**.

**4. Task Title:** for example "Jira issue". Every task gets this title; the issue's own summary is in the instructions.

**5. Task Instructions:** what the agent should do, with `{{EVENT_PAYLOAD}}` where the issue goes. **+ Event payload** inserts it. For example:

text

```text
Work on this Jira issue, then open a pull request.

{{EVENT_PAYLOAD}}
```

**6. Click Create trigger.**

## Step 4: Register the jira Hook

Open **Events → Hooks** and click **New registration**. Name it, for example `Jira WEB`, then:

**1. Pick the jira hook.**

**2. Click Generate, then Copy** the **Secret**. Jira needs it in step 5, and it is never shown again.

**3. Assignees:** your account id from step 2. The issue must be assigned to one of these people.

**4. Actors:** your account id again. One of these people must be the one who ran the rule, so a teammate running it on your issue starts nothing.

**5. Route jira.issue.sent to your event.** Leave the other three **Not routed** unless you also set up the [admin webhook](https://agentrq.com/guidelines/hooks/send-jira-issues-to-an-ai-coding-agent#jira-admin-webhook) below.

Separate several account ids with commas. For a team's shared workspace, list everybody's in both **Assignees** and **Actors**. Two optional inputs narrow it further: **Project keys**, such as `WEB`, and **Labels**, where the issue must carry one of them, such as `agentrq`.

![Steps 1 to 5: the New registration form with the jira hook picked, the Generate and Copy buttons for the Secret, the Assignees and Actors fields, and jira.issue.sent routed to an event](https://agentrq.com/assets/guidelines/hooks-jira-1-registration.png)

**6. Click Create registration, then Copy URL.** The registration's page now shows its **Payload URL**, in full this once only. If you lose it, **Rotate** makes a new one. The same page lists the routes, and later each request under **Deliveries**.

![Steps 1 to 3: the jira registration's page, with the Copy URL button, the jira.issue.sent route and a Published delivery](https://agentrq.com/assets/guidelines/hooks-jira-2-payload-url.png)

## Step 5: Make the "Send to AgentRQ" Rule in Jira

A Jira project admin, or a Jira admin, does this:

**1. Open the project's Project settings → Automation, and click Create rule.**

**2. Trigger: Manual trigger from work item.** Under **Groups that can run trigger**, you can limit who sees it.

**3. Action: Send web request**, filled in like this:

| Field | Value |
| --- | --- |
| Web request URL | the Payload URL from step 4 |
| HTTP method | POST |
| Web request body | **Work item data (Jira format)**. Not Automation format: it does not say who ran the rule, so **Actors** never matches |
| Headers | name `Authorization`, value `Bearer <Secret from step 4>`, and tick **Hidden** |

**4. Name the rule Send to AgentRQ, and turn it on.**

A rule sends to one Payload URL, which belongs to one person's registration. Each person who wants their own tasks needs their own rule, or another **Send web request** action, with their URL and secret, in a shared rule.

## Try It

Open an issue assigned to you and choose **Actions → Send to AgentRQ**. Within a few seconds a task titled as in step 3 appears under **Not started** in the workspace, and the agent picks it up. The task's instructions carry the issue's key, summary, link, details and description as plain text:

![Steps 1 and 2: the task the jira hook created in web-app, with the trigger's title and the Jira issue WEB-142 in its instructions](https://agentrq.com/assets/guidelines/hooks-jira-3-task.png)

## If No Task Appears

Open the registration in **Events → Hooks** and look at its **Deliveries**:

| What you see | Why |
| --- | --- |
| No delivery at all | Jira did not reach the server. Check the rule's audit log in Jira, and that `AGENTRQ_BASE_URL` is reachable from the internet. |
| rejected "neither an X-Hub-Signature nor an Authorization: Bearer header…" | The rule's Authorization header is missing, or its secret is not the registration's. |
| rejected "the registration's assignees is empty…" (or actors) | Fill in **Assignees** and **Actors**. |
| ignored | The issue is not assigned to one of your **Assignees**, it was not one of your **Actors** who ran the rule, the body is not **Jira format**, or **Project keys** or **Labels** left it out. |
| published, but no task | The event has no trigger, or **jira.issue.sent** is not routed to it. |

[Check hook deliveries](https://agentrq.com/guidelines/hooks/check-hook-deliveries-replay-rotate-and-reach-your-server) explains every status.

## Other Ways to Send Issues

**Other rule triggers.** The same rule can run on other triggers than a click, such as **Work item transitioned** to a status, or a label being added. Keep the conditions narrow: every request Jira sends is stored and checked, even one the filters then leave out.

**A Jira admin webhook.** A Jira admin can add a webhook in **Jira settings → System → WebHooks**, with the Payload URL, the registration's **Secret** and a JQL filter such as `project = WEB AND assignee = 5b10ac8d82e05b22cc7d4ef5`. It sends three more events, which you route in the registration like jira.issue.sent:

| Hook event | When |
| --- | --- |
| jira.issue.sent | Someone ran the Send to AgentRQ rule |
| jira.issue.created | An issue was created |
| jira.issue.updated | An issue was changed |
| jira.comment.created | A comment was added |

For the webhook events, the actor is whoever created or changed the issue, or wrote the comment. Jira signs these requests itself, in **X-Hub-Signature**, so no Authorization header is needed.

## Let the Agent Write Back to Jira

The hook only reads from Jira. For the agent to comment on the issue or move it when done, give the workspace access to Jira, such as the Atlassian MCP server, and say so in the trigger's instructions: "When the pull request is open, comment its link on the issue and move it to In Review."

## FAQ

### Why are Assignees and Actors both required?

Assignees makes sure the issue is yours. Actors makes sure you are the one who sent it. Without Actors, anybody who can run the rule could start a task in your workspace by sending one of your issues.

### Can a whole team share one rule?

Yes, if the team shares one workspace: list everybody's account id in both **Assignees** and **Actors** of one registration. If each person has their own workspace, each needs their own registration, and the rule needs one Send web request action per person.

### Does the hook work with Jira Data Center?

It is built for Jira Cloud's payloads and account ids. For a server that sends something else, use the [generic hook](https://agentrq.com/guidelines/hooks/start-an-agent-task-from-any-webhook-with-the-generic-hook) or [write your own](https://agentrq.com/guidelines/hooks/write-your-own-agentrq-hook-in-webassembly).

### Can I limit it to one project?

Yes. Put the project key in **Project keys**, and add the rule only in that project. **Labels** limits it further to issues carrying a label such as `agentrq`.
