-
Notifications
You must be signed in to change notification settings - Fork 34
Use GitHub UI project selection instead of manual URL entry in campaign template #8425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: mnkiefer <[email protected]>
Co-authored-by: mnkiefer <[email protected]>
Co-authored-by: mnkiefer <[email protected]>
Co-authored-by: mnkiefer <[email protected]>
|
@copilot: The bottom of the issue template already allowed for assigning labels, project, etc. before pressing "Create". |
Co-authored-by: mnkiefer <[email protected]>
You're absolutely right! Updated the instructions in commit 9aba1a3 to tell users to assign the project using the selector at the bottom of the issue form before pressing "Create", not after submission. Much clearer and more accurate. |
|
@copilot: Also, should the users be encouraged after creating the project board to open the issue from there directly? Then the project could be appended to the issue naturally. Also, how to avoid users missing to append it when starting from the issues page instead. See docs. |
Co-authored-by: mnkiefer <[email protected]>
Co-authored-by: mnkiefer <[email protected]>
Great suggestions! Updated in commits 1bf0cb8 and ea334b0: Issue template now shows two options:
Documentation updated to reflect this recommended workflow and explain both approaches. Agent instructions enhanced to provide clearer guidance when project is missing, suggesting the project board creation option. This addresses both concerns: users are encouraged to create from the project board (naturally assigns project), and those starting from issues page have clear instructions to avoid missing the assignment. |
Campaign issue template required users to manually paste project board URLs, leading to typos and formatting errors. Users now select projects via GitHub's native UI with two clear options: creating the issue directly from the project board (recommended, auto-assigns project) or manually selecting the project before submission.
Changes
Issue template (
.github/ISSUE_TEMPLATE/start-campaign.yml)project_urlinput fieldAgent designer (
.github/agents/agentic-campaign-designer.agent.md)projectItemscampaign_goalnotcampaign_name)?operator and// emptydefaultsQuery skill (
skills/github-issue-query/)projectItemsto JSON fieldsDocumentation (
docs/src/content/docs/guides/campaigns/getting-started.md)Example
Agent retrieves project URL from issue assignment:
Returns:
https://github.com/orgs/githubnext/projects/67or empty string if unassigned.Benefits
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.