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.
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.
I'm John Allspaw, co-founder of Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...
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!
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