commiticketing prefixes commits on ephemeral branches based on the branchname. It would be nice to have an additonal hook checking whether the issue referenced in the branchname (and thus in commit messages) is still open.
Idea
Create a hook that does a callout to the repository's issue tracking on Jira and checks the status of the issue, if it's Closed, it rejects the commit. This will also need a base URL and PAT as mandatory arguments.
Context
commiticketing
prefixes commits on ephemeral branches based on the branchname. It would be nice to have an additonal hook checking whether the issue referenced in the branchname (and thus in commit messages) is still open.Idea
Create a hook that does a callout to the repository's issue tracking on Jira and checks the status of the issue, if it's Closed, it rejects the commit. This will also need a base URL and PAT as mandatory arguments.