# Put the signed PDF from an email on a Jira issue

Your agent finds the signed PDF in an email thread and attaches it to the Jira issue you name, without the file passing through the conversation. DataToRAG gives an agent such as Claude, ChatGPT, or Cursor your Gmail and Jira through one connection, so the agent does this from a single request.

Updated: 2026-11-25  
Source: https://datatorag.com/use-cases/put-a-signed-pdf-from-an-email-on-a-jira-issue

## What to ask

> Find the signed services agreement in the thread with the supplier and attach the PDF to LEGAL-42.

## What the agent does

1. Find the thread with the signed agreement (`gws-mcp__gmail_search`)
2. Read the thread and list each attachment with its part id (`gws-mcp__gmail_read_thread`)
3. Attach the PDF to LEGAL-42, named by its message and part id (`atlassian-mcp__jira_add_attachment`)

## What comes back

It is on LEGAL-42. Here is the receipt, so you can check the file and the issue.

**Jira attachment: services-agreement-signed.pdf on LEGAL-42**

- Issue: LEGAL-42, Supplier agreement renewal, in the Legal project.
- Size: 412,318 bytes sent, and Jira reports the same size.
- SHA-256 of the file sent: 7c1e4a90, then 56 more characters to compare with your own copy.

Sample content. Yours comes from your own accounts.

## The tools it uses

- [Gmail docs](https://datatorag.com/docs/gmail.md)
- [Jira docs](https://datatorag.com/docs/jira.md)
