marc0l92 / obsidian-jira-issue

This plugin allows you to track the progress of Atlassian Jira issues from your Obsidian notes.
https://marc0l92.github.io/obsidian-jira-issue/
GNU Affero General Public License v3.0
220 stars 34 forks source link

[Feature] Allow Obsidian search function to scan titles (aka summaries) of JIRA tickets #117

Open SebastianMC opened 4 months ago

SebastianMC commented 4 months ago

As an user of this amazing obsidian-jira-issue plugin (thanks a lot for creating it!!!) I'd like the JIRA ticket titles (aka summaries) to be included in Obsidian search.

For now they are displayed by the plugin on-the-fly, yet the underlying content of .md notes remains intact and contains only JIRA ticket key(s) and/or JIRA query/queries. In result, the titles of JIRA tickets are invisible to Obsidian search

For my personal use I created a simple solution by introducing a new command to this plugin which performs a cache-dump (key+title pairs) to a local .md file in the vault. This does the job and in result Obsidian search can find text in titles and show it, together with JIRA ticket key.

I've uploaded the solution which I'm using locally to a new branch of my fork of this original repository and opened the PR #118 for an easy overview of the code additions

Below the idea of the format of auto-generated key + titles inventory

Bla bla bla

=== DO NOT MODIFY BELOW THIS LINE - IT WILL BE OVERWRITTEN ===

Key Summary
AB-1234 A summary of the ticket goes here
XYZ-35423 Summary of the ticket read from JIRA goes here
... ...