How to link local folder


I'm using Jira and try to add a link to a local folder in a text-/commentbox like this:

<a href="file://LocalDisk:\Folder\Folder\Folder\">DisplayName</a>

It did not work. Either IE9 or FF18 open an explorer.

However when I copy the link and insert it to a new Tab -> IE9 opens an new Explorer Window and FF18 shows the folder content in the Tab.

Is there an other option to open a local folder or what is my mistake.


5 answers

1 accepted

This widget could not be displayed.

Due to security concerns, all Browsers disallow linking from (remote) website to local content. Thats the reason why they show the content only if you manually enter the path. However you can override this behaviour for most browsers (but i would not recommend it).

You could instead just use the Attachment function or make the files available via another webserver ( )

also take a look at this Knowledgebase Article:'t+Link+to+Local+Files+from+within+JIRA

This widget could not be displayed.

It is not possible to show the content of a directory using an internet browser. They don't know what to do with this information. If you want to open a file explorer you have to use vbscript in your html code.

do you have a smal example, how to do this

This is not true as you can see below ... using "file:///G:/BU%20HP%20SALESINFO/" in browser path gives this:

image2016-7-25 16:31:10.png

This widget could not be displayed.

I'm not sure we can help until we understand what you mean by "local folder"?

The url you have given, with file:// will cause a browser to open the file system on the machine it is running on. You have configured IE9 and FF18 to try to open files with Explorer rather than internally.

I suspect what you actually mean is not "local folder", but "folder on a web server" (One reason I assume that is that you simply cannot assume that your "local folder" will exist on a client machine). If that is what you mean to do, then you need to be running something that will expose that server directory.

I'm trying to link a folder on my local hard disk, everybody else of my team should have this folder too. So the link should open the folder on the computer of everybody else

That sounds a little contradictory to me - "on my local hard disk" and "folder on computer of everybody else".

To clarify the requirements, I'm afraid I need to ask more questions:

1. Which one is it? Do you need to open the directory on your hard disk, and everyone opens it on your machine? Or do you mean everyone tries to open the same local path, irrespective of whether it's there, or it's contents?

2. When you say "open", what do you need to open the directory with?

This widget could not be displayed.

You gotta be using relative paths, e.g. <a href="/folder/folder/">

I'm not sure if you could access entire folders like this in your webserver, but you could probably create a link that links back to jira homepage via <a href="/../../jira">

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

97 views 1 0
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