Linear Integration
Overview
Section titled “Overview”DubPlanner integrates deeply with Linear to provide a seamless planning experience. Using industry-standard OAuth 2.0 authentication, DubPlanner securely connects to your Linear workspace without ever seeing your password.
Currently Supported
Section titled “Currently Supported”- Linear — full integration with bidirectional sync
How Authentication Works
Section titled “How Authentication Works”DubPlanner uses OAuth 2.0 to authenticate with Linear:
What is OAuth 2.0?
Section titled “What is OAuth 2.0?”OAuth 2.0 is the industry-standard protocol for authorization. Instead of sharing your Linear password with DubPlanner:
- You log in directly to Linear
- Linear asks if you want to grant DubPlanner access
- You approve the requested permissions
- Linear provides DubPlanner with a secure access token
- DubPlanner uses the token to access Linear on your behalf
Why OAuth 2.0 is Secure
Section titled “Why OAuth 2.0 is Secure”- No password sharing: DubPlanner never sees your Linear password
- Limited permissions: You grant only the access DubPlanner needs
- Revocable: You can revoke access anytime from your Linear settings
- Encrypted: Tokens are encrypted and stored securely
Learn more about security and token protection
Connecting to Linear
Section titled “Connecting to Linear”Initial Authentication
Section titled “Initial Authentication”When you first use DubPlanner:
- Visit DubPlanner: Navigate to the application URL
- Click “Login with Linear”: The only authentication option
- Redirected to Linear: Your browser goes to Linear’s OAuth page
- Review Permissions: Linear shows what access DubPlanner is requesting:
- Read your profile information
- Read and modify issues
- Read projects and teams
- Read team members
- Authorize: Click “Authorize” to grant access
- Redirected Back: Linear sends you back to DubPlanner
- You’re In: DubPlanner loads with your Linear projects
What Permissions Are Needed
Section titled “What Permissions Are Needed”DubPlanner requests these Linear permissions:
- Read your profile: To show your name and avatar
- Read issues: To display issues in the planning grid
- Write issues: To update assignments, weeks, and status
- Read projects: To show available projects
- Read teams: To show team members
- Read milestones: To display milestone markers
DubPlanner only requests the permissions necessary for its functionality.
What Gets Synced
Section titled “What Gets Synced”DubPlanner maintains a two-way sync with Linear:
From Linear to DubPlanner
Section titled “From Linear to DubPlanner”These changes in Linear automatically appear in DubPlanner:
- New issues: Appear in the Backlog
- Issue updates: Title, description changes sync immediately
- Status changes: Updated status reflects in the grid
- Assignments: Team member assignments update
- Deletions: Removed issues disappear from DubPlanner
- Project changes: New projects appear in the project list
From DubPlanner to Linear
Section titled “From DubPlanner to Linear”These changes in DubPlanner update Linear:
- Week assignments: Adds “Week[N]” labels to issues
- Status changes: Updates the issue’s workflow state — your project’s real Linear states
- Team assignments: Updates the assignee field
- Issue creation: New issues created from DubPlanner appear in Linear
- Deletions: Issues deleted in DubPlanner are removed from Linear
Week Labels in Linear
Section titled “Week Labels in Linear”One of DubPlanner’s key features is automatic week label management:
How It Works
Section titled “How It Works”When you assign an issue to a week in DubPlanner:
- DubPlanner checks if a “Week[N]” label exists in Linear
- If not, it creates the label automatically
- The label is applied to the issue
- You can see the label in Linear’s issue view
Example: Assigning an issue to Week 5 adds the “Week5” label in Linear.
Why Week Labels?
Section titled “Why Week Labels?”Week labels provide several benefits:
- Visibility in Linear: You can see the planned week directly in Linear
- Filtering: Filter issues by week in Linear
- Integration: Other tools can read the week assignments
- Backup: Week information persists even if DubPlanner is offline
Workflow states are yours
Section titled “Workflow states are yours”DubPlanner reads your project’s workflow states from Linear and uses them as-is: your own Todo, In Progress, In Review, Done and any custom states, in Linear’s own order. Colour, icon and “does this count as finished?” are keyed off each state’s type, so renaming a state in Linear changes what you read in DubPlanner without changing how it behaves.
Milestones are likewise shown in the order you arranged them in Linear, everywhere they appear.
Staying signed in
Section titled “Staying signed in”Your Linear session is refreshed automatically in the background, so you are not asked to re-authorize every few days. If a session does expire, DubPlanner prompts you to sign in again rather than failing with a server error.
Managing Week Labels
Section titled “Managing Week Labels”Week labels are automatically:
- Created: By the first-run setup wizard, or on demand when first needed
- Added: When you assign an issue to a week
- Removed: When you move an issue out of a week
- Updated: When you move an issue to a different week
Real-Time Collaboration
Section titled “Real-Time Collaboration”DubPlanner uses Firebase for real-time updates:
How It Works
Section titled “How It Works”- Instant sync: Changes appear within 1-2 seconds for all users
- User presence: See avatars of others viewing the same project
- No conflicts: Multiple users can work simultaneously safely
What Gets Broadcast
Section titled “What Gets Broadcast”When you make a change:
- Other users see the issue move immediately
- Status changes appear in real-time
- Issue creation/deletion syncs instantly
- Availability changes update across sessions
Connection Status
Section titled “Connection Status”If you lose internet connectivity:
- DubPlanner shows a connection warning
- Changes are queued locally
- Sync resumes when connection is restored
- You’re protected from data loss
Disconnecting from Linear
Section titled “Disconnecting from Linear”From DubPlanner
Section titled “From DubPlanner”To disconnect your Linear account:
- Open Settings in DubPlanner
- Click “Disconnect from Linear”
- Confirm the disconnection
- You’re logged out and tokens are removed
From Linear
Section titled “From Linear”To revoke DubPlanner’s access from Linear:
- Log into Linear
- Go to Settings → Account → Authorized Applications
- Find DubPlanner in the list
- Click “Revoke Access”
- DubPlanner can no longer access your Linear data
Reconnecting
Section titled “Reconnecting”To reconnect after disconnecting:
- Visit DubPlanner
- Click “Login with Linear”
- Complete the OAuth flow again
- Your previous planning data is still available
Permissions and Authorization
Section titled “Permissions and Authorization”What You Can Do
Section titled “What You Can Do”DubPlanner respects Linear’s permission model:
- If you can view an issue in Linear, you can view it in DubPlanner
- If you can edit an issue in Linear, you can move it in DubPlanner
- If you can delete an issue in Linear, you can delete it in DubPlanner
- If you can create issues in Linear, you can create them in DubPlanner
Team Membership
Section titled “Team Membership”- You only see projects you’re a member of in Linear
- Team members appear based on Linear project membership
- Admin permissions are checked for project settings
Data Isolation
Section titled “Data Isolation”- You can only access projects belonging to your organization
- Cross-organization data access is prevented
- Customer data is isolated at the API level
Learn more about security and permissions
Troubleshooting
Section titled “Troubleshooting”Authentication Fails
Section titled “Authentication Fails”Symptom: Can’t complete the “Login with Linear” flow
Solutions:
- Ensure you have a Linear account
- Check that your Linear workspace is active
- Try clearing browser cookies and trying again
- Verify you clicked “Authorize” (not “Deny”)
Issues Not Syncing
Section titled “Issues Not Syncing”Symptom: Changes in Linear not appearing in DubPlanner (or vice versa)
Solutions:
- Check connection: Verify internet connectivity
- Refresh the page: Sometimes a manual refresh helps
- Check Linear status: Verify Linear API is operational
- Re-authenticate: Try disconnecting and reconnecting
Can’t See Projects
Section titled “Can’t See Projects”Symptom: Linear projects not appearing in DubPlanner
Solutions:
- Verify membership: Ensure you’re a member of the project in Linear
- Check project status: Archived projects may not appear
- Refresh: Try reloading the project list
- Re-authenticate: Log out and back in
Permission Denied
Section titled “Permission Denied”Symptom: Can’t edit issues or move them in the grid
Solutions:
- Check Linear permissions: Verify you have edit access in Linear
- Team membership: Ensure you’re a member of the relevant team
- Issue state: Some workflow states may be read-only
- Refresh tokens: Try logging out and back in
Week Labels Not Creating
Section titled “Week Labels Not Creating”Symptom: “Week[N]” labels not appearing in Linear
Solutions:
- Check label permissions: Verify you can create labels in Linear
- Wait a moment: Label creation can take a few seconds
- Refresh Linear: Reload Linear to see new labels
- Check API limits: Linear API rate limits may delay label creation
API Rate Limits
Section titled “API Rate Limits”Linear enforces API rate limits:
- Typical limit: ~1500 requests per hour per user
- DubPlanner optimization: Batches requests to minimize API calls
- Rare impact: Most users won’t hit limits with normal use
- If exceeded: DubPlanner pauses briefly then retries
Data Privacy
Section titled “Data Privacy”What DubPlanner Stores
Section titled “What DubPlanner Stores”- Access tokens: Encrypted and stored securely in Google Cloud Firestore
- User profile: Name, email, avatar (from Linear)
- Planning data: Week assignments, availability schedules
- Session data: Active sessions for real-time collaboration
What DubPlanner Does NOT Store
Section titled “What DubPlanner Does NOT Store”- Passwords: Never stored (OAuth authentication only)
- Credit cards: No payment processing
- Issue content: Issue details are fetched from Linear in real-time
- Files/attachments: Linear attachments remain in Linear
Learn more about data privacy and security
Best Practices
Section titled “Best Practices”Security
Section titled “Security”- Revoke unused access: If you stop using DubPlanner, revoke access from Linear
- Review permissions: Periodically check authorized applications in Linear
- Report issues: Report security concerns immediately
Integration
Section titled “Integration”- Regular sync: Keep DubPlanner and Linear in sync by using both regularly
- Consistent status: Update status in one place (either tool)
- Week labels: Don’t manually edit “Week[N]” labels—let DubPlanner manage them
- Backup important data: Linear is the source of truth
Collaboration
Section titled “Collaboration”- Communicate changes: Let team know when you make large changes
- Use real-time features: Take advantage of instant sync for collaboration
- Check who’s online: See user avatars to know who else is planning
Future Enhancements
Section titled “Future Enhancements”Planned Linear integration improvements:
- Webhook optimization: Faster real-time updates
- Offline support: Work without internet, sync when reconnected
- Bulk operations: Move multiple issues more efficiently
- Custom fields: Sync Linear custom fields
- Attachments: View Linear attachments in DubPlanner