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

Work items not included in build if work item number is not mentioned in the first line of a git commit

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • teamconcert-git-plugin
    • None
    • Any

      What steps will reproduce the problem?
      1. Create a git commit with multi line comment. Mention the work item number on the second line
      For eg,
      {{Sample git commit

      task 8
      task 9
      }}

      2. In the Jenkins job, choose Rational Team Concert Git build step. Provide repository details. Select the following options.
      Annotate Change log with work items links.
      Enable RTC Work Item Integration
      2. Start a Jenkins build.
      3. View the corresponding work items task 7 and task 8

      What is the expected output?
      The work item's links tab shows a link to the Jenkins build

      What do you see instead? Please provide screen shots if possible.
      There is no Jenkins build link in the Links tab of the work item

      Please provide any additional relevant information below (server logs, custom project area template, etc...).

          [JENKINS-25587] Work items not included in build if work item number is not mentioned in the first line of a git commit

          Krishna Kishore created issue -

          Krishna Kishore added a comment - RTC workitem link: https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/337573
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 159561 ] New: JNJira + In-Review [ 180032 ]
          Lakshmi Narasimhan Vaikuntam made changes -
          Description Original: What steps will reproduce the problem?
          1. Create a git commit with multi line comment. Mention the work item number on the second line (eg, task <num>)
          2. Start a Jenkins job.
          3. View the corresponding RTC Build Result

          What is the expected output?
          The work item section shows task <num> as included in build

          What do you see instead? Please provide screen shots if possible.
          There are no work items included in the build

          Please provide any additional relevant information below (server logs, custom project area template, etc...).
          New: What steps will reproduce the problem?
          1. Create a git commit with multi line comment. Mention the work item number on the second line
           For eg,
               {{Sample git commit
              
                   task 8
                   task 9
           }}

          2. In the Jenkins job, choose Rational Team Concert Git build step. Provide repository details. Select the following options.
            *Annotate Change log with work items links.*
             *Enable RTC Work Item Integration*
          2. Start a Jenkins build.
          3. View the corresponding work items task 7 and task 8

          What is the expected output?
          The work item's links tab shows a link to the Jenkins build

          What do you see instead? Please provide screen shots if possible.
          There is no Jenkins build link in the Links tab of the work item

          Please provide any additional relevant information below (server logs, custom project area template, etc...).

            clkkishore Krishna Kishore
            clkkishore Krishna Kishore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: