c# SDK basic authentication stopped working

We created a API using the c# SDK to allow interaction between Jira and our internal time keeping system.  This has been working for months.

A Jira object is created using the CreateRestClient method:

private static Jira MyJira
if (_jira == null)
_jira = Jira.CreateRestClient(ConfigurationManager.AppSettings["JiraUrl"],

_jira.MaxIssuesPerRequest = int.MaxValue;

return _jira;

We use my account to run the API.  This morning I tried to login to Jira on the Web.  I was prompted to login.  I tried the username I normally use but was redirected to pick one of my google accounts to login.  I don't use google to login to Jira.  It would not log me in with my regular username.  The only way I could get in was to change my password.  If I logout and try to login I have to change my password again to get in.

I set my new password in the config file for our API but it does no authenticate. I tried going directly to the jira rest api using fiddler.  I created a new base64 auth string for my username:password and I get an authentication error.

Has there been a systems change that would explain this?

1 answer

Hi Mark - What version of JIRA are you using? JIRA Cloud or JIRA Server?

We are using Jira Cloud.

One possiblity is that you have been upgraded to Atlassian Account.

That has some impact on the REST APIs as descibed here:


"After the upgrade, REST APIs that accept Atlassian account user credentials expect a verified email address instead of a username."

I put my email address in for the username but it is still not authenticating.  My account seems to be broken.  If I logout of Jira the only way I can get back in is to reset my password.

Can my account be put back the way it was?  Can it be reset.  I need a solution we are not able to get our project information from Jira for time entry.  This a big problem.

What would be the quickest way to get me back up and running?


It could be a couple of things:

1. There is a current incident with Altassian Account login, which might be confusing things: https://atlassian.statuspage.io/incidents/01r8249rwb6r Wait for that to be resolved before trying again.

2. There have been some recent reports of problems with logins for some people that were recently migrated to Atlassian Account. See this thread: https://community.atlassian.com/t5/Questions/Can-t-login-into-our-JIRA-account-is-not-associated-with-any/qaq-p/579848

Your best bet would be to raise a support request with Atlassian and they should be able to help diagnose and resolve your issue. Do this at: https://support.atlassian.com/contact/

If you have problems accessing that link, you can try: https://www.atlassian.com/company/contact/general-inquiries

By the way, I'm assuming you are (or have contacted) the admin of your Cloud instance.

if not, you should ask them for help and they can raise the support ticket on your behalf.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,660 views 18 21
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