when putting a jira ticket in a commit message or PR title, it gets automatically linked in the jira ticket. That's useful.
I'd like to expand on that link and actually prevent any PR from being merged unless a jira is attached.
maybe the github project could be registered to be watched, and all PR would be blocked by default, until that link is present.
the new Github Checks API could be used
https://developer.github.com/changes/2018-05-07-new-checks-api-public-beta/
thank you
The pull request should have an successful build before getting merged in the branch and this can be set in Jenkins. I suggest you go through this doc, it's an interesting way of implementing something which you want.
And if also want commit messages to follow a certain convention like including a Jira issue key then you can use this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.