YouTrack Fetcher

by Forketyfork
5
4
3
2
1
Score: 52/100

Description

The YouTrack Fetcher plugin streamlines issue tracking by allowing you to fetch YouTrack tickets directly into your vault as structured notes. With keyboard shortcut support and a simple fetch dialog, you can retrieve issue details using just the ID. Notes are created using a default format or a custom template of your choice, and stored in a configurable folder. The plugin supports authentication via API token and works with both cloud and self-hosted YouTrack instances.

Reviews

No reviews yet.

Stats

4
stars
336
downloads
3
forks
361
days
1
days
228
days
196
total PRs
5
open PRs
21
closed PRs
170
merged PRs
6
total issues
0
open issues
6
closed issues
0
commits

Latest Version

8 months ago

Changelog

Fixed the layout of the search modal window on mobile screens.

README file from

Github

YouTrack Fetcher

Build status Latest Release MIT License TypeScript

This Obsidian plugin allows you to quickly fetch YouTrack issues and create notes from them in your Obsidian vault.

Features

  • Fetch YouTrack issues by ID or URL and create structured notes
  • Easy access via keyboard shortcut
  • API token authentication support
  • Configurable folder for storing issue notes
  • Configurable note template
  • Use ${field} placeholders in templates to insert values from fetched fields
  • Fields to fetch are parsed from your template automatically
  • You can specify arbitrarily nested fields, e.g., ${project.team.name}
  • Search for issues using YouTrack query language and import them from a paginated list

Installation

From Obsidian Community Plugins

  1. Open Obsidian
  2. Go to Settings > Community plugins
  3. Disable Safe mode if necessary
  4. Click Browse and search for "YouTrack Fetcher"
  5. Install the plugin
  6. Enable the plugin after installation

Manual Installation

  1. Download the latest release from the GitHub repository
  2. Extract the ZIP file into your Obsidian vault's .obsidian/plugins/ folder
  3. Enable the plugin in Obsidian settings

Usage

  1. Set up your YouTrack instance URL in plugin settings
  2. Configure API token if required for your YouTrack instance plugin settings
  3. Use the keyboard shortcut or click the clipboard icon in the ribbon fetch issue window
  4. Enter the issue ID or paste the full issue URL
  5. Click "Fetch Issue" to create a note based on the issue data fetched issue

Alternatively, you can use the "Search YouTrack issues" command to open a search modal. Here you can enter a YouTrack query to search for issues. The results are paginated, and you can import any issue from the list.

search

Note Format

The plugin creates notes with the following format. As an alternative, specify your own template in the plugin settings. You can use arbitrarily nested fields, e.g., ${project.team.name}.

# ${id}: ${title}

URL: ${url}

## Description

${description}

Any field referenced in the template can be used as a placeholder with ${field}. You can also use arbitrarily nested fields, e.g., ${project.team.name}.

The issue summary can also be used as a ${title} placeholder.

See the YouTrack API Issue entity documentation for a list of available fields.

Requirements

  • Obsidian v0.15.0 or higher
  • Access to a YouTrack instance (cloud or self-hosted)

Troubleshooting

If you have trouble fetching issues, check the following. If you're on macOS or Linux, you can use the provided curl commands in your terminal, replacing the example host, port, and token with your values.

  1. URL + network reachability: verify that YouTrack is accessible from your machine.

    Use the exact base URL you open in a browser, including port and any additional path like /youtrack.

    curl -s -o /dev/null -w "%{http_code}\n" https://youtrack.company.local:8080/youtrack
    
    • 200/302/401/403 = reachable
    • 000 = can't connect (VPN/DNS/firewall/port issue)
  2. API token (if your instance requires authentication).

    To get a token:

    • go to your profile: /users/me
    • click on "Update personal information and manage logins"
    • select "Account security"
    • scroll down to "Tokens" and click "New token"
    • set name and add "YouTrack" to token scope
    • click "Create" and copy the token

    Then enable "Use API token authentication" in the plugin settings and paste the generated token into "API token".

    How to check that the token works:

    curl -s -o /dev/null -w "%{http_code}\n" -H "Authorization: Bearer <your token here>" <base URL>/api/users/me
    
    • 200 = token works
    • 401/403 = token invalid or permissions issue
  3. Permissions / project access

    Ensure you have access to the project. Replace in the request below with the one you expect to have access to:

    curl -s -o /dev/null -w "%{http_code}\n" \
      -H "Accept: application/json" \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer <your token here>" \
      -G --data-urlencode "query=project: <project code>" \
      --data-urlencode "fields=idReadable,summary" \
      --data-urlencode "\$top=1" \
      <base URL>/api/issues
    
    • 200 = access ok
    • 403 = no permission

