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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,313 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot