vault backup: 2026-08-19 11:25:06

This commit is contained in:
2026-08-19 11:25:06 -04:00
parent 1ffff7727d
commit 83fe0a1c5a
10 changed files with 214 additions and 65 deletions
+1 -1
View File
@@ -43,7 +43,7 @@
}, },
{ {
"folder": "20 Work/Tracking", "folder": "20 Work/Tracking",
"template": "10 Knowledge/Templates/Jira incident.md" "template": "10 Knowledge/Templates/Jira incident template.md"
} }
], ],
"file_templates": [], "file_templates": [],
+2 -1
View File
@@ -6,6 +6,7 @@
"renewal_date": "date", "renewal_date": "date",
"contract_end": "date", "contract_end": "date",
"category": "multitext", "category": "multitext",
"projects": "multitext" "projects": "multitext",
"date": "date"
} }
} }
@@ -0,0 +1,125 @@
---
date:
jira:
actual_sync_issue: false
status: investigating
classification:
---
<%*
const baseTrackingFolder = "20 Work/Tracking";
// Today's values
const date = tp.date.now("YYYY-MM-DD");
const year = tp.date.now("YYYY");
const month = tp.date.now("MM");
// Find available Tracking folders
const trackingRoot = app.vault.getAbstractFileByPath(baseTrackingFolder);
if (!trackingRoot) {
new Notice("Tracking folder not found.");
return;
}
const folders = trackingRoot.children
.filter(item => item.children)
.map(item => item.name)
.sort();
if (folders.length === 0) {
new Notice("No tracking folders found.");
return;
}
// Select tracking category
const tracking = await tp.system.suggester(
folders,
folders,
false,
"Select tracking folder"
);
if (!tracking) {
new Notice("Tracking cancelled.");
return;
}
// Jira number
const jira = await tp.system.prompt(
"Jira ticket (ex: PBI-123)"
);
if (!jira) {
new Notice("Tracking cancelled: no Jira ticket entered.");
return;
}
// Update YAML properties
const currentFile = tp.file.find_tfile(tp.file.path(true));
await app.fileManager.processFrontMatter(
currentFile,
(frontmatter) => {
frontmatter.date = date;
frontmatter.jira = jira.toUpperCase();
frontmatter.actual_sync_issue = false;
frontmatter.status = "investigating";
frontmatter.classification = null;
}
);
// Create destination folders
const trackingFolder = `${baseTrackingFolder}/${tracking}`;
const yearFolder = `${trackingFolder}/${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);
}
// Move + rename
await tp.file.move(
`${monthFolder}/${date} - ${jira.toUpperCase()}`
);
// Generate heading
tR += `# ${jira.toUpperCase()}`;
-%>
## Observation
-
## Verification
- Reported time:
- Checked time:
- Expected availability:
- Content available:
- Technical issue identified:
## Outcome
-
---
Available status:
- investigating
- resolved
- monitoring
Available classifications
| Classification | Use when |
| ---------------------- | ---------------------------------------------------------------------------------- |
| `confirmed-sync-issue` | There was an actual technical synchronization problem |
| `no-issue-confirmed` | Complaint resolved/no technical issue found |
| `unrelated-issue` | The problem was real, but **not caused by synchronization** |
| `user-error` | Incorrect action/configuration/input by the requester caused the perceived problem |
| `unknown` | Insufficient information to determine what happened |
-50
View File
@@ -1,50 +0,0 @@
---
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
@@ -0,0 +1,41 @@
---
date: 2026-08-11
jira: TECH-32582
actual_sync_issue: false
status: investigating
classification:
---
# TECH-32582
## Observation
- Promo non mises en ligne
## Verification
- Reported time:
- Checked time:
- Expected availability:
- Content available:
- Technical issue identified:
## Outcome
-
---
Available status:
- investigating
- resolved
- monitoring
Available classifications
| Classification | Use when |
| ---------------------- | ---------------------------------------------------------------------------------- |
| `confirmed-sync-issue` | There was an actual technical synchronization problem |
| `no-issue-confirmed` | Complaint resolved/no technical issue found |
| `unrelated-issue` | The problem was real, but **not caused by synchronization** |
| `user-error` | Incorrect action/configuration/input by the requester caused the perceived problem |
| `unknown` | Insufficient information to determine what happened |
@@ -0,0 +1,41 @@
---
date: 2026-08-19
jira: TECH-32612
actual_sync_issue: false
status: resolved
classification: no-issue-confirmed
---
# TECH-32612
## Observation
- Isadora Moon - Spécial été (GP070657) nest pas en ligne.
## Verification
- Reported time:
- Checked time:
- Expected availability:
- Content available:
- Technical issue identified:
## Outcome
-
---
Available status:
- investigating
- resolved
- monitoring
Available classifications
| Classification | Use when |
| ---------------------- | ---------------------------------------------------------------------------------- |
| `confirmed-sync-issue` | There was an actual technical synchronization problem |
| `no-issue-confirmed` | Complaint resolved/no technical issue found |
| `unrelated-issue` | The problem was real, but **not caused by synchronization** |
| `user-error` | Incorrect action/configuration/input by the requester caused the perceived problem |
| `unknown` | Insufficient information to determine what happened |
@@ -5,22 +5,13 @@
```dataview ```dataview
TABLE TABLE
jira AS "Jira", jira AS "Jira",
reported_at AS "Reported", status AS "Status",
status AS "Classification" classification AS "Classification"
FROM "20 Work/Tracking/Website Sync/Incidents" FROM "20 Work/Tracking/Website Sync"
WHERE jira
SORT date DESC SORT date DESC
``` ```
## Premature checks
```dataview
TABLE
jira AS "Jira",
reported_at AS "Reported"
FROM "20 Work/Tracking/Website Sync/Incidents"
WHERE status = "premature-check"
SORT date DESC
```
## Confirmed sync issues ## Confirmed sync issues
View File