Hi all,
I'm writing some listeners in SR cloud, to alert me when some interesting stuff happens.
I'd like to be able to retrieve, from some binding variable, the context of the script:
- which script is it? I didn't find a way to retrieve anything better than "this.class", which is pretty useless to identify the script itself. I'd like my alerts to include a message like: "This alert comes from <script name or uuid here>"
- who triggered the listener? Sometimes I'm able to retrieve this info in a smart way, for instance if in a "comment deleted" listener, I can retrieve the last changelog author. But what about a "board deleted" listener? Or "project deleted"? I'd like my alerts to tell me who did the action that triggered the alert, so I can reach them and ask for explanations, when needed
Best regards,
Fede