Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The JQL functions provided by Subversion ALM allows searching issues filtering by Subversion attributes like author, date range, commit range, words in comment, files and subdirectories, etc. while the Commit Calendar View shows commits in an interactive calendar.

Anchor
_Toc387961529
_Toc387961529
JQL functions

Several JQL functions are supported by Subversion ALM allowing users to search issues on JIRA by using Subversion attributes like the commit author, commit date range, committed files and directories, any words in the commit message, etc etc.


All the Subversion ALM JQL functions:

...

  • Attribute functions: they allow searching issues on JIRA by using Subversion attributes:
    • svnCommitNumberRange
    • svnCommitDateRange
    • svnAuthor
    • svnItem
  • Aggregation functions: they allow searching issues on JIRA by aggregating (counting/amount) some Subversion attribute:
    • svnMultiCommit
    • svnMultiAuthor
    • svnMultiProject
    • svnMultiRepository


Anchor
_Toc387961530
_Toc387961530
Attribute JQL functions

svnCommitNumberRange







It returns the issues related to commits between a revision range on an specific repository







#

Name

Type

Required

Values

Description

1

repoId

Integer

Yes

>0

The repository Id

2

start

Integer

No

>=0

The start revision of the range

3

end

Integer

No

>= 0

The end revision of the range

4

limit

Integer

No

>=1

Limits the number of returned issues

...

  1. It returns all the issues related to the commit which deleted a "myfile.txt" file in the repository 3 regardless the file location. As no path is set, it will search for the file in all the branches.
  2. It returns the issues related to the latest 5 commits changing the exact "/foo/myfile.text" file in the repository 3. As the path is set to "/foo" it will look for the file in that exact branch.
  3. It returns all the issues related to the commit which created the exact "/foo" branch. Notice that the branch name does not end with a slash "/" character, so the subdirectories are ignored.
  4. It returns 10 issues related to all the commits modifying something under the "/foo" branch. Notice that the branch name ends with a slash "/", hence all the subdirectories will be taken in consideration during the search.


Anchor
_Toc387961531
_Toc387961531
Aggregation JQL functions

Sometimes managers want to track some potential risks. Subversion ALM supports some useful JQL functions in order to help them:

...


Example:
issue in svnMultiProject (2, 10)
What are the recent issues that have commits on 2 on more JIRA projects?

Anchor
_Toc387961532
_Toc387961532
Commits Calendar Report

The Commits Calendar Report allows visualizing the commits related to the issues returned by any filter.
Prior to use it, a JQL query has to be saved:


From the top menu: Subversion > SVN Filter Report


Click on the Select Filter… link:

Select a filter and click on the Next button:

This page shows:

...