Automate JIRA Issue Management with n8n and AI

This n8n workflow automates handling long-lived JIRA issues using AI. It helps classify, resolve, or close tickets with reminders and customer satisfaction feedback, saving time and improving support efficiency.
jira
lmChatOpenAi
slack
+12
Workflow Identifier: 1254
NODES in Use: scheduleTrigger, jira, aggregate, set, lmChatOpenAi, textClassifier, sentimentAnalysis, agent, chainLlm, notionTool, jiraTool, slack, executeWorkflow, executeWorkflowTrigger, stickyNote
Automate JIRA issues with n8n and AI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow checks for unresolved JIRA tickets open more than 7 days.
It reads all conversations on each ticket and uses AI to decide the ticket’s status.
It tries to solve tickets automatically or asks for more details.
It sends reminders or closes tickets based on results.
This helps support teams save time and keep customers happier.


Tools and Services Used

  • n8n: Automation platform to run the workflow.
  • JIRA Software Cloud: Source of support tickets.
  • OpenAI: Provides AI for state classification, sentiment analysis, and generating comments.
  • Slack: Sends alerts for negative or unresolved tickets.
  • Notion: Knowledge base for finding solutions.

Step-By-Step: How to Use This Workflow in n8n

Step 1: Import and Setup

  1. Download the workflow file by clicking the Download button on this page.
  2. Open n8n editor where you want to run this.
  3. Import the workflow using the Import from File option.

Step 2: Configure Credentials and IDs

  1. Add your JIRA API Key and connection in the workflow credentials.
  2. Set up OpenAI API Key for AI nodes (classification, sentiment, reply generation).
  3. Input Slack credentials and target Slack channel ID to get alerts.
  4. Connect Notion with API Key and update database or page IDs for knowledge base query.
  5. Check and update any IDs, email addresses, or URLs inside message nodes as needed.

Step 3: Test the Workflow

  1. Run the workflow manually on a test issue to see if it finds issues and processes AI steps.
  2. Check returned comments, classifications, and Slack messages.

Step 4: Activate for Production

  1. Enable the Schedule Trigger node to run daily automatically.
  2. Keep an eye on execution logs for errors or missing credentials.
  3. Adjust prompt texts or JQL queries if needed for tuning.

If running on your own server, consider using self-host n8n for better control.


Workflow Inputs, Processing, and Outputs

Inputs

  • JIRA issues that are open and older than 7 days.
  • All comments and metadata from those issues.
  • Company knowledge base content from Notion.

Processing Steps

  • Use JQL query in JIRA node to fetch unresolved tickets older than 7 days.
  • Extract detailed metadata and gather all comments per ticket.
  • Transform comments into easy readable text thread for AI.
  • Use OpenAI GPT-4 model to classify ticket status (resolved, pending info, or no response).
  • If resolved, run sentiment analysis on customer tone to decide next steps.
  • Search similar tickets and product docs in Notion to try auto-solving unresolved tickets.
  • Post AI-generated replies or reminders to tickets.
  • Close tickets if solved or escalate negative sentiment tickets by sending Slack alerts.

Outputs

  • Comment updates on JIRA tickets with AI responses.
  • Automatic ticket closures or follow-up reminders.
  • Slack notifications for unresolved issues with negative feedback.

Common Issues and Fixes

No Tickets Found by JIRA Node?

Check if the JQL in the Get List of Unresolved Long Lived Issues node is correct.
Try the same query manually inside JIRA search to see results.

AI Returns No Solution?

Make sure Notion knowledge base has enough info and is correctly connected.
Verify OpenAI API key is active and not over quota.

No Slack Messages?

Confirm Slack credentials and channel IDs are valid in n8n.
Test simple Slack messages before running automated alerts.


Customizations

  • Adjust the “older than 7 days” filter in the JQL query to shorter or longer periods.
  • Switch OpenAI models in AI nodes for balance between cost and quality.
  • Change URLs in feedback request messages to your preferred review platform.
  • Add more Slack notifications for events like reminders or escalations.
  • Rewrite reminder prompts in the AI nodes to fit your company tone.

Summary of Benefits and Results

✓ Saves support team hours by automating checking and replying.
✓ Stops tickets from being forgotten or delayed.
✓ Improves customer happiness through faster info and feedback requests.
✓ Helps focus human attention on bad or complicated tickets by sending alerts.

Automate JIRA issues with n8n and AI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Test the JQL query directly in JIRA search. Make sure the query filters issues older than 7 days and still unresolved.
Check the knowledge base in Notion is well filled and connected. Confirm OpenAI API key is valid and with credits.
Verify Slack API credentials and channel IDs are correct in n8n. Test sending simple Slack messages first.
Yes, the workflow processes tickets in parallel but watch API call limits to avoid blocking.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.