This question is in reference to Atlassian Documentation: Creating a Notification Scheme
One of the Events that can trigger a notification in a Notification Scheme is a "Generic Event". Could someone please provide more information about what qualifies as a "generic event"?
thanks,
john
You can use it for anything you want to send a notification for. You put the event in the post function and when it fires the email is sent. You can create any number of events for special transitions and use them. The generic one is there for when you want notification sent after a transition, but don't want to create a special one. I usually set it up in the notification scheme to notify the current assignee, watchers, and reporter.
hey @Joe Pitt - So it sounds like -- by default -- no events use the "generic event" out-of-the-box. It's here to use if/when I create a transition and I want it to trigger a notification. Is that about the size of it? thanks, John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As other answers say, "Generic Event" stands for any event from post function.
The exact nature of this event depends on the workflow transition post function(s) which invoke it. As with custom events, you can use the generic event to generate an email notification (or invoke a listener) from a particular workflow transition's post function (see Working with workflows).
Using a post function to send email notifications
Use the 'Fire an event that can be processed by the listeners' post function to fire the 'Generic Event', which is a built-in JIRA Service Desk event that can be used to trigger the sending of email notifications after a particular transition is executed.
Alternatively, you could fire a custom event that you've created specifically for this transition.
When a transition is performed, JIRA Service Desk will:
- Look up the notification scheme associated with the issue's project and identify the users associated with the fired event;
- Send an email notification to each user.
Example: Using a post function to fire the Generic Event to send email notifications:
- Create or edit your transition.
- Click the transition's Post Functions tab and edit the 'Fire an event that can be processed by the listeners' post function.
Select Generic Event from the list of events.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Generic events the events used in JIRA workflows by default. They are similar to Issue Updated. But what qualifies as Generic Event will be up to your workflow configuration.
-- Pedro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Pedro Cora [Atlassian] - Joe Pitt (above) just provided the missing link (for my brain / understanding). Thanks! John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The circular answer is "any event that isn't a non-generic event". The only thing that fires them is post-functions on transitions though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey @Nic Brough [Adaptavist] - So (just to make sure I understand)... This is a kind of placeholder notification I could use to generate notifications if/when I want a specific transition to trigger notification? thanks, John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough [Adaptavist] - Joe Pitt and Pedro Cora (above) just provided the missing link (for my brain / understanding). Thanks! John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. It's a default event that goes in when you add a new transition. If you don't change it to fire another event, then it will contiue to fire the generics
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.