Commit graph

11 commits

Author SHA1 Message Date
Dave Porter
4fd9bbb1fc Add systemd service and installation guide for LGL Team
- Add wrike-monitor-lgl.service for systemd deployment
- Add INSTALLATION_LGL.md with complete setup instructions
- Include service management commands
- Document troubleshooting steps
- Add duplicate detection monitoring guide
2025-12-17 16:22:00 -05:00
Dave Porter
026d97d491 Update README with LGL Team migration documentation
- Document wrike_monitor_lgl.py production version
- Explain HTML link format for OMG# field
- Document recursive duplicate detection in Business Areas
- Add discovery tool usage instructions
- Add Version 3.0 changelog
- Clarify differences between Staging and LGL Team versions
2025-12-17 15:22:38 -05:00
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
Dave Porter
9f2b54f864 Document known limitation with custom item type display
Added documentation about Wrike API v4 limitation where deliverables
are created with correct structure/fields but may display as "Project"
type in UI instead of "Deliverable" type.

Users can manually change the type in Wrike UI if needed. All
functionality works correctly regardless of display type.

Updated feature list to reflect:
- Deliverables created as projects (not tasks)
- Separate OMG# and OMG URL fields
- Proper duplicate prevention

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 15:39:33 -04:00
Dave Porter
bd092e75cd Use custom 'Deliverable' item type when creating deliverables
Changes:
- Added DELIVERABLE_ITEM_TYPE_ID config (5793903 for Staging)
- Updated create_deliverable_project() to use customItemTypeId parameter
- Deliverables now created with proper "Deliverable" custom item type
- Results in scope=WsFolder (instead of RbFolder)
- Matches manually created deliverables in Wrike UI

This ensures deliverables display correctly as "Deliverable" type
in the Wrike interface, not generic "Project" type.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 15:16:24 -04:00
Dave Porter
5814c87ae2 Fix duplicate deliverables: Separate OMG# and OMG URL fields
Changes:
- Added OMG_URL custom field (IEAGU2B2JUAJRZ7Y)
- Updated OMG# field ID (IEAGU2B2JUAJV4P7)
- Deliverables now use:
  - OMG# = plain number (e.g., "6027380") for duplicate detection
  - OMG_URL = clickable URL (e.g., "https://bissell.omg.oliver.solutions/jobs/5027381")
- Fixed find_deliverable_by_omg_number() to search on plain number
- Improved error handling in duplicate detection
- Tested: Duplicate prevention works correctly

This prevents duplicate deliverable creation by searching on the plain
OMG# number while still providing clickable URLs in the OMG_URL field.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 14:52:44 -04:00
Dave Porter
d449668cb9 Update deliverable creation: Projects with URLs and correct dates
Changes:
- Deliverables now created as Projects (not Tasks)
- Project dates: Using StartDate/EndDate from ProjectDetails
- Deliverable dates: BriefDate as start, LiveDate (or DueDate) as end
- OMG# field for deliverables: Contains URL (OMG# - 999999)
  - Example: 6361863 → https://bissell.omg.oliver.solutions/jobs/5361864
- Projects keep OMG# as plain number
- Added find_deliverable_by_omg_number() for duplicate detection
- Added generate_omg_url() for URL construction

Structure: Folder > Project > Deliverable (as Project)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-14 16:08:18 -04:00
Dave Porter
255c03b65d Add real-time monitoring service (v2.0)
Major additions:
- wrike_monitor.py: Real-time folder monitoring with watchdog
- Daily email reports at 7PM with comprehensive statistics
- Failed file handling with error logs
- Periodic scanning for missed files
- systemd service support for production deployment
- Sequential processing to prevent race conditions
- Proper parent/child folder matching using childIds

Configuration:
- Easy path configuration for local/production
- Configurable Wrike space ID
- Email settings for daily reports
- Auto-cleanup of processed files (24h retention)

Documentation:
- INSTALLATION.md: Complete systemd service setup guide
- QUICKSTART.md: Quick reference for both tools
- Updated README.md with tool comparison
- requirements.txt with clear dependencies

Bug fixes:
- Fixed duplicate folder/project creation via childIds matching
- Added logging for skipped deliverables
- Improved cache management

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 14:31:19 -04:00
Dave Porter
06c472c748 Merge .gitignore files
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 12:53:20 -04:00
Dave Porter
ad0c512012 Initial commit: Wrike import script v1.2
- Automatic folder/project/task creation from JSON files
- Duplicate detection via OMG numbers
- Custom field mapping
- File management (Processed folder + 24hr cleanup)
- Production ready

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-10 12:52:08 -04:00
Dave Porter
d2baba361c Initial commit 2025-10-10 16:49:35 +00:00