Workflow - Is there a way to compel the user to add a new comment before changing the state of an issue?
Hi,
Is there a way to compel the user to add a new comment before changing the state of an issue?
This is how I have modeled my rule:
rule User should add comments while changing the state of an issue
when issue.State.changed {
assert comments.added.isNotEmpty: "Please add a new comment";
}
This only forces the user to add a comment only when the state is changed for the first time(Assuming that there are no comments entered when the bug is submitted).
Is there a way to compel the user to add a new comment before changing the state of an issue?
This is how I have modeled my rule:
rule User should add comments while changing the state of an issue
when issue.State.changed {
assert comments.added.isNotEmpty: "Please add a new comment";
}
This only forces the user to add a comment only when the state is changed for the first time(Assuming that there are no comments entered when the bug is submitted).
1 comment
Sort by
Date
Votes
Unfortunately the 'comment requirement from the workflow' feature isn't implemented yet (JT-10337) but you can use the workaround from this thread: http://forum.jetbrains.com/thread/YouTrack-1140
Please sign in to leave a comment.