Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4092

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

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Major Major
    • jira-plugin
    • None
    • 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());

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

              Created:
              Updated:
              Resolved: