Немного desktop чудес и async
This commit is contained in:
1 parent
1c2cee082e
commit
0b93b88118
5 files changed
+145
-124
No files matched your search
@@ -22,10 +22,9 @@ namespace JiraTimeBotForm.JiraIntegration
|
||||
|
||||
public string GetTaskName(string branch)
|
||||
{
|
||||
Issue issue = null;
|
||||
try
|
||||
{
|
||||
issue = _jira.Issues.Queryable.FirstOrDefault(f => f.Key == branch);
|
||||
var issue = _jira.Issues.Queryable.FirstOrDefault(f => f.Key == branch);
|
||||
return issue?.Summary;
|
||||
}
|
||||
catch (Exception)
|
||||
|
||||
Reference in new issue
Block a user