We're updating the issue view to help you get more done. 

As an administrator, I'd like to resolve or delete comments in workflows by comment reason only

Description

The comment WOH only supports resolving and deleting comments if you specify both reason and description (both of which must match):

https://docs.opencast.org/r/3.x/admin/workflowoperationhandlers/comment-woh/

If you specify reason only in the operation, you get this error:

2017-08-12 12:23:41,859 | WARN | pool-79-thread-11 | (CommentWorkflowOperationHandler:192) - Not resolving comment with 'null' text and 'EVENTS.EVENTS.DETAILS.COMMENTS.REASONS.CUTTING' reason as it doesn't exist.

which removes the possibility of varying the description text for different purposes.

It should be possible to use a resolve operation like this:

1 2 3 4 5 6 7 8 <operation id="comment" description="Resolve the cutting flag"> <configurations> <configuration key="reason">EVENTS.EVENTS.DETAILS.COMMENTS.REASONS.CUTTING</configuration> <configuration key="action">resolve</configuration> </configurations> </operation>

Steps to reproduce

None

Status

Assignee

Stephen Marquard

Reporter

Stephen Marquard

Criticality

None

Tags (folksonomy)

None

Components

Fix versions

Affects versions

3.1

Priority