napoleon
napoleon

Reputation: 23

youtrack workflow get comment author


    // --- #1 issueCommentIsAdded ---
    const issue_0 = ctx.issue;

    const issueCommentIsAddedFn_0 = () => {
    const if_added_by = issue_0.comments.added.isNotEmpty() && issue_0.comments......... == "autobot" 
      return if_added_by 
    };

I need to check if the comment was from a specific user. then perform some action

Upvotes: 0

Views: 448

Answers (1)

napoleon
napoleon

Reputation: 23

issue_0.comments.last().author.login

is working.

Upvotes: 1

Related Questions