Hello!
I'm trying to figure out how to launch a Webhook in jira when any user is added to a particular group, the idea is the following:
I have a script that every time it runs, it takes all the users in group X and it add them as "Default reviewers" in some repositories in bitbucket. I would love to automatize this so every time a new colleague joins the group the scripts gets automatized.
If I could launch a webhook on the event of a user added to a group, this would be so easily achievable! But I'm not quite sure how. First I thought of creating a custom listener using ScriptRunner, but even if I can catch the event, I don't know how to get the webhook out of it.
Ideas are very welcome!