I want to fire a custom script when issue changes its state from say "to-do" to "in process".
I am able to create a new event listener, and fire that script on issue"create" event, but not on above event, the way I want it.
I tried adding custom events, but was not able to do so properly either :(
Is there a tutorial or documentation that I am not able to search, on how to do this?
It sounds like to me that a custom workflow function would work best for you. We have some information on those in our documentation here. Specifically, I think that you'd be best off using a scripted custom post-function. I'll give you a quick rundown of the process:
Another possibility would be to create a listener that fires on a Generic Event and then check to see if the status was changed and what it was changed to etc... However, the first option I provided is the most straight-forward.
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!
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