Link a file of SVN (with reference to certain line) to JIRA ticket

Doreen Becker July 2, 2013

Hi.

I searched for similar questions but found nothing.

I want to add a link to a JIRA ticket that references a certain line of the code - more precisely a link to a method of a java class.

I know I can add a link to the SVN file itself with the 'source:<rep-file-path>' macro in ticket's comment or description.

But I want more:

  1. I would be happy if I can see this link in the source tab of the JIRA ticket. And I would be excited if I can see the code lines directly (or a certain fraqment like a class method) :-)
  2. I want to link to a certain line of the source file (method, code line, etc.)

Is this possible?

PS: I have JIRA and FishEye as OnDemand.

Best regards,

Doreen Becker

3 answers

1 accepted

2 votes
Answer accepted
Kinto Soft
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2013
The Atlassian's JIRA Subversion plug-in which has been overcome by Subversion Plus: https://marketplace.atlassian.com/plugins/pbeltranl.subversion.jira.pbeltranl-jira-subversion-plugin relates JIRA issues to full commits not just to a single line in a file. @Doreen have a look at DocMiner for JIRA https://marketplace.atlassian.com/1210854 which supports exactly what you are looking for: it allows to relate JIRA issues to any text paragraph in any document version, including source files on Subversion.
Doreen Becker July 3, 2013

Hi Pablo.

The DocMiner plugin seems to be exactly the tool I need.

Thanks for your advice!

Regards,

Doreen

1 vote
Onkar Ahire
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 3, 2013

HI Doreen,

Great , Subversion Plus[https://marketplace.atlassian.com/plugins/pbeltranl.subversion.jira.pbeltranl-jira-subversion-plugin] plugin is compatible with JIRA 6.

Regards

Onkar Ahire


1 vote
Onkar Ahire
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2013

You can use JIRA Subversion Plugin[https://marketplace.atlassian.com/plugins/com.atlassian.jira.plugin.ext.subversion]

and in Commit message should like below to get the solution you want.

Commit message with issue key like ATN-1 link of file

commit will reflect in Subversion issue tab panel.

Cheers

Onkar Ahire

Doreen Becker July 3, 2013

Hi Onkar.

Thanks for the hint. I think that the DocMiner plugin (recommended by Pablo) should better meet my requirements.

BTW: Is the Subversion Plugin now available for JIRA 6?

Regards,

Doreen

Suggest an answer

Log in or Sign up to answer