how authentication works when accessing an Excel filter export via URL

I have a filter that I want to easily export to Excel.  If I am logged into JIRA in my (Chrome) browser and enter the URL 

https://my_jira_domain.com/sr/jira.issueviews:searchrequest-excel-current-fields/16301/SearchRequest-16301.xls?tempMax=1000

it automatically downloads the spreadsheet (exactly what I want!).

If I put that hyperlink into an Excel spreadsheet and click from there, it asks for my username and password.

Here's what I can't reconcile... any other JIRA link that I've tried - accessing the main page, a dashboard, or the filter - from a hyperlink in Excel works without requesting a username and password.

It will work if I put the user/pass into the URL (&os_username=username&os_password=password) but I'd really like to avoid that for the obvious security reasons.

Any advice welcome - thanks!

 

1 answer

When the link is clicked, it will be opened in the browser - after that the standard browser authentication happens. If you already have an open session (i.e. you are logged into JIRA) you will not be prompted for a password. If your session has expired you'll need to log it. The Excel export link is no different than any other link in that regard. Are you sure the link does not open in another browser or your session is still valid?

I just tried this on a server and a cloud JIRA and there is no difference between Excel export link and any other link.

Thanks, Petar - maybe it's a Google Chrome specific issue. I am logged into JIRA within Chrome and when I click the link in Excel, it opens a new tab within that same session and asks me for a password. Any other link I've tried this way, including https://my_jira_domain.com/issues/?filter=16301, has worked.

Another tidbit - initially this worked for me. I always stay logged into JIRA and when I created the
spreadsheet with the link, the link worked. I wanted to see what happened when I logged out of JIRA and tried to open the link. Now I can't seem to "log back in".

I just tested this in Internet Explorer and I am experiencing the same issue...

Suggest an answer

Log in or Sign up to answer
Community showcase
Asked Dec 06, 2018 in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

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...

5,535 views 21 17
View question

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