Sending additional email from a YouTrack workflow -
our doc writer automatically receive email youtrack whenever issue in youtrack has status changed ready testing. she'd happen without taking action on part. email in addition 1 received our qa lead (the assignee). wasn't able find way receive same email our qa lead automatically, went down workflow path.
i have created following workflow:
when issue.state becomes({ready testing}) { var issueid = issue.getid(); var sumry = issue.summary; var subject = "[youtrack, ready testing] issue " + issueid + ": " + sumry; var body = issueid + " ready testing.<p>"; var linktext = issueid + " " + sumry; body = body + "<a href=" + issue.geturl() + ">" + linktext + "</a><p>" body = body + issue.comments.last.text; var docwriter = project.getuser("docwriter"); docwriter.notify(subject, body); }
the workflow works , doc writer receives messages. however, our qa lead no longer receives built in messages. seems when youtrack workflow sends message, other messages automatically sent assignee skipped. there way them both send?
alternatively, there approach within youtrack meet requirement of 2 people automatically receiving e-mail (the assignee , else). don't want our doc writer have watch every issue extra, unnecessary e-mails , action required on part.
Comments
Post a Comment