I am trying to fetch projetcs and issue from JIRA server which is located outside from my network but I am getting Authentication error.
Prior to that, JIRA server is located on client machine an i am trying to connect with my credentials using Atlassian SDK (.Net)
Code is like this :
var jira = Jira.CreateRestClient(" JIRA Server ", "username", "password");
var selprj = await jira.Projects.GetProjectAsync("projectname");
Response was not recognized as JSON. Content: Authentication Required
[21/Aug/2017:10:39:49 +0200] / dc2proxy06 / Local IP Address
Your code is not logging into JIRA, so the response when you try to get the project list is effectively "you are not logged in".
You'll need to debug the previous line that tries to create a connection object, as it's not working.
I've not used C# for years and don't have one to hand. There's mention of the starting point though at https://community.atlassian.com/t5/Bitbucket-discussions/How-can-I-use-JIRA-Rest-API-in-C-net/m-p/628365#M122
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
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!
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