This webApp listens to JIRA webhook messages and creates work items in Azure Devops Server (cloud or on-premise).
The webApp can also create a new GIT branch and associate the branch with the newly created workitem. Branch is created with NO_CI commit message to avoid unwanted build triggers.
- aspnet core 3.1
- automapper / autofac
- Love
Once configuration is properly done, just take a seat a watch your azure devops backlog filled with your jira created/updated tickets
When you set a label named "git" in your jira ticket, git branch will be automatically created and the branch name pattern will be features/[JIRA-ID] (configurable)
- Configure appsettings.json
"ItemRepositories": {
"AzureDevops": {
"Uri": "",
"Token": "",
"GITSourceControl": {
"RepositoryName": "MakeITEasy.VacationRequest",
"MasterBranch": "master",
"NewBranchPath": "refs/heads/features"
}
}
AzureDevops/Uri is your top level azure devops site url
AzureDevops/Token is your security token generated on azure devops server with full access to code
AzureDevops/GITSourceControl/RepositoryName : Name of your project as defined in Azure Devops
AzureDevops/GITSourceControl/MasterBranch : Name of your base branch
AzureDevops/GITSourceControl/NewBranchPath : Git virtual path to your new branch
- Deploy the aspnet core web app
- Setup webhook in JIRA with following url : https://myserver/WebHookController/Jira
Distributed under the MIT License.
Don't hesitate to contact me for any inquieries