Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to host a file in JIRA such that I can link to it on our portal?

Ben Poulson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2019

We have a spreadsheet that users are required to fill in when creating a certain kind of ticket- a .xls file. Currently, this file is hosted in Google Drive and linked on our portal. Unfortunately a few clients have very restricted internet access, so they are not able to follow the link (currently, whenever this comes up, we just directly email the file to the user). Is there a way to host the file in jira and link to it on our portal so that all users can access it? I have tried creating a dummy ticket, attaching the file to it, and linking to that attachment on our portal, but it doesn't work because the attachment is only available to users on the ticket. Is there another way to host it in jira?

 

Thanks!

1 answer

1 vote
Josh Steckler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 15, 2019

If you're on server, and if you're using a reverse proxy, I have a way to do this.

I created a folder in my web server's (in my case nginx) http root.

for example: /usr/share/nginx/html/joshsdir

You would then put your xls in there.

Then, I excluded that directory from the proxy in my nginx configuration by adding another location block. So when somebody tries to get to https://myJira.domain.com/joshsdir/file.xls they would be able to access it.

 location /joshsdir{
root /usr/share/nginx/html;
}

 

Here's how I used to do this in Apache before I switched.

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
ProxyTimeout 600
AllowEncodedSlashes On
ProxyPass /joshsdir !
ProxyPass / http://127.0.0.1:8081/ nocanon
ProxyPassReverse / http://127.0.0.1:8081/
Ben Poulson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 16, 2019

This is probably the answer, unfortunately I don't have that level of access to the server.

Suggest an answer

Log in or Sign up to answer