You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.