I have successfully integrated my GitHub account on Jira (Server) linking it to a repository using the standard github integration app from the marketplace. When checking in code, it is successfully linked to the Jira issue.
I would like to know if I can fork or clone a repository every time I create a new project on Jira, rename it, and then I can link it to said project when checking in work items into the repo for issues created within that project. Example of the workflow:
Start with one main repository: template-repo
We now have 2 repos in our github account which are template-repo and awesomeprojectx-repo.
For the second project:
and so on...
the latest version of the template source code will be managed in template-repo and every time a new project is started, we ensure that we are starting with the latest templates. customizations per project will then be made on the cloned/forked repo for said project and the changes will be linked with the existing integration to the relevant jira tickets.
Any help/pointers to any documentation that might lead me in the direction of achieving this would be appreciated. I have a sneaky suspicion that GitHub actions might come into play here, but I am not 100% sure.