Notifications scheme generic event

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  

4 answers

1 accepted

Accepted Answer
2 votes
Joe Pitt Community Champion Jul 14, 2015

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

Joe Pitt Community Champion Jul 14, 2015

No, as Pedro says below, any new transition you create will use it.

@Joe Pitt - Gotcha. Thanks!

1 vote
Pedro Cora Atlassian Team Jul 14, 2015

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. wink

-- Pedro

 

thanks, @Pedro Cora [Atlassian]

@Pedro Cora [Atlassian] - Joe Pitt (above) just provided the missing link (for my brain / understanding). Thanks! John

1 vote

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.

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

@Nic Brough [Adaptavist] - Joe Pitt and Pedro Cora (above) just provided the missing link (for my brain / understanding). Thanks! John

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

1 vote

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).

Ref. Adding a custom event

 

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:

  1. Create or edit your transition.
  2. Click the transition's Post Functions tab and edit the 'Fire an event that can be processed by the listeners' post function.
  3. Select Generic Event from the list of events.

Ref. JIRA Service Desk: Advanced workflow configuration

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,366 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you