Class IssuePriorityTranslatorUtil


  • public final class IssuePriorityTranslatorUtil
    extends Object

    Bugzilla priority naming differs from the one offered by this API, and has been mapped like that:

    1. BLOCKER - no bugzilla equivalent ,
    2. CRITICAL - maps to URGENT,
    3. MAJOR(3), // Bugzilla, maps to HIGH,
    4. MINOR(2), // Bugzilla, maps to MEDIUM,
    5. TRIVIAL(1), // Bugzilla, maps to LOW,
    6. OPTIONAL(0), // Bugzilla, no equivalent.

    This utility class is designed to handle all logic related to such translation (and nothing else).

    Author:
    Romain Pelisse
    • Method Detail

      • translateFromBugzilla

        public static org.jboss.set.aphrodite.domain.IssuePriority translateFromBugzilla​(String priority)