Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,849
Community Members
 
Community Events
168
Community Groups

Git Integration with Jira

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

2 answers

1 accepted

0 votes
Answer accepted

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."

0 votes
Benjamin Community Leader Aug 29, 2022

Hi @Boyd K ,

 

Here's s documentation that may point you in the right direction:

https://bigbrassband.com/overview.html

 

-Ben

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.

Like Benjamin likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

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...

4,963 views 18 31
Read article

Atlassian Community Events