Skip to content

Instantly share code, notes, and snippets.

View TPuHo4u's full-sized avatar

TPuHo4u TPuHo4u

View GitHub Profile
@TPuHo4u
TPuHo4u / code_metrics.js
Last active April 17, 2026 08:28
PIA n8n Code node JS — metrics + render (temporary, will be deleted)
// Constants from Python
const CF_DECISION = "customfield_11711";
const CF_RESULT = "customfield_14600";
const CF_PLANNED_START_IDS = ["customfield_16700", "customfield_1600"];
const CF_PLANNED_END_IDS = ["customfield_16701"];
const CF_FORECAST_END_IDS = ["customfield_10904"];
const CF_CONFIDENCE_IDS = ["customfield_27702", "customfield_34402"];
const CF_RICE_IDS = ["customfield_30010", "customfield_34404", "customfield_27704"];
const LABEL_CHANGE = "изменение_стратегии";
const LABEL_ROMASHKA = "ромашка";