JetBrains / YouTrackSharp

.NET Standard 2.0 Library to access YouTrack API.
https://www.jetbrains.com/youtrack
Apache License 2.0
134 stars 105 forks source link

IsMarkDown on case creation not fully implemented #92

Closed CyrilCoq closed 4 years ago

CyrilCoq commented 4 years ago

Expected behavior

When using IsMarkDown = false it should create a case without the Markdown option ( YouTrack Wiki ). The Querystring sent to YT should show markdown=false.

Actual behavior

Nothing is appended to the QueryString when using IsMarkDown = false. ( only appended when IsMarkDown = true )

Steps to reproduce the behavior

Create an issue and use IsMarkDown = false, the querystring is not appeneded and the Case is created with the default value to MarkDown.

Potential fix on or around: "if (issue.IsMarkdown)" on line 97 of IssueService.cs

maartenba commented 4 years ago

Good catch! Let me see if I can get that fixed.

maartenba commented 4 years ago

New release should be up shortly.

CyrilCoq commented 4 years ago

Thank you :)