Skip to content

Mark suggestions or issues as fixed per branch #1004

@fricklerhandwerk

Description

@fricklerhandwerk

Acceptance criteria

Given an automatic suggestion,
When I view it,
Then there's a text field per branch for marking that branch as fixed by a given commit.

Given an automatic suggestion with more than one branch,
When I enter the commit in which it is fixed and submit it as fixed,
Then that branch is marked as fixed in the suggestion (with an entry in the activity log), but the suggestion status is unchanged.

Given an automatic suggestion where all but one branch are fixed (ignored),
When I enter the commit in which the last branch fixed and submit it as fixed,
Then that branch is marked as fixed in the suggestion (with an entry in the activity log), and the status changes to dismissed.

(This is essentially like an "ignore this branch with reason".)

Given an automatic suggestion,
When I dismiss it as "fixed on all branches",
Then the suggestion is dismissed and the event is shown in the activity log.

(We may want to still attach commit hashes to the branches, and by default take the latest commit we have in the system, but arguably we can infer this from the timestamp of the latest evaluation at the time of the event.)

Given a published issue with more than one branch,
When I enter the commit in which a branch is fixed and submit it as fixed,
Then that branch is marked as fixed in the issue (with an entry in the activity log), but the issue status is unchanged.

Given a published issue where all but one branch are fixed,
When I enter the commit in which the last branch fixed and submit it as fixed,
Then that branch is marked as fixed in the issue (with an entry in the activity log), and the issue changes state to "resolved".

Optional: A button to resolve a published issue for all branches at once. (Same as above applies for inferring which commits this refers to.)

Metadata

Metadata

Assignees

Labels

user storydescription or implementation of a workflow
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions