We need a script to use in Bitbucket's "Script Event Handlers" to do the following when creating a new branch:
- Identify all the commits done in a specific branch from the last specific tag (using regular expressions)
- Identify all the issues related to those commits
- Connect to JIRA
- Change workflow status to those issues
- Change some fields on those issues depending on the name of the created branch.