bissell-wrike-python/config_lgl_team.py
Dave Porter a0cfe4b796 Add LGL Team migration with recursive duplicate detection
- Add wrike_monitor_lgl.py for LGL Team board
  * Updated API token and space configuration
  * All 11 custom fields mapped correctly
  * OMG# field now stores HTML links (matching LGL Team format)
  * Recursive duplicate detection across entire Business Areas folder
  * Handles HTML link extraction for accurate comparison

- Add discover_board_info.py
  * Automated discovery tool for board configuration
  * Finds space IDs, custom field IDs, and item types
  * Generates configuration snippets

- Add config_lgl_team.py
  * Reference configuration for LGL Team space
  * Complete field mapping documentation

- Add test_duplicate_detection.py
  * Testing tool to verify duplicate detection logic
  * Can search for specific OMG# values

- Update requirements.txt

- Remove wrike_import.py (moved to OLD/)

Key Features:
- NO DUPLICATES: Searches entire Business Areas folder before creating
- HTML Link Support: OMG# stored as clickable links matching existing format
- Global Search: Uses descendants=true for efficient recursive search
- Format Matching: Generates OMG# links identical to existing entries

🤖 Generated with Claude Code
2025-12-17 15:19:17 -05:00

20 lines
649 B
Python

# === WRIKE SPACE CONFIGURATION - LGL team ===
WRIKE_SPACE_ID = "MQAAAABoHcTY"
WRIKE_SPACE_NAME = "LGL team"
DELIVERABLE_ITEM_TYPE_ID = "XXXXXX" # ⚠️ NOT FOUND - Update manually
# Custom field IDs
CUSTOM_FIELDS = {
"budget": "IEAGUQQ3JUAJCJ4N",
"impact": "IEAGUQQ3JUAJRZ7Q",
"notes": "IEAGUQQ3JUAKAJIW",
"rag": "IEAGUQQ3JUAJRZ7S",
"deliverable_category": "IEAGUQQ3JUAJLKMT",
"actions": "IEAGUQQ3JUAJRZ7W",
"shoot_date": "IEAGUQQ3JUAJRZ7X",
"omg_number": "XXXXXX", # ⚠️ NOT FOUND - Update manually
"omg_url": "IEAGUQQ3JUAKGGLP",
"box_link": "IEAGUQQ3JUAJRZ7Z",
"owner": "IEAGUQQ3JUAKAJIV",
}