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

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

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.

Hi Pablo.

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

Thanks for your advice!

Regards,

Doreen

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

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

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


Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

575 views 6 12
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