Description
Interactive tool for testing and configuring project management integrations. Verifies credentials, tests API connections, and helps troubleshoot PM tool setup. Aliases:pm, link
Usage
Options
PM tool to test:
jira, linear, or githubRun connection test only (non-interactive)
Run interactive setup for the selected tool
Fetch a specific ticket to verify connection
Show current credential status only
Examples
Interactive connection setup
Test Jira connection
Setup Linear
Verify with a specific ticket
Show credential status
Supported PM Tools
GitHub Issues
- Uses
ghCLI for authentication - No API tokens required
- Automatic repo detection
Jira
- REST API integration
- Requires: base URL, email, API token
- Supports project keys and custom ticket prefixes
- Jira base URL (e.g.,
https://company.atlassian.net) - Your email
- API token (from https://id.atlassian.com/manage-profile/security/api-tokens)
Linear
- GraphQL API integration
- Requires: API key
- Supports team keys
- API key (from Linear Settings → API → Personal API keys)
- Optional: team key
Interactive Flow
When runningdevdaily connect without options:
- Select PM tool - Choose from GitHub, Jira, Linear
- Check credentials - Shows what’s configured
- Setup if needed - Prompts for missing credentials
- Test connection - Verifies API access
- Test extraction - Shows ticket ID pattern matching
- Fetch sample ticket - Optional live verification
Credential Status
Shows configured credentials and their sources:Connection Test
Tests the API connection and shows:- Success or failure status
- Response time
- Error hints if failed
Ticket Extraction Test
Shows how DevDaily will extract ticket IDs from:- Branch names
- Commit messages
- Multiple tickets
Live Ticket Test
Fetches a real ticket to verify:- API access
- Permissions
- Data format
Setup Flow
Jira Setup
- Jira base URL
- Your email
- API token
- Project key (optional)
- Ticket prefix (optional)
.devdaily.secrets.json (auto-added to .gitignore).
Linear Setup
- API key
- Team key (optional)
- Ticket prefix (optional)
.devdaily.secrets.json.
GitHub Setup
gh CLI).
Optionally prompts for:
- Ticket prefix (for extraction)
Credential Storage
Credentials are stored in.devdaily.secrets.json:
.gitignore.
Environment Variables
Alternatively, use environment variables:Troubleshooting
Connection Failed
Jira:- Verify base URL (no trailing slash)
- Check email is correct
- Regenerate API token
- Verify you have Jira access
- Verify API key is valid
- Check key has required scopes (issues:read)
- Ensure you’re on the right workspace
- Run
gh auth login - Verify you have repo access
Ticket Not Found
- Check ticket ID is correct
- Verify you have access to the ticket
- Ensure ticket exists in the system
- For Jira: verify project key matches
Pattern Extraction Issues
- Set correct
ticketPrefixin config - Match your team’s ticket ID format
- Test with actual branch/commit names
Requirements
- Configuration file (
.devdaily.json) - PM tool access (API credentials or
ghCLI) - Internet connection for API calls