Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To retrieve the author of a comment in a YouTrack workflow, you can use the comment.author property in the workflow rule.

Here's an example code snippet that demonstrates how to retrieve the author of a comment:

var author = ctx.comment.author;

In this example, ctx.comment refers to the current comment object. The author property of this object returns the full name of the user who created the comment.

You can use this code snippet within your workflow rule to perform various actions based on the author of the comment. For example, you can notify the author of the comment if a specific condition is met, or you can assign a task to the author of the comment.