Hi,
When I edit a transition (any of them) in my workflow and trying to Add a post function, I get a lot of functions but not the function to Fire a custom event, or fire anything.
All the transitions already have JIRA default fire an event post function, but I'd like to add my own.
Any ideas?
Thanks,
Janiv.
You can fire your own event based on some condition using this workflow function from the script runner plugin.
Works great, thanks !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JIRA doesn't support mutliple events on the same post function. See https://jira.atlassian.com/browse/JRA-13738 for details.
You can either edit the default event and throw your event instead or catch the event in a listener and throw the custom event. The latter needs development.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could emulate this by having two statuses. Transition to the first one and fire the first event, then automatically transition to the second status and fire the second status. Perhaps with JIRA Toolkit Auto Transition Listener or using Jamie's approach at http://blogs.onresolve.com/?p=235
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is an info from 2012. Now, after several versions of JIRA, is it still true that JIRA supports only one 'Fire Event' in the same post-function, or this behaviour has changed? As Janiv, I also need to fire more than one Event in my post-function.
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.