jira-integration: Add messages to the user if default data is not found
Add information for the user if required work report type or type of hours are not found. FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
This commit is contained in:
parent
31c3247344
commit
b68315595a
1 changed files with 4 additions and 0 deletions
|
|
@ -93,11 +93,15 @@ public class JiraTimesheetSynchronizer implements IJiraTimesheetSynchronizer {
|
|||
|
||||
workReportType = findWorkReportType("Jira-connector");
|
||||
if (workReportType == null) {
|
||||
jiraSyncInfo
|
||||
.addSyncFailedReason("Work repor type \"Jira-connector\" not found");
|
||||
return;
|
||||
}
|
||||
|
||||
typeOfWorkHours = findTypeOfWorkHours("Default");
|
||||
if (typeOfWorkHours == null) {
|
||||
jiraSyncInfo
|
||||
.addSyncFailedReason("Type of work hours \"Default\" not found");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue