mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
BUG-2016: Fix for not retrieving the available projects.
This commit is contained in:
parent
c0d18c952c
commit
8b5708e862
1 changed files with 2 additions and 2 deletions
|
@ -109,12 +109,12 @@ namespace GreenshotJiraPlugin {
|
||||||
}
|
}
|
||||||
_jiraApi = new JiraApi(new Uri(JiraConfig.Url));
|
_jiraApi = new JiraApi(new Uri(JiraConfig.Url));
|
||||||
_issueTypeBitmapCache = new IssueTypeBitmapCache(_jiraApi);
|
_issueTypeBitmapCache = new IssueTypeBitmapCache(_jiraApi);
|
||||||
Monitor = new JiraMonitor();
|
|
||||||
await Monitor.AddJiraInstanceAsync(_jiraApi);
|
|
||||||
LoginInfo loginInfo;
|
LoginInfo loginInfo;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
loginInfo = await _jiraApi.StartSessionAsync(user, password);
|
loginInfo = await _jiraApi.StartSessionAsync(user, password);
|
||||||
|
Monitor = new JiraMonitor();
|
||||||
|
await Monitor.AddJiraInstanceAsync(_jiraApi);
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue