Hi.
I am looking for some clarification with respect to events. As far as I understand, you can configure a single event to be fired as post-functuion at the end of a workflow transition. I am wondering:
Thanks for your kind help!
Community moderators have prevented the ability to post new answers.
1. No (and it's a source of some pain). The Edit action fires an issue updated event, the transitions fire whatever event they've been tagged with, and there's absolutely no consideration given to the possibility that the assignee has changed. You don't get an event for it. So, yes, you need to write a post function (recommendation - it's not just a "fire event", you'll want an "if assignee changes"
2. Events are independent, unrelated, there's no sub-events in it
3. Yes, the events feed directly into notification schemes, but no other listeners I know of (well, um, I'm not sure how the activity stream works actually, that may be some event/system thing). If you've got an event that isn't used in a notification scheme AND you know there are no listeners, then yes, it's doing nothing.
Note - I'm not sure why you're only allowed to fire one event per transition, there may be a good reason it's disallowed.
How to fire my listener only for a particular transition on a workflow.
Because I am using All Issue events and it is running for all the transitions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a 7 year old conversation. It's not quite accurate any more.
I see you've asked this elsewhere, so I'll not repeat the answers there!
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.