Using a development infrastructure of git, Fisheye+Crucible, and Jira 4.2.
Commits to Fisheye-registered repositories are reflected in Jira Projects and Tickets since we configured the mappings in Jira; however, only commits on the master branch seem to be reflected. In Crucible, other branches can be chosen to search for commits for reviews.
How can I make all those branches visible in Jira?
To view your remote branches, simply pass the -r flag to the git branch command. You can inspect remote branches with the usual git checkout and git log commands. If you approve the changes a remote branch contains, you can merge it into a local branch with a normal git merge .
git pull fetches updates for all local branches, which track remote branches, and then merges the current branch.
In order to verify which branches are merged into master you should use these commands: git branch <flag[-r/-a/none]> --merged master list of all branches merged into master.
Seems like it is a limitation of Git-Fisheye ( https://confluence.atlassian.com/display/FISHEYE/Git ):
When FishEye indexes a Git repository, it indexes by the available branches. As it processes the commits on a branch, FishEye will assign the commit to the branch it first sees the commit on. Commits are only indexed once so if a commit belongs to multiple branches, the commit will not indexed against subsequent branches.
You may consider using - Jira Git plugin https://marketplace.atlassian.com/plugins/com.xiplink.jira.git.jira_git_plugin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With