I am a newbie Jira user and am trying to create a Jira client via the Atlassian.Jira SDK method 'CreateRestClient' as follows:
public String JiraQuery()
{
Jira jiraClient = Jira.CreateRestClient(txtSrvrAddress.Text, txtEMail.Text, txtAPIToken.Text, new JiraRestClientSettings());
IProjectService iService = jiraClient.Projects;
Task<IEnumerable<Project>> ienumProject = iService.GetProjectsAsync();
return "Hello there!";
}
However, I am getting the following exception when executing the call to CreateRestClient:
I am at a loss as how to solve this problem. Does anyone have any suggestions?
Thanks in advance.
Jeff Armstrong
Sr. Developer, Deltek Corporation
I would recommend you to simply use Jira with basic http rest api calls, without any 3rd party library.
And you will not have any issue
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.