Jira -> raia Agent
Jira to raia Agent Training (Vector Store)

As a user of raia Agent, I want to automatically sync content from a Jira board or space into a Raia Agent as a Markdown file. This will allow the agent to have up-to-date knowledge of our project status and documentation.
The n8n workflow should run on a nightly schedule and perform the following actions:
Fetch Jira Content: Retrieve all issues, comments, and attachments from a specified Jira board or an entire space.
Consolidate to Markdown: Convert the fetched Jira content into a single, well-structured Markdown file. The Markdown file should include clear metadata, such as:
Project Name
Board/Space Name
Sync Date
A table of contents
Upload to Raia Agent: Upload the generated Markdown file to the Raia Agent using the API.
Acceptance Criteria:
An n8n workflow is created that successfully fetches content from a Jira board/space.
The workflow consolidates the content into a single Markdown file with the specified metadata.
The workflow successfully uploads the Markdown file to the Raia Agent via the API.
The workflow is scheduled to run every night.
The workflow includes error handling and notifications for failed runs.
Technical Details:
Raia Agent API Endpoint:
POST /external/agent-files/uploadRequest Type:
multipart/form-dataAuthentication: API Key in the header.
Request Body:
file: The Markdown file to upload.autoAddToVectorStore:true(to make the content searchable by the agent).
Implementation Notes:
The n8n workflow will require credentials for both Jira and the Raia Agent API.
The Jira API can be used to fetch the board/space content.
The Markdown file should be structured for readability, using headings, lists, and tables where appropriate.
The workflow should be tested with a sample Jira board before being deployed to production. '''
Last updated

