GitHub Projects V2 Troubleshooting Guide â
Date: January 15, 2026
Status: â
Active
Overview â
This guide provides troubleshooting information for GitHub Projects V2 integration issues in the Lantern App repository.
Common Issues â
Issue 1: "Project 'Lantern App' not found" â
Symptoms:
- Issue automation workflow logs show:
â ī¸ Project 'Lantern App' not found - Issues are created successfully but not added to the project
- Status and Start Date fields are not updated
Root Causes:
- GitHub Projects V2 project doesn't exist or is archived
- Project name doesn't match exactly (V2 projects are name-sensitive)
- Project is in a different location (organization, user, or repository)
- Workflow doesn't have permission to access the project
Solutions:
Step 1: Verify Project Exists â
- Go to https://github.com/cattreedev/lantern_app/projects
- Check if a project named exactly "Lantern App" exists
- If it exists:
- Click to open it
- Verify the project is not archived
- Note the project URL (shows where it's located: organization, user, or repository)
Step 2: Find Correct Project Name â
If the project exists but has a different name:
# List all organization projects (requires GitHub CLI)
gh project list --owner cattreedev
# List all user projects
gh project list --owner mechelle
# List repository projects
gh project list --owner cattreedev --repo lantern_appStep 3: Update Workflow â
If the project name differs, edit the workflow:
File: .github/workflows/issue-automation.yml
Change this line:
PROJECT_NAME: "Lantern App"To the actual project name:
PROJECT_NAME: "Your Actual Project Name"Issue 2: GitHub Projects V2 API Errors â
Symptoms:
- GraphQL query errors in workflow logs
nullvalues returned for project fields- Field updates fail silently
Root Causes:
- Missing or misconfigured Status/Start Date fields in the project
- GraphQL query limit exceeded (usually safe, but check query size)
- Permission issues with workflow token
Solutions:
Verify Project Fields â
- Open the GitHub Projects V2 project
- Click the âī¸ Settings icon
- Verify these fields exist:
- Status (Single select field)
- Start Date (Date field)
- Verify Status has an "In Progress" option
Expected Field Configuration â
Status Field:
- Type: Single select
- Options include: "In Progress", "Done", "Backlog", etc.
Start Date Field:
- Type: Date
- No specific configuration needed
Issue 3: Field Updates Not Working â
Symptoms:
- Issues added to project successfully
- Status and Start Date fields not updated
- Workflow logs show "â ī¸ Failed to update {field} field"
Root Causes:
- Custom field names don't match exactly (case-sensitive)
- Field doesn't exist in the project
- "In Progress" option doesn't exist in Status field
Solutions:
Verify Custom Fields Match â
The workflow looks for these exact field names:
Status(capital S)Start Date(capital S and D, with space)
If your fields have different names, either:
- Rename the fields to match, OR
- Update the workflow to use the correct field names
Rename Fields (Option 1) â
In GitHub Projects V2 settings:
- Click âī¸ Settings â Custom fields
- For each field, click the ... menu
- Select Rename
- Update to exact name:
Status,Start Date
Update Workflow (Option 2) â
Edit .github/workflows/issue-automation.yml and update these lines:
# OLD
STATUS_FIELD_ID=$(echo "$FIELDS_DATA" | jq -r '.data.node.fields.nodes[]? | select(.name == "Status") | .id')
# NEW - If your field is named "Task Status"
STATUS_FIELD_ID=$(echo "$FIELDS_DATA" | jq -r '.data.node.fields.nodes[]? | select(.name == "Task Status") | .id')How the Workflow Works â
The issue automation workflow:
- Detects when an issue is assigned
- Finds the GitHub Projects V2 project by name
- Adds the issue to the project (if not already added)
- Sets Status to "In Progress"
- Sets Start Date to today's date
Query Limits â
The workflow now uses:
- 100 projects per search (increased from 20 to handle repos with many projects)
- 100 fields per project (standard for most projects)
- 100 items per project (increased for better performance)
These limits are safe for most repositories. If your project has significantly more items, the workflow may need adjustment.
Debugging Steps â
1. Check Workflow Logs â
- Go to Actions
- Select Issue Automation workflow
- Find the run that failed
- Expand the Update GitHub Project fields step
- Look for these indicators:
Good indicators:
- â Found issue
- â Found project
- â Status updated
- â Start Date set
Warning indicators:
- â ī¸ Project not found
- â ī¸ Field not found
- âšī¸ Skipping (usually safe)
2. Manual Verification â
# Test project discovery (requires GitHub CLI & auth)
gh api graphql -f query='
query($owner: String!, $repo: String!) {
repository(owner: $owner, name: $repo) {
projectsV2(first: 100) {
nodes { title id }
}
}
}
' -f owner="cattreedev" -f repo="lantern_app"3. Check Issue Manually â
- Go to the issue that failed
- Click Projects on the right sidebar
- Verify the project is listed
- Click the project to view its details
- Check Status and Start Date fields
Advanced Configuration â
Using Environment Variables â
If you want to use different project names for different workflows, add to repository secrets:
File: .github/workflows/issue-automation.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_NUMBER: ${{ steps.get-issue.outputs.issue_number }}
PROJECT_NAME: ${{ secrets.GITHUB_PROJECT_NAME || 'Lantern App' }}Then add to repository secrets:
- Name:
GITHUB_PROJECT_NAME - Value: Your actual project name
Multiple Projects â
If you want different issues to go to different projects, you'd need to modify the workflow to:
- Read issue labels
- Determine target project based on labels
- Search for that project
This is a more complex configuration - contact the team if needed.
References â
Related Documentation â
Reporting Issues â
If you encounter problems:
Collect information:
- Workflow run number (from Actions tab)
- Issue number that failed
- Complete workflow log output
- Screenshot of project settings
Create an issue:
bashgh issue create \ --title "GitHub Projects V2 Issue: [Description]" \ --body "Workflow: issue-automation.yml Issue Number: #XXX **Steps to reproduce:** 1. ... **Expected behavior:** - ... **Actual behavior:** - ... **Workflow log:** [Paste relevant log section]"Or contact the team in Discord/Slack
See Also â
- TESTING_ISSUE_AUTOMATION.md - Testing procedures
- issue-automation.yml - Workflow source code
- DOCUMENTATION_SAFEGUARDS.md - Doc standards