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

Configure a templater template to use when adding note in jira-search view #113

Open gmkado opened 5 months ago

gmkado commented 5 months ago

Copying over from #20 since this is a slightly different request:

          @marc0l92 can you share how you use templater with this plugin?  I would like to be able to fill out a template page with jira data when using the "add note" feature of jira-search

Originally posted by @gmkado in https://github.com/marc0l92/obsidian-jira-issue/issues/20#issuecomment-1245987941

For me, creating a JIRA note is a two step process:

  1. Create new note from jira-search which adds an empty page with the jira number as the title
  2. Run templater on this empty page, which uses the title to generate a note based on the jira (with const issue = await $ji.base.getIssue(tp.file.title);

It would be nice if the "+" button could be configured to create the new page with a specific template so this becomes one step

gmkado commented 5 months ago

Separate but related, so let me know if this should be its own issue, but it would be nice if the jira-search notes column also picked up the newly created note.

Currently when you click the "+" icon it will create the note but not update the table, and you need to re-refresh the table to get it to show up.