How do I add a link from JIRA to our server hardrive?

I need to be able to add links in JIRA issues to files on our servers. I can see how I can link to webpages but how can I add this link to the server? it is possible to insert a link to a URL in an issue but I can’t see how to link to a server –  I tried using [file:\\'drivenname'\'foldername'\'filename.pdf'] for example, but it doesn’t work.

I would prefer to use an add on rather than modify or add to JIRA source code. 


1 answer

2 votes
Chris Fuller Atlassian Team Aug 15, 2016

Anything that allowed you to link to an arbitrary file on the server would be a very serious security problem.  We don't allow you to do this, and you don't really want us to.

If you mean the file is on some other server, things get a bit more interesting.  The "file:" profile is somewhat ambiguous in what it means.  It could mean either SMB or FTP or NFS for instance. The way a "file:" URI is interpreted is left up to the operating system in most respects, and it tends to depend on the operating system of the client more than the server, making it very very hard to get this right.

You will save yourself a lot of time and worry by referring to the file using HTTP.  Failing that, you could get the server's administrator to drop it into the web application and access it using a static URL.  Or have the server's filesystem mounted on the JIRA server machine and reference it indirectly through there.

Really there are lots of ways to get there, but file: URLs have so many problems, security and consistency wise, that I don't honestly see a good way for them to be supported.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

386 views 6 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