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

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

    XMLWordPrintable

    Details

    • Type: Patch
    • Status: Closed (View Workflow)
    • 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

          Hide
          hartmutl hartmutl added a comment -

          fixed with the change to issue 729

          Show
          hartmutl hartmutl added a comment - fixed with the change to issue 729

            People

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

              Dates

              Created:
              Updated:
              Resolved: