Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

C# Authentication GET method Edited


I'm trying to connect to my project on JSD Cloud

Since the vanilla version of JSD doesn't provide the import functionality we are looking for so I'm giving C# a go to see if it help us.


I'm getting error "The request was aborted: Could not create SSL/TLS secure channel."

My Goal is to Authenticate and Get all the queue items....


Here's my code

string jsonResponse = null;

urlJira = "";

WebRequest requestIssueList = WebRequest.Create(urlJira) as HttpWebRequest;
HttpWebResponse responseJiraList = null;
requestIssueList.Method = "GET";
requestIssueList.ContentType = "application/json";

ServicePointManager.Expect100Continue = true;

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
| SecurityProtocolType.Tls11
| SecurityProtocolType.Tls
| SecurityProtocolType.Ssl3;

requestIssueList.Headers.Add("Authorization", "Basic " + GetEncodedCredentials(strUserName, apiToken));
// byte[] data = Encoding.UTF8.GetBytes(JsonString);

responseJiraList = (HttpWebResponse)requestIssueList.GetResponse();
using (Stream stream = responseJiraList.GetResponseStream())
StreamReader str = new StreamReader(stream);
jsonResponse = str.ReadToEnd();

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

235 views 1 6
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