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

JIRA Plugin is not linking in Jenkins for an issue in JIRA that starts with number

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • jira-plugin
    • jenkins_1580, JIRA plugin 1.39, Subversion Plugin 2.2 (configured to svn client 1.7)

      If a JIRA issue key starts with a number, the link in Jenkins change log does not work. It only works for JIRA issue key that starts with a letter.

      Jira returns the following error:

      hudson.plugins.jira.JiraChangeLogAnnotator annotate
      INFO: No known JIRA project corresponding to id: 'AAA-9999'

      The original issue key is: 111AAA-9999

          [JENKINS-24990] JIRA Plugin is not linking in Jenkins for an issue in JIRA that starts with number

          In the plugin configuration change the field Isse Pattern

          FROM (default): ([a-zA-Z][a-zA-Z0-9_]+-[1-9][0-9]*)([^.]|\.[^0-9]|\.$|$)

          TO: ([a-zA-Z0-9_]+-[1-9][0-9]*)([^.]|\.[^0-9]|\.$|$)

          Daniel Possamai added a comment - In the plugin configuration change the field Isse Pattern FROM (default): ( [a-zA-Z] [a-zA-Z0-9_] +- [1-9] [0-9] *)( [^.] |\. [^0-9] |\.$|$) TO: ( [a-zA-Z0-9_] +- [1-9] [0-9] *)( [^.] |\. [^0-9] |\.$|$)

          Not a bug, just a configuration problem

          Daniel Possamai added a comment - Not a bug, just a configuration problem

            dmpossa Daniel Possamai
            dmpossa Daniel Possamai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: