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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: