Improve workflow labels and hints
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
Following fixes in #13087, the following action used on t.e.o did not work:
change_owner = assigned,closed -> * change_owner.name = change ownership change_owner.operations = set_owner change_owner.permissions = TICKET_MODIFY
leave_status to the operations to make it work again. But now the control is rendered as change ownership to <new owner> as closed. It reads a bit awkwardly.
In TracWorkflow, we have this example, which is effectively the same:
reassign_reviewing = reviewing -> * reassign_reviewing.label = reassign review reassign_reviewing.operations = set_owner reassign_reviewing.permissions = TICKET_MODIFY
Therefore, it looks to me that a next status of
* means "let the operation determine the next status". The only built-in operation that determines the next status is the
The documentation says:
For actions that should be available in all states,
*may be used in place of the state
But that applies to the existing status, not the new status.
Maybe we only add the as next-status if leave_status is the only operation?
Also, I think we should only add Next status will be … if the status is changed by the operation.