How to implement sending nptifications to users of some group

Say I have a project and a group of users that have access to it - call them "Developers". I need such use case implemented: when new issue created - notification should be sent to all "Developers" , not just to assignee. So that everyone could keep track of what is going on and knew about fresh issues :-). Is it possible?

1 comment
Comment actions Permalink

Hi Igor,

I created request http://youtrack.jetbrains.net/issue/JT-10830, feel free to vote fot this.

As workaroud you can attach custom field of type user[*], iterate users in workflow and send notification to each member.

The following code will send notification for all developers of custom field 'My users' (user[*]):

statemachine notify developers for field State {

  initial state Submitted {
    in 1 minute[isReported()] do {
      for each user in My Users {
        user.notify("Issue created", "Issue " + getId() + " created.");
      }
    }
  }

}

0

Please sign in to leave a comment.