đź“‹ Automate daily YouTrack task summaries to Discord by assignee

⚡ 674 views · 📋 Project Management

Description

Daily YouTrack In-Progress Tasks Summary to Discord by Assignee

Keep your team in sync with a daily summary of tasks currently In Progress in YouTrack — automatically posted to your Discord channel.

This workflow queries issues, filters them by status, groups them by assignee and priority, and sends a formatted message to Discord. It’s perfect for teams that need a lightweight, automated stand-up report.

> 📝 This workflow uses Discord as an example. You can easily replace the messaging integration with Slack, Mattermost, MS Teams, or any other platform that supports incoming webhooks.

Use Case

Features

Setup Instructions

YouTrack Configuration

  1. Get a permanent token:

    • Go to your YouTrack profile → Account Security → Authentication
    • Create a new permanent token with “Read Issue” permissions
    • Copy the token value
  2. Set the base API URL:

    • Format: https://yourdomain.youtrack.cloud/api/issues
    • Replace yourdomain with your actual YouTrack instance
  3. Identify custom field IDs:

    • Method 1: Go to YouTrack → Administration → Custom Fields → find your “Status” field and note its ID
    • Method 2: Use API call GET /api/admin/customFieldSettings/customFields to list all field IDs
    • Method 3: Inspect a task’s API response and look for field IDs in the customFields array
    • Example Status field ID: 105-0 or 142-1

Discord Configuration

Environment Variables & Placeholders

PlaceholderDescription
{{API_URL}}Your YouTrack API base URL
{{TOKEN}}YouTrack permanent token
{{FIELD_ID}}ID of the “Status” custom field
{{QUERY_FIELDS}}Fields to fetch (e.g., summary, id)
{{PROJECT_LINK}}Link to your YouTrack project
{{USER_X}}YouTrack usernames
{{DISCORD_ID_X}}Discord mentions or usernames
{{NAME_X}}Display names
{{WEBHOOK_ID}}Discord webhook ID
{{DISCORD_CHANNEL}}Discord channel name
{{CREDENTIAL_ID}}Your credential ID in n8n

Testing the Workflow

  1. Test YouTrack connection:

    • Execute the “HTTP Request YT” node individually
    • Verify that issues are returned from your YouTrack instance
    • Check if the Status field ID is correctly filtering tasks
  2. Verify filtering:

    • Run the “Filter fields” node
    • Confirm only “In Progress” tasks pass through
  3. Check message formatting:

    • Execute the “Discord message” node
    • Review the generated message content and formatting
  4. Test Discord delivery:

    • Run the complete workflow manually
    • Verify the message appears in your Discord channel
  5. Schedule verification:

    • Enable the workflow
    • Test weekend skip functionality by temporarily changing dates

Customization Tips

đź”— Nodes Used

HTTP Request, Discord, Schedule Trigger, Filter

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup