This is the third part of my blogpost about integration between issue tracking system, CI server and VCS. Part 1 is about components setup. Part 2 is about project setup.
1. Use case scenario: resolve an issue
Use Case Name: Resolve an issue
1. Create a new issue in JIRA
Assign the new issue.
Set time estimation.
Set issue state to “In Progress”
2. Create a new issue-branch in Stash
In the Development section of the new issue click one the
Create Branch link.
You will be redirected to Stash.
Choose right repository, choose right branch type depends on your branching name convention and issue type (feature, bugfix, hotfix etc), choose parent branch, leave new branch name as it is.
3. Resolve issue
Fetch changes from origin and checkout the new issue-branch.
Resolve the issue.
Update time tracking in JIRA: remaining time and estimated time if necessary.
5. Build in TeamCity
TeamCity builds issue-related branches.
To enable this feature Branch specification must be configured in VCS root configuration.
Read TeamCity documentation for more details.
If the issue-build was successful the merge changes with development branch and push.
TeamCity will build developmetn branch and now build result will be visible in JIRA in TeamCity tab.
Set issue status to Resolved.