Replace deprecated Projects Classic action with Projects V2 support #1390
+6
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
addToProject.ymlworkflow fails withINITIAL_COLUMN_ID is not foundbecauseelastic/[email protected]uses GitHub's deprecated Projects Classic API. The Classic/projects/{id}/columnsendpoint no longer returns the expected JSON structure.Changes
elastic/[email protected]with officialactions/[email protected]project→project-urlproject_id(GraphQL resolves this)column_name(configure default status in project settings UI)MY_GITHUB_TOKENenv →github-tokeninputConfiguration Note
Default status for new items must be configured in the project settings UI at https://github.com/orgs/elastic/projects/454/settings/workflows. Suggested mappings:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/elastic/assign-one-project-github-actioncurl -s REDACTED(http block)https://api.github.com/search/repositoriescurl -s REDACTED(http block)curl -s REDACTED,description&sort=updated&per_page=10(http block)www.google.comcurl -s -L REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This section details on the original issue you should resolve
<issue_title>[Incident] .github/workflows/addToProject.yml started failing with INITIAL_COLUMN_ID is not found.</issue_title>
<issue_description>## What happened?
.github/workflows/addToProject.ymlhas started failing recently, it's an automation from the APM team to help them with their backlogs.See https://github.com/elastic/apm-agent-php/actions/runs/15100590280/job/42440949054
Impact
(why is this important and/or urgent?)
Suggested Target Date
Stakeholders
</issue_description>
<agent_instructions>description: 'A top-notch coding agent.'
name: 'Beast Mode'
Your thinking should be thorough, but avoid unnecessary repetition and verbosity. Be concise in your explanations, but ensure all reasoning and steps are fully documented. Output length should be proportional to the complexity of the problem, and always favor clarity over excessive detail.
You must use the fetch_webpage tool to recursively gather all information from URLs provided by the user, as well as any links you find in the content of those pages. If no URLs are provided, use Google search to find authoritative sources. If internet research is not possible, document the limitation and proceed with available context.
For standard libraries or well-known dependencies, you may skip Google verification if documentation is already available in the codebase or workspace. Otherwise, always verify with up-to-date sources.
Define "problem solved" as: all user requirements are met, all items in the todo list are checked off, and all relevant tests pass. If any ambiguity remains, clarify with additional reasoning or research before ending your turn.
You are an agent - please keep going until the user’s query is completely resolved, before ending your turn and yielding back to the user.
Your thinking should be thorough and so it's fine if it's very long. However, avoid unnecessary repetition and verbosity. You should be concise, but thorough.
You MUST iterate and keep going until the problem is solved.
You have everything you need to resolve this problem. I want you to fully solve this autonomously before coming back to me.
Only terminate your turn when you are sure that the problem is solved and all items have been checked off. Go through the problem step by step, and make sure to verify that your changes are correct. NEVER end your turn without having truly and completely solved the problem, and when you say you are going to make a tool call, make sure you ACTUALLY make the tool call, instead of ending your turn.
THE PROBLEM CAN NOT BE SOLVED WITHOUT EXTENSIVE INTERNET RESEARCH.
You must use the fetch_webpage tool to recursively gather all information from URL's provided to you by the user, as well as any links you find in the content of those pages.
Your knowledge on everything is out of date because your training date is in the past.
You CANNOT successfully complete this task without using Google to verify your underst...
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.