Sending scheduled emails from hosted YouTrack

We are using the hosted YouTrack, and I am trying to figure out the email integration. The doucmentation in the InCloud portion of the help site is fairly sparse.

What I am trying to do is have the results of a query sent to specific users or groups every day or X number of hours. Is this something I have to use the Workflow for?

Thanks,
Erick
1 comment
Comment actions Permalink
Hi Erick,

the following workflow sent daily at 12:00:00 notifications about critical issues:
schedule rule results sending 
 
daily at 12:00:00 [issue.Priority == {Critical} && issue.Assignee != null] { 
  project.getUser("user").notify("Critical issue", "Pay attention to critical issue " + getId()); 
   
  {group: youtrack-developers}.notifyAllUsers("Critical issue", "Pay attention to critical issue " + getId()); 
}
prettyPrint();

Does it cover your case?
0

Please sign in to leave a comment.