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.
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.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events