Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] jira-search Snapshot on Note Creation #77

Open
levifig opened this issue May 12, 2023 · 2 comments
Open

[Feature] jira-search Snapshot on Note Creation #77

levifig opened this issue May 12, 2023 · 2 comments
Assignees
Labels
feature New feature or request

Comments

@levifig
Copy link

levifig commented May 12, 2023

Hey Marco,

First of all, fantastic plugin! Thank you!

I understand this is pretty niche request, but maybe others would find it useful.

I'd love to set a jira-search in a template, and have it run only once, at note creation, and write the snapshot of that search into the note. I assume it'd have to be a different field (e.g. jira-search-snapshot), and it would still require the rendering/styling magic the plugin is already doing (kinda like what we do with the compact mode).

The use case is to run daily team syncs: create the new sync note, which would pull a specific set of issues based on queries saved in the template, but they would be a saved snapshot at the time of the sync, and I could go back through my old sync notes and have that day's snapshot.

Does this make sense? I feel like it's doable, but I'm not sure I'm capable of writing it myself… 😅

Anyway, thank you for your time and for (even) considering this.

Cheers,
–LF

@levifig levifig added the feature New feature or request label May 12, 2023
@marc0l92
Copy link
Owner

The simplest way you can use to achieve this is to do a screenshot of the table and paste it in the daily note as a picture. It is not the best but it may be a starting point until I develop the feature.

Currently I take the data from the Jira server and I keep them in memory, then when obisdian is closed all the downloaded data are lost.
Wit this new tag we have few options to store the snapshot

  • store it in the plugin folder: not good if you use obsidian on multiple devices, but keeps the note small
  • store it inside the note: it will fill the note with a big json that will be hidden when you read it with obsidian, but not if you read the note with another editor
  • convert the output to a markdown table: light and portable, but you cannot change the columns after

What is the option that most fits your need?

@levifig
Copy link
Author

levifig commented Jun 10, 2023

I think the 3rd option fits the best. The goal for this tag would be to add it to daily stand up note templates, that would read and generate the output when creating the note from the template, and there's no need to change the output anymore, hence calling it a "snapshot". If I need to change the snapshot, I'd rather create a new note from the template, and copy+paste the content to the new note (this would be rare).

Does that make sense?

Thank you for your availability and work on this! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants