Create a Jira Issue/Checkout a corresponding branch. Easily.

A common development flow goes like this:

  • Create a Jira ticket
  • Create a Git branch mapping to that Jira ticket
  • Making changes in the branch, and then merging it into master using a pull request

The initial set up can be quiet annoying because first you have to go to your Jira website and create an issue, possibly first having to navigate to the correct project etc., and then you have to go to your Git software/command line or github.com and create a new branch. Wouldn’t it be nice if you could achieve all that from right within Visual Studio or from the command line, by issuing just one command?

That is exactly what this tool does.

You can look/get the code from here

https://github.com/floatingfrisbee/CIC

or download the zipped binaries from here:

https://github.com/floatingfrisbee/CIC/releases

The tools uses the Jira REST API to create an issue and then invokes git.exe locally based on the response received as a result of the Jira call.

If you want to add this to Visual Studio’s External Tools, you should put the files in your path somewhere, and go to Tools -> External Tools and “Add” a new tool with the following settings:

Command: cic.exe
Arguments: -u <username> -p <password> -k <JiraProjectKey> -r $(SolutionDir) -t "Your Jira Ticket's Title"

Create a Jira Issue/Checkout a corresponding branch. Easily.