This commit is contained in:
2022-12-28 17:53:36 +00:00
parent 50016951ae
commit c17d9f7d31
2 changed files with 5 additions and 5 deletions

View File

@@ -339,6 +339,10 @@ namespace Sockeye.Biz
g.Name = jRFCase["title"].Value<string>();
g.Notes = jRFCase["notes"].Value<string>();
var ver = jRFCase["releaseVersion"].Value<string>();
if (!string.IsNullOrWhiteSpace(ver))
g.Notes += $"\nRelease version:{ver}";
var releaseNotes = jRFCase["releaseNotes"].Value<string>();
if (!string.IsNullOrWhiteSpace(releaseNotes))
g.Notes += $"\nRelease notes:{releaseNotes}";
@@ -349,10 +353,6 @@ namespace Sockeye.Biz
//priority to tags
g.Tags.Add($"{jRFCase["priority"].Value<long>()}-priority");
//release version to tags
var ver = jRFCase["releaseVersion"].Value<string>();
if (!string.IsNullOrWhiteSpace(ver))
g.Tags.Add($"release-{ver}");
GZCaseBiz biz = GZCaseBiz.GetBiz(ct);
await biz.CreateAsync(g);