Package org.libreplan.importers.jira

Examples of org.libreplan.importers.jira.WorkLogDTO


        String code = order.getCode() + "-" + orderSyncInfo.getKey();

        WorkReport workReport = updateOrCreateWorkReport(code);

        for (IssueDTO issue : issues) {
            WorkLogDTO worklog = issue.getFields().getWorklog();
            if (worklog == null) {
                synchronizationInfo.addFailedReason(_(
                        "No worklogs found for \"{0}\" key", issue.getKey()));
            } else {
                List<WorkLogItemDTO> workLogItems = worklog.getWorklogs();
                if (workLogItems == null || workLogItems.isEmpty()) {
                    synchronizationInfo.addFailedReason(_(
                            "No worklog items found for \"{0}\" issue",
                            issue.getKey()));
                } else {
View Full Code Here


     *            measurement
     */
    private void syncProgressMeasurement(OrderLine orderLine, IssueDTO issue,
            EffortDuration estimatedHours, EffortDuration loggedHours) {

        WorkLogDTO workLog = issue.getFields().getWorklog();

        if (workLog == null) {
            synchronizationInfo.addFailedReason(_(
                    "No worklogs found for \"{0}\" issue", issue.getKey()));
            return;
        }

        List<WorkLogItemDTO> workLogItems = workLog.getWorklogs();
        if (workLogItems.isEmpty()) {
            synchronizationInfo.addFailedReason(_(
                            "No worklog items found for \"{0}\" issue",
                            issue.getKey()));
            return;
View Full Code Here

TOP

Related Classes of org.libreplan.importers.jira.WorkLogDTO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.