Jira

Jira tools in the DataToRAG MCP server: search issues with JQL, create, update, and transition them, comment, log work, link issues, and attach files.

Updated

DataToRAG is an MCP server whose Jira tools let an agent search, create, update, and move issues through their workflow, plus add, edit and delete comments, log and list time spent, link issues to each other, look up an attachment's details, and add a file as an attachment: from another connected service, a file your agent already holds, or a file you send from your computer through an upload link.

Jira tools

Tool Description
jira_search Search issues using JQL (Jira Query Language). Supports pagination via next_page_token
jira_get_issue Get full details for an issue by key (e.g. PROJ-123): summary, status, priority, assignee, reporter, description, labels, dates, comments count, attachments
jira_create_issue Create a new issue in a project, as a Task unless issue_type says otherwise, with assignee, priority, labels and other fields via additional_fields. Returns the issue key and URL
jira_update_issue Update an issue's summary, description, or arbitrary fields via additional_fields
jira_get_transitions Get available workflow transitions for an issue. Use returned IDs with jira_transition_issue
jira_transition_issue Move an issue to a new workflow status
jira_get_comments Get the comments on an issue. It makes one request and does not page, so on an issue with many comments the answer is the first page Jira returns
jira_add_comment Add a comment to an issue
jira_edit_comment Edit an existing comment
jira_delete_comment Delete a comment
jira_add_worklog Log time on an issue in Jira's duration format (1h 30m, 2d), optionally with a start time and a comment. Returns the stored worklog
jira_list_worklogs List the time logged on an issue: each worklog's author, time, start and comment, with the total in seconds
jira_link_issues Link two issues by a link type's name or phrase, e.g. PROJ-1 blocks PROJ-2. Returns the new link as Jira reports it
jira_list_issue_links List an issue's links, each read from that issue's side (blocks, is blocked by), and the link types the site has
jira_get_attachment Get attachment metadata by ID: filename, size, MIME type, content URL
jira_add_attachment Attach a file to an issue from a file reference: a Gmail message as its original .eml, one of its attachments by part id under the sender's file name, a Google Drive file as stored, or a Google Docs, Sheets or Slides file exported, such as a Doc as a PDF, a file your agent already holds (up to 1 MB), or a file you send from your computer through an upload link (up to 25 MB). filename renames it on the issue. A file from Gmail or Drive never passes through the conversation; the answer is a receipt with the name, size and SHA-256 of what was sent. See Moving files between services
jira_list_fields List all available fields (system + custom) to discover field IDs for creates/updates
jira_search_users Search users by name, username, or email. Returns display names and account IDs
jira_delete_issue Permanently delete an issue. See the warning below before using it

Scopes the Jira tools need

  • read:jira-work, write:jira-work, read:jira-user

Deleting a Jira issue

jira_delete_issue cannot be undone through the API. Deleted issues do not go to a trash or an archive, and Jira does not reuse the key, so every link, branch name and comment pointing at it breaks permanently.

Prefer transitioning the issue to Done or Won't Do, which keeps its history and leaves the key resolvable.

If you do delete: an issue with subtasks is rejected outright unless delete_subtasks is true, and passing that destroys the subtasks along with the parent. Linked issues are not deleted, only subtasks.

Using Jira on more than one account

Every tool on this page takes an optional account argument: the email address of the connected Atlassian account to act on. Omit it and the default account is used. Connect more than one Atlassian account and a single request can reach whichever one the work belongs to. An account that can reach several sites acts on the first site Atlassian lists for it.

Example prompts for Jira

  • "Find all Jira tickets assigned to me that are in progress, sorted by priority"
  • "Create a bug ticket in PROJ from the error in this email with steps to reproduce"
  • "Transition JIRA-456 to 'In Review' and add a comment linking the PR"
  • "What Jira tickets did I close this week? Summarize them for the standup"
  • "Update JIRA-789 with the new ETA and add a comment saying why it moved"

Frequently asked questions

Can I undo deleting a Jira issue?

No. Deleting an issue cannot be undone through the Jira API. Deleted issues do not go to a trash or an archive, and Jira does not reuse the key, so every link, branch name and comment pointing at it breaks permanently. Transitioning the issue to Done or Won't Do instead keeps its history and leaves the key resolvable.

What happens to subtasks when a Jira issue is deleted?

An issue with subtasks is rejected outright unless the delete call passes delete_subtasks, and passing it destroys the subtasks along with the parent. Linked issues are not deleted, only subtasks.

Can DataToRAG move a Jira issue through its workflow?

Yes. One tool lists the transitions available on an issue and returns their IDs, and a second moves the issue to a new workflow status using one of those IDs. Comments can be added, edited and deleted in the same session.

How do I find the ID of a Jira custom field?

There is a tool for it. The Jira fields tool lists every available field, system and custom, so you can discover the field IDs that creates and updates take.

Can I use more than one Atlassian site?

Yes. Every Jira tool takes an optional account argument naming the connected Atlassian account to act on, and omitting it uses the default account. Connect more than one Atlassian account and a single request can reach whichever one the work belongs to. An account that can reach several sites acts on the first site Atlassian lists for it.

What Jira permissions does DataToRAG ask for?

Three classic Atlassian scopes, covering reading and writing Jira work and reading Jira users. Confluence is separate on the same connection and uses granular scopes instead.

More answers are on the FAQ page.

Try this on your own account

Connect Atlassian once and your agent can run every tool on this page against your real data. Free to start, no card.

Get started free

By continuing you agree to our Terms of Service and Privacy Policy.