Trello Export
Export ArcKit product backlog to Trello via REST API integration.Command
Description
Exports your product backlog to Trello by creating a board with sprint-based lists, labeled cards, and acceptance criteria checklists. Integrates directly with Trello REST API.Arguments
BOARD_NAME: Override the board name- Default:
{Project Name} - Sprint Backlog
- If omitted, board created in personal workspace
When to Use
- After generating backlog (
arckit backlog FORMAT=json) - Before sprint planning sessions
- To share backlog with distributed teams
- For Trello-based project management
Prerequisites
Backlog JSON Required
Must have:projects/{project}/ARC-{PROJECT_ID}-BKLG-*.json
Generate with:
Trello API Credentials
Required environment variables:- API Key: https://trello.com/power-ups/admin
- Token: Visit authorization URL with your API key
Features
Trello Board Structure
Lists created:- Product Backlog (for overflow items)
- Sprint 1:
- Sprint 2:
- …
- Sprint N:
- In Progress
- Done
Labels Created
Priority labels:- Must Have (red)
- Should Have (orange)
- Could Have (yellow)
- Epic (purple)
- Story (blue)
- Task (green)
Card Structure
Card name:STORY-001: Create user account [8pts]
Card description:
- Priority label (Must/Should/Could)
- Type label (Story/Task/Epic)
Checklists
For each story/task:- Checklist named “Acceptance Criteria”
- Each criterion as a check item
- Can be ticked off during implementation
Process
- Read backlog JSON from project directory
- Validate credentials (TRELLO_API_KEY, TRELLO_TOKEN)
- Create board on Trello
- Create labels (6 labels for priority and type)
- Create lists (Product Backlog + Sprints + In Progress + Done)
- Create cards for each story/task
- Add checklists with acceptance criteria
- Return board URL and summary
Rate Limiting
Trello enforces 100 requests per 10-second window. For large backlogs (50+ stories):- Command adds
sleep 0.15between calls - Stays within rate limits
- Typical backlog (80 stories): ~2-3 minutes
Output
Example
Error Handling
No Backlog JSON
Missing Credentials
API Errors
Partial Failure
Board Cleanup
To re-export: Option 1: Delete old board in Trello, re-run command Option 2: Use different BOARD_NAME to create new board Command always creates a new board - does not update existing.Related Commands
arckit backlog FORMAT=json- Generate backlog JSON (required)arckit traceability- Map stories to requirements
Next Steps
After Trello export:- Open board URL in browser
- Invite team members to board
- Review sprint assignments
- Adjust card priorities if needed
- Move cards between sprints as needed
- Begin sprint planning with Sprint 1
- Move cards to “In Progress” during sprint
- Move to “Done” when complete
Token Expiration
Trello tokens can expire. If you see “unauthorized” errors:- Generate new token with your API key
- Update TRELLO_TOKEN environment variable
- Re-run command