Inbox for JIRA settings control when a users will get notified on an event.
User settings
Location
User Profile icon → Inbox Settings
or
In use the Inbox Settings link in the bottom of the menu
Event \ Role table - Subscribe to notifications
Select the event and the role that you will have when you want to get notified.
Events are triggered in JIRA when changes are made, such as updating an issue or commenting an issue.
Transitions in JIRA is by default triggering a Generic event. This can be changed in your workflow by editing the post-functions. For instance you might want to change the last transition in your workflow to trigger a Issue Resolved or Issue Closed event.
There is a option to limit the notifications to only a list of Projects or to a custom JQL Filter. Filter can be any custom JQL filter.