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 Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

37 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot