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

Unable to find Jira Id from commit using jira ext plugin

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • jira-ext-plugin
    • Jenkins - 2.73.2
      Jira ext plugin - 0.7
      Jira version - 7.5.2

      Hello,

      I've set up the plugin on a test Jenkins, the job is triggered by a commit in Gerrit and the scope is to use the JIRA id from the commit message and transition the issue from one status to another.

      At this moment it only works when I choose: Manually specifying it. Trying to use First word of commit or Mentioned somewhere in commit leads to this ouput:
      Updating JIRA tickets
      ChangeLogSet class: class hudson.scm.EmptyChangeLogSet
      Operation: Transition tickets
      Operation: Add a comment
      Finish updating JIRA tickets

      and no update is done in Jira. I've used the same id each time.

      I've attached the configuration for the plugin and also from the job. On the other hand if I use a Github repo as trigger the job manages to make the update.

      Is it something wrong in the plugin config or in the job?

      Regards,
      Marian

          [JENKINS-50149] Unable to find Jira Id from commit using jira ext plugin

          Edwin added a comment -

          Hi dalvizu , I found that if last build failed/abort, so new build can't find commit messages, and will not add the comment to the ticket. Is there an option to list all the change log between two successful build?  Thanks a lot.

          Edwin added a comment - Hi dalvizu , I found that if last build failed/abort, so new build can't find commit messages, and will not add the comment to the ticket. Is there an option to list all the change log between two successful build?  Thanks a lot.

            dalvizu Dan Alvizu
            mpostole Marian Postole
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: