We have setup Git (Gitlab) Integration with Jira. Both are self-managed, self-hosted. We see how the Git commits are listed as associated with a Jira Issue and how we can click on each commit to see the files updated, added, and/or deleted.
But is there a way to have Jira provide a list of all the files changed for an Issue? Given a list of Issues that are built into a release, we would like a way to retrieve a list of the files changed for each Issue. Such information is required to send with the release.
Thanks, Boyd
I received the following as a possible solution:
"It would probably be easiest to do this directly from Git. Since each Git commit has the issue ID in the commit message,
and Git has a log format that will print out the names of the changed files without also printing the changes,
it should be possible to have a script that takes in a list of Jira IDs and uses Git to print a list of changed files.
Something like this should get you most of the way there:
git log --name-only --pretty=format: --grep='ISSUE ID' | sort -u
That will give you a combined list of files for all commits that have ISSUE ID in the message."
Hi @Boyd K ,
Here's s documentation that may point you in the right direction:
https://bigbrassband.com/overview.html
-Ben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Received the following from BigBrassBand: "list of all changes per branch by using the Git Roll Up tab: https://help.gitkraken.com/git-integration-for-jira-data-center/git-roll-up-tab-docs-gij-self-managed/".
However, after merge requests to the "next" branch, Git Roll Up no longer can list the changed files since it compare between the branches.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.