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
Community moderators have prevented the ability to post new answers.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.