Backend Issue 12: Add Close Issue Service #13
Labels
No Label
admin
agent-api
api
api-client
audit
backend
boards
cost-accounting
database
design
forgejo
frontend
issues
metrics
mutation
navigation
optional
phase:1
phase:2
phase:3
phase:4
phase:5
phase:6
polish
priority:high
priority:low
priority:medium
service
sync
usage-accuracy
validation
webhooks
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Pipeline#13
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Create reusable backend service logic for closing a Forgejo issue and updating local cache.
Scope
Suggested Service API
close_cached_issue(session, issue, actor_agent_id=None, actor_user_id=None)Acceptance Criteria
PATCH /api/v1/repos/{owner}/{repo}/issues/{index}withstate: "closed".Out Of Scope