Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Enforce hooks in Github for branches Edited

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

1 answer

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.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you