50 lines
1.0 KiB
Markdown
50 lines
1.0 KiB
Markdown
---
|
|
date: <% tp.date.now("YYYY-MM-DD") %>
|
|
jira: '<% await tp.system.prompt("Jira ticket (ex: PBI-123)") %>'
|
|
actual_sync_issue: false
|
|
status: investigating
|
|
---
|
|
|
|
<%*
|
|
const date = tp.frontmatter.date;
|
|
const jira = tp.frontmatter.jira;
|
|
const year = tp.date.now("YYYY");
|
|
const month = tp.date.now("MM");
|
|
|
|
const baseFolder = "20 Work/Tracking/Website Sync/Incidents";
|
|
const yearFolder = `${baseFolder}/${year}`;
|
|
const monthFolder = `${yearFolder}/${month}`;
|
|
|
|
if (!app.vault.getAbstractFileByPath(yearFolder)) {
|
|
await app.vault.createFolder(yearFolder);
|
|
}
|
|
|
|
if (!app.vault.getAbstractFileByPath(monthFolder)) {
|
|
await app.vault.createFolder(monthFolder);
|
|
}
|
|
|
|
await tp.file.move(`${monthFolder}/${date} - ${jira}`);
|
|
-%>
|
|
|
|
# <% tp.frontmatter.jira %> - Website Sync
|
|
|
|
## Observation
|
|
|
|
- Reported at: **<% tp.frontmatter.reported_at %>**
|
|
- Expected synchronization completion: **after 08:00**
|
|
- Observation:
|
|
|
|
## Verification
|
|
|
|
- Checked at:
|
|
- Content available:
|
|
- Technical issue identified:
|
|
|
|
## Outcome
|
|
|
|
-
|
|
|
|
## Classification
|
|
|
|
- **Status:** investigating
|
|
- **Actual sync issue:** false |