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

Querying Jira from Excel: error "We couldn't authenticate with the credentials provided."

Hello,

I'm trying to import Jira tickets from https://<my company>.atlassian.net in Excel 2016 with a query, but with Basic authentication I have the following error:

We couldn't authenticate with the credentials provided. Please try again.

I've also tried to authenticate with a token in Web API authentication and have the following error:

A web API key can only be specified when a web API key name is provided.

Any idea on how to import my tickets in Excel 2016?

Note: I have no problem downloading the list of tickets from https://<my company>.atlassian.net/sr/jira.issueviews:searchrequest-csv-current-fields/10061/SearchRequest-10061.csv, but I need a dynamic solution.

Regards,
Gauthier

1 answer

0 votes

Not sure about excel import but Web API certainly sounds the same as the REST authentication. For REST you need an API token to access the API so i would bet on that being the case for the excel import as well. 

Follow this guide to create your api token: https://confluence.atlassian.com/cloud/api-tokens-938839638.html 

In Rest you only provide one string for authentication encoded as base64 in this format

FORMAT: ”Basic ”+Base64 encoded string of "login name:API-key"
Exampel BASE64 (https://www.base64encode.org/): krister.broman:ABCDE12345 gives a3Jpc3Rlci5icm9tYW46QUJDREUxMjM0NQ
Final result for authentication: Basic a3Jpc3Rlci5icm9tYW46QUJDREUxMjM0NQ

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

314 views 1 3
Join discussion

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