Skip to main content

Automate daily YouTrack task summaries to Discord by assignee

Workflow preview

Workflow preview
100%
Automate daily YouTrack task summaries to Discord by assignee preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • Project Management automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.httprequest, n8n-nodes-base.filter, n8n-nodes-base.discord

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Halfbit ๐Ÿš€.

Original n8n.io source

1.1 Workflow description

Title
Automate daily YouTrack task summaries to Discord by assignee
Workflow name
Automate daily YouTrack task summaries to Discord by assignee

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

  • Remote development teams using YouTrack + Discord
  • Replacing daily stand-up meetings with async updates
  • Project managers needing quick visibility into active tasks

Features

  • Scheduled daily execution (default: weekdays at 09:00)
  • Status filter: only issues marked as In Progress
  • Grouping by assignee and priority
  • Custom mapping for user mentions (YouTrack โ†’ Discord)
  • Clean Markdown output for Discord, with direct task links

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

  • Create a webhook URL in your Discord server:
    • Server Settings โ†’ Integrations โ†’ Webhooks โ†’ New Webhook
    • Choose target channel and copy the webhook URL
    • Extract webhook ID from URL (numbers after /webhooks/)

Environment Variables & Placeholders

Placeholder Description
{{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

  • Language: All labels/messages are in English โ€” customize if needed
  • User mapping: Adjust assignee โ†’ Discord mention logic in the message builder
  • Priorities: Update the priorityMap to reflect your own naming structure
  • Schedule: Modify the trigger time in the Schedule Trigger node
  • Alternative platforms: Swap out the Discord webhook for another messaging service if preferred

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 3 - Weekend checker

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - If it is weekend, the script is not run

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - HTTP Request YT

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Filter fields

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 7 - Discord message

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Discord notification

Type / Role
n8n-nodes-base.discord - discord
Config choices
Version 2

Block 9 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automate daily YouTrack task summaries to Discord by assignee
Complexity intermediate
Nodes 10
Categories Project Management
Author Halfbit ๐Ÿš€
Published 13 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4019/4019.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate daily YouTrack task summaries to Discord by assignee do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Project Management use case.