I'm trying to create a new issue using YouTrackSharp, back into my on premise you track instance. I can search fine, so I know my Connection and Credentials are working.
Based on the example I have tried both a dynamic, as well as instantiating an Issue().
Fails to Compile
dynamic issue = new Issue()
{
type = "Question",
summary = model.Summary,
description = model.Description,
projectShortName = "CSR",
};
This code compiles, but Fails at runtime to convert dynamic into Issue param, with exception ' The best overloaded method match for 'YouTrackSharp.Issues.IssueManagement.CreateIssue(YouTrackSharp.Issues.Issue)' has some invalid arguments
dynamic issue = new
{
type = "Question",
summary = model.Summary,
description = model.Description,
projectShortName = "CSR",
};
YouTrackIssueManager().CreateIssue(issue);