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.
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."
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.
Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...