How can I link to a document or a program .EXE

I want to add a field that contains the full path to a file and then when the user clicks on it, that file will open in the appropriate program. I DO NOT want to attach the file. I want it on the network where others can see it, read it or update it. I just want to be able to get to it from an JIRA/GreenHopper page.

2 answers

1 accepted

3 votes
Accepted answer

Hi George,

I see that you're asking this question about Atlassian OnDemand and this sounds suspiciously like something that we wouldn't want AOD users doing. I can't say this with certainty, but I suspect linking to an external application or document that could be triggered to run from a JIRA/Greenhopper page would present exactly the sort of attack vector that we would try to prevent on the AOD platform. I know for sure that deploying HTML in pages is restricted, and I would assume that the same applies for linking to external files:

However, Adam's advice would work perfectly well on a self-hosted instance of JIRA/Greenhopper, so if this is a vital function for your workflow then you might want to consider migrating to a self-hosted instance as these aren't subjected to the same restrictions of AOD.

All the best,

0 votes

Do you want a field or do you want to be able to add a link using a comment or description field?

If you add a field, you can add a custom field type 'URL field' and then paste the link value and that should work.

Otherwise, you can switch the Comment field and/or Description fields to use the wiki markup renderer, if the aren't already on by default and paste wiki markup: See below for the notation guide for adding links:

<th width="250">Notation</th><th>Comment</th>
Creates an internal hyperlink to the specified anchor or attachment. Appending the '#' sign followed by an anchor name will lead into a specific bookmarked point of the desired page. Having the '^' followed by the name of an attachment will lead into a link to the attachment of the current issue.
Creates a link to an external resource, special characters that come after the URL and are not part of it must be separated with a space.

Note: The [] around external links are optional in the case you do not want to use any alias for the link.


[] Creates a link to an email address, complete with mail icon.



Creates a download link to a file on your computer or on a network share that you have mapped to a drive. To access the file, you must right click on the link and choose "Save Target As".

Note: By default, this only works on Internet Explorer but can also be enabled in Firefox (see docs).

{anchor:anchorname} Creates a bookmark anchor inside the page. You can then create links directly to that anchor. So the link [My Page#here] will link to wherever in "My Page" there is an {anchor:here} macro, and the link [#there] will link to wherever in the current page there is an {anchor:there} macro.
[~username] Creates a link to the user profile page of a particular user, with a user icon and the user's full name.

I tried a URL field and it had two problems.

First I had to start the entry with file:///c: like this, otherwise I got an error:


And then double clicking on the result doesn't open the file.

I also tried a <225 character text field. This entry wasn't recognized as a link:

C:/Documents and Settings/labmanager/My Documents/SampleLinkDoc.txt

I'll try the other one you suggest.

These don't work...

Time to quit for the day.

I can't get a new description field to show up.

The contents in the screen shot do not work.

Screen Sht

All that aside, what I REALLY want to do is have an object like the file attachment tool that would let me navigate to the file I want and then just save a link to it -- not attach it.

Hey Goerge, the file:// links works only with IE not with other browsers, AFAIK.

@Renjith - Thanks! Except I just tried it in IE 8 - No go. I'll get 9 on my test machine and try that.

Any idea how to make it -- or something like it -- work in FF and/or Chrome?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,653 views 18 21
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