Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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!

 

2 answers

I have the same problem. I'm tying to add a new query from Data menu, New query, From Other Sources, From Web, with the url: https://my_domain.atlassian.net/sr/jira.issueviews:searchrequest-csv-current-fields/39307/SearchRequest-39307.csv

And it does not connect, I select Basic authentication, type my username (my email), and mi jira password, but it does not connect. I receive: The user was not authorize

 

If i do the same steps but with url: https://my_domain.atlassian.net/, and select Basic authentication. It does connect with the same credentials but, then it does not connect to the filter.

 

What am I missing?

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
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

131 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you