generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 5
Sub Issues
Björn Platte edited this page Jan 16, 2026
·
1 revision
GitHub Sub-Issues allow you to break down large issues into smaller, trackable pieces. This plugin supports fetching and displaying sub-issues in your notes.
- Go to plugin settings
- Expand your repository settings
- Enable "Include sub-issues"
| Variable | Description | Example |
|---|---|---|
{sub_issues_count} |
Total count | 5 |
{sub_issues_open} |
Open count | 3 |
{sub_issues_closed} |
Closed count | 2 |
{sub_issues_progress} |
Progress | 2 of 5 |
{sub_issues_list} |
Formatted list | See below |
{sub_issues_simple_list} |
Simple list | See below |
{sub_issues_yaml} |
YAML array | [1, 2, 3] |
{sub_issues_numbers} |
Numbers only | #1, #2, #3 |
- <span class="github-issues-sub-issue-closed">●</span> [[Issue - 140|#140 Completed Feature]]
- <span class="github-issues-sub-issue-open">●</span> [#141 Pending Feature](https://github.com/...)Features:
- Green dot (●) for open issues
- Red dot (●) for closed issues
- Internal Obsidian link if issue exists in vault
- External GitHub link if issue doesn't exist
- [[Issue - 140|#140 Completed Feature]]
- [#141 Pending Feature](https://github.com/...)If an issue is a sub-issue of another, you can display the parent:
| Variable | Description |
|---|---|
{parent_issue} |
Parent title |
{parent_issue_number} |
Parent number |
{parent_issue_url} |
Parent URL |
{parent_issue_link} |
Markdown link |
{parent_issue_state} |
Parent state |
---
title: "{title_yaml}"
number: {number}
sub_issues: {sub_issues_yaml}
---
# {title}
{parent_issue:> **Parent:** {parent_issue_link}
}
{body}
{sub_issues:## Sub-Issues ({sub_issues_progress})
{sub_issues_list}
}The status icons use CSS classes that you can customize:
:root {
--github-issues-sub-issue-open-color: #22c55e; /* Green */
--github-issues-sub-issue-closed-color: #ef4444; /* Red */
}
.github-issues-sub-issue-open {
color: var(--github-issues-sub-issue-open-color);
}
.github-issues-sub-issue-closed {
color: var(--github-issues-sub-issue-closed-color);
}Add custom CSS via a CSS snippet in Obsidian to override the default colors.
The plugin automatically creates:
-
Internal links (
[[filename|#123 Title]]) when the sub-issue file exists in your vault -
External links (
[#123 Title](url)) when the sub-issue hasn't been synced yet
This happens automatically based on your filename template settings.