If you still face problems, create an issue. Also: in Obsidian, open View -> Toggle Developer Tools, check the Console for errors, and attach those logs to the ticket if possible.

Development

This project includes a Nix flake and direnv configuration for reproducible development environments, along with Just commands for common tasks.

Prerequisites
  • Nix with flakes enabled
  • direnv (optional but recommended)
Setup
  1. Clone the repository and enter the directory
  2. If using direnv, run direnv allow to automatically load the development environment
  3. If not using direnv, run nix develop to enter the development shell
Available Commands
# List all available commands
just

# Clean build artifacts
just clean

# Install dependencies
just install

# Full production build (includes tests, type checking, and formatting)
just build

# Development build with watch mode
just watch

# Run tests
just test

# Run linter
just lint

Using Yarn Directly

Run the development build with change watch:

yarn dev:watch

Run the TypeScript type check:

yarn typecheck

Run the linter:

yarn lint

Run the tests:

yarn test

Run the tests in watch mode:

yarn test:watch

Generate a coverage report:

yarn coverage

Run the production build (includes tests, type checking, and formatting):

yarn build

Bump the version in package.json and manifest.json, push the main branch, and publish a new tag:

yarn release -- <strategy|version>

My other plugins

  • Food Tracker: Track calories, macros, and nutrition totals with database and inline entries.
  • Grazie Plugin: Grammar and spell checking powered by JetBrains AI Platform (in development).
  • Speech Bubbles: Render transcript notes as chat-style speech bubbles.

License

This plugin is licensed under the MIT License.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Terminal
3 years ago by polyipseity
Integrate consoles, shells, and terminals.
HK Code Block
3 years ago by Heekang Park
Obsidian plugin developed by Heekang Park; Make code block looking good on reading view
Pieces for Developers
3 years ago by Pieces For Developers
Pieces' powerful extension for Obsidian-MD that allows users to access their code snippets directly within the Obsidian workspace
HamsterBase Official
3 years ago by HamsterBase
Simple File Push
2 years ago by Kim Hudaya
Simple file push blog plugin
Légifrance Intégration
2 years ago by hurj
Intégration de l'API Légifrance dans Obsidian.md
Plugin REPL
a year ago by readwithai
An in-note Read Evaluate Print Loop to execute JavaScript within Obsidian
Advanced Debug Mode
a year ago by mnaoumov
Obsidian plugin that enhances debugging experience.
Custom Commands
a year ago by Staaaaaaaaaan
Create custom commands to be executed in the command palette, and by hotkey. Currently supports opening specific notes, creating notes, inserting snippets, and executing sequences of commands.
MemoChron
a year ago by Michalis Efstratiadis
Calendar integration and note creation with support for public iCalendar URLs.
GitHub Integration
a year ago by Kirill Zhuravlev
Plugin that fetch your github stars into notes
Streams
a year ago by Floyd
Streams Obsidian Plugin
Gyazo Viewer
10 months ago by Helpfeel Inc.
Official Gyazo plugin for Obsidian
Canvas LLM
7 months ago by Mike Farlenkov
A canvas-like UI to talk with LLMs in Obsidian.
GH Links Shortener
6 months ago by David Barnett
Obsidian plugin to set shortened link text for pasted GitHub URLs
Open in Terminal
4 months ago by ChenFeng
Open your vault in a new terminal window or launch Claude Code, Codex CLI, or Gemini CLI from Obsidian
Archivist Importer
2 months ago by Archivist AI
Import selected vault files into Archivist campaigns.