Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

GetIssueAsync Fails

Nir_Kushtai
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 23, 2020

The following code suddenly stopped working for some of the issues:

Jira jira = Jira.CreateRestClient("https://maytronics.atlassian.net", "user", "token");

// Try getting the issue
Issue issue = await jira.Issues.GetIssueAsync("issue key");

 Any ideas?

1 answer

0 votes
Craig Dinsmore January 4, 2021

Nir, 

Did you find any solutions to this. 

I am getting a conflicting error when I'm trying to use the await ...GetIssueAsync(). 

Visual Studio error stating that the await option must be enabled in the class...

When I take the await option away, the class loses its Issue properties all together. 

Very strange.... 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events