|
Lines 611-643
Link Here
|
| 611 |
BugzillaTaskDataHandler.createAttribute(existingReport, element); |
611 |
BugzillaTaskDataHandler.createAttribute(existingReport, element); |
| 612 |
} |
612 |
} |
| 613 |
String useParam = taskRepository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USETARGETMILESTONE); |
613 |
String useParam = taskRepository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USETARGETMILESTONE); |
| 614 |
if (useParam != null && useParam.equals("true")) { //$NON-NLS-1$ |
614 |
BugzillaUtil.addAttributeIfUsed(BugzillaAttribute.TARGET_MILESTONE, |
| 615 |
BugzillaTaskDataHandler.createAttribute(existingReport, BugzillaAttribute.TARGET_MILESTONE); |
615 |
IBugzillaConstants.BUGZILLA_PARAM_USETARGETMILESTONE, taskRepository, existingReport, true); |
| 616 |
} |
|
|
| 617 |
for (BugzillaAttribute element : reportElements2) { |
616 |
for (BugzillaAttribute element : reportElements2) { |
| 618 |
BugzillaTaskDataHandler.createAttribute(existingReport, element); |
617 |
BugzillaTaskDataHandler.createAttribute(existingReport, element); |
| 619 |
} |
618 |
} |
| 620 |
useParam = taskRepository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USEQACONTACT); |
619 |
BugzillaUtil.addAttributeIfUsed(BugzillaAttribute.QA_CONTACT, IBugzillaConstants.BUGZILLA_PARAM_USEQACONTACT, |
| 621 |
if (useParam != null && useParam.equals("true")) { //$NON-NLS-1$ |
620 |
taskRepository, existingReport, true); |
| 622 |
BugzillaTaskDataHandler.createAttribute(existingReport, BugzillaAttribute.QA_CONTACT); |
621 |
BugzillaUtil.addAttributeIfUsed(BugzillaAttribute.STATUS_WHITEBOARD, |
| 623 |
} |
622 |
IBugzillaConstants.BUGZILLA_PARAM_USESTATUSWHITEBOARD, taskRepository, existingReport, true); |
| 624 |
useParam = taskRepository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USESTATUSWHITEBOARD); |
623 |
BugzillaUtil.addAttributeIfUsed(BugzillaAttribute.ALIAS, IBugzillaConstants.BUGZILLA_PARAM_USEBUGALIASES, |
| 625 |
if (useParam != null && useParam.equals("true")) { //$NON-NLS-1$ |
624 |
taskRepository, existingReport, false); |
| 626 |
BugzillaTaskDataHandler.createAttribute(existingReport, BugzillaAttribute.STATUS_WHITEBOARD); |
625 |
BugzillaUtil.addAttributeIfUsed(BugzillaAttribute.CLASSIFICATION, |
| 627 |
} |
626 |
IBugzillaConstants.BUGZILLA_PARAM_USECLASSIFICATION, taskRepository, existingReport, false); |
| 628 |
useParam = taskRepository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USEBUGALIASES); |
627 |
BugzillaUtil.addAttributeIfUsed(BugzillaAttribute.SEE_ALSO, IBugzillaConstants.BUGZILLA_PARAM_USE_SEE_ALSO, |
| 629 |
if (useParam != null && useParam.equals("true")) { //$NON-NLS-1$ |
628 |
taskRepository, existingReport, false); |
| 630 |
BugzillaTaskDataHandler.createAttribute(existingReport, BugzillaAttribute.ALIAS); |
|
|
| 631 |
} |
| 632 |
useParam = taskRepository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USECLASSIFICATION); |
| 633 |
if (useParam != null && useParam.equals("true")) { //$NON-NLS-1$ |
| 634 |
BugzillaTaskDataHandler.createAttribute(existingReport, BugzillaAttribute.CLASSIFICATION); |
| 635 |
} |
| 636 |
useParam = taskRepository.getProperty(IBugzillaConstants.BUGZILLA_PARAM_USE_SEE_ALSO); |
| 637 |
if (useParam != null && useParam.equals("true")) { //$NON-NLS-1$ |
| 638 |
BugzillaTaskDataHandler.createAttribute(existingReport, BugzillaAttribute.SEE_ALSO); |
| 639 |
} |
| 640 |
|
| 641 |
} |
629 |
} |
| 642 |
|
630 |
|
| 643 |
public static String getBugUrlWithoutLogin(String repositoryUrl, String id) { |
631 |
public static String getBugUrlWithoutLogin(String repositoryUrl, String id) { |