Search on commits

Is there a way to include Subversion commit information in a search? In the issue navigator? (Last commit? Last revision?)

5 answers

Subversion Plus has finally become totally free and it can do it. For people interested in traceability JIRA-Subversion there are even more good news: you can see issues on the commit graphs. In other words, track how the JIRA issues are impacting (and driving) your changes and do it in a visual way...

PS: Subversion Plus bundles an enhanced version of the Atlassian JIRA Subversion plugin.


We are using Subversion Plus but I do not see how I can add this information to the navigator.

Ideally we would like to programmatically update a custom field with the most recent commit.

What version? Plus (4.x) or ALM (5.x).

Subversion Plus was renamed to Subversion ALM and the JQL functions are avilable from the 5.x version (ALM).

0 votes

It is not possible. You might be able to do it with extra coding, maybe outside of the subversion plugin.

Humm, do you mean a pure Subversion browser trough JQL?

When you say

Last commit?

what it means?

a) Last commit on Subversion? or

b) Last commit on Subversion related to an issue.

They might differ: for example, an user may relate the TEST-25 issue with the latest commit (r234/HEAD). After, an user might create a new commit on Subversion (r235/HEAD) but not related to any JIRA issue:

By using JQL, you might get the TEST-25 issue which would implicitely be related to the latest (higher) r234 commit . But getting the r235 (the HEAD) would not be possible.

The next generation of Subversion Plus will support it and almost all the queries someone could imagine.

The latest pages of this document

provide detailed information about the new JQL functions supported in the 5.0 version (which is pending Atlassian approval) for searching issues based on Subversion attributes like a revision range, date range, author, comment, file and directories and many more....

Subversion 5.1.0 has just been released:

If you are interested in how it resolves your requirement, register your existing repositories and type in the Issue Advanced Search the following JQL query:

issue in svnCommitDateRange("","","",1)

Parameter meaning:

#1: all the repositories

#2: from date

#3: to date

#4: limits the result to 1 issue (internally the commits are sorted by date in descentant order)

The query above will provide just what you are looking for.

You migh also want to use

issue in svnCommitDateRange()

which returns all the issues related to any commit (although I would recommend you use some filter if you have a lot of issues related to commits)

Save it and create a new Commit Calendar Report to display the results on a calendar view. You can click on the commits in the calendar to see the issues and more details. In that way you would get the commits sorted by date in a visual way rather the latest one only.

Subversion Plus has become public again (with a lot of cheaper pricing).

For sure, it it provides the data what you are looking for.

In the later versions, a calandar view for commits on issues has been supported.

Now, you can create a JQL query for a getting the commits on project or something else, save it as filter on JIRA and create a Subversion Plus calendar view on it. In that way, by opening the view you could see not only the latest commit, even the full commit history.

Something similar to this:

Hope this helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

447 views 8 26
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you