Open the command pallete on VSCode (cmd + shift + p)
Type in commitji commit then press enter
Answer the following prompt questions to compose your commit message
Configuring Commitji
Workflow selection
Commitji includes two workflow as of the moment (Basic Workflow and Jira Workflow). You can change this on the settings.
Basic Workflow will ask you on the following questins:
What is the commit type? (ex: feat, fix, style)
What is the commit message?
Jira Workflow will ask you on the following questions:
What is the commit type? (ex: feat, fix, style)
What is the Jira Issue Key/Number (if no issue key can be found on your current branch/repo; otherwise, it won't ask you about it)
What is the commit message?
What is the Jira Workflow Transition (optional)
Jira Workflow Configuration
Commitji adds extra settings on customizing your Jira Workflow
Optional prompt of Jira Workflow Transition
If you wish to enable the Jira Workflow Transition, toggle the option Allow Workflow Transition prompt and you must provide an array of workflow transitions in the settings.
For more details about the workflowTransitionName check out this Jira documentation.
Customized extraction pattern on getting your Jira Issue Key on your current branch
By default, it uses the format of ((?<!([A-Z]{2,10})-?)[A-Z]+-\d+) on picking your Jira Issue Key through your current branch. You can change this if you think this doesn't match your current Git branching strategy. This is based from the Jira as it is said here.