Enable plugin to post to JIRA projects with underscore in project key

XMLWordPrintable

    • Type: Patch
    • Resolution: Fixed
    • Priority: Major
    • Component/s: jira-plugin
    • None
    • Environment:
      Platform: All, OS: All

      The patch enables the plugin to post to JIRA projects with underscore in the
      project key.

      Index: Updater.java
      — Updater.java Base (BASE)
      +++ Updater.java Locally Modified (Based On LOCAL)
      @@ -152,7 +152,7 @@

      • At least two upper alphabetic.
      • Numbers are also allowed as project keys (see issue #729)
        */
      • public static final Pattern ISSUE_PATTERN =
        Pattern.compile("\\b[A-Z]([A-Z0-9]+)-[1-9][0-9]*
        b");
        + public static final Pattern ISSUE_PATTERN =
        Pattern.compile("\\b[A-Z]([A-Z0-9_]+)-[1-9][0-9]*
        b");

      private static final Logger LOGGER = Logger.getLogger(Updater.class.getName());

            Assignee:
            Unassigned
            Reporter:
            ulih
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: