Send mail to group in workflow, YouTrack

Hi,

How do you send mail to users in a group? I have found some syntax that looks like {group: GROUPNAME} but that does not seem to work for me. Is it something with YouTrack 5.2?

//Cheers
10 comments
Comment actions Permalink
Please try {group: Developers}.notifyAllUsers("subject", "body");. See also https://confluence.jetbrains.com/display/YTD6/Workflow+Language+Quick+Reference
0
Comment actions Permalink
But that does not work. It is not recognized in the editor.
0
Comment actions Permalink
See picture. YouTrack 5.2..
0
Comment actions Permalink
Do you use Ctrl+Space to complete values and methods? It seems you forgot to attach screenshot.
0
Comment actions Permalink
No I did attach it, in my comment and in the reply to your comment. But this forum is buggy as hell :(

Yes I have tried that. It does not recognize anything at all after {group: Developers}.{NOTHING APPEARS HERE WITH Ctrl+Space}
0
Comment actions Permalink
Please try to delete this workflow and re-download workflows/fields from server. Could you post a screenshot somewhere and share a link?
0
Comment actions Permalink
Everything else works when it comes to intellisense, is there another standard workflow that this is done that I can check?
0
Comment actions Permalink
Unfortunately, it seems no. What if try the following?
var mygroup = {group: Developers}; 
mygroup.notifyAllUsers();
0
Comment actions Permalink
Are the "issue", "project" etc. shown if press Ctrl+Space just after the symbol "{"?
0

Please sign in to leave a comment.