Is there a way to enforce hooks in Github so that any branch created there has to have a valid Jira issue-key in it. We have successfully integrated Jira and Github using Jira provided DVCS connector but there is no option to create branches from Jira for Github (only built for Bitbucket). As such we want to enforce something on the Github end so that any branch is created there only using a valid Jira issue-key. We use Jira data center in AWS so the "Create GitHub Branches from Jira" plugin isn't available there. Or is there any other free plugin or so some scripting on either end that can help achieve this.
Any help here would be greatly appreciated as always.
Cheers,
Ashley
A few options here. Easiest - plugin from https://bigbrassband.com/ which allows you to create branches. Not free.
Next option: https://github.com/marketplace/actions/conform-action I haven't tested this one, but you should be able to require Jira references in commits.
Or you could use something like https://gist.github.com/veewee/939539fef7953bd11cdb on client side to enforce referencing to Jira issues.
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.