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

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

    Details

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

      Description

      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());

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: