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

Use Perforce Jobs attached to changelist to track JIRA issues

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      The current JIRA plugin appears to search for issues in the change description. In the case of using Perforce, jobs relating to the issues are attached and not part of the change description. See:

      http://stackoverflow.com/questions/2276984/problem-with-hudson-jira-perforce-integration

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: J-cztery
          Path:
          pom.xml
          src/main/java/hudson/plugins/jira/selector/DefaultIssueSelector.java
          src/main/java/hudson/plugins/jira/selector/perforce/JobIssueSelector.java
          src/main/java/hudson/plugins/jira/selector/perforce/P4JobIssueSelector.java
          src/main/java/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelector.java
          src/main/resources/hudson/plugins/jira/DefaultUpdaterIssueSelector/config.jelly
          src/main/resources/hudson/plugins/jira/Messages.properties
          src/main/resources/hudson/plugins/jira/selector/DefaultIssueSelector/config.jelly
          src/main/resources/hudson/plugins/jira/selector/perforce/P4JobIssueSelector/config.jelly
          src/main/resources/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelector/config.jelly
          src/test/java/hudson/plugins/jira/selector/DefaultIssueSelectorTest.java
          src/test/java/hudson/plugins/jira/selector/perforce/JobIssueSelectorTest.java
          src/test/java/hudson/plugins/jira/selector/perforce/P4JobIssueSelectorTest.java
          src/test/java/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelectorTest.java
          http://jenkins-ci.org/commit/jira-plugin/2eace064c77979cab041e61d82dea47eb44cc886
          Log:
          JENKINS-24207 - Add new selectors for Perforce and P4 plugins that allow to update JIRA issues based on jobs associated with changes.
          Other changes:
          1. Refactor selectors. Break down methods in DefaultIssuesSelector so that it is easier to reuse. Side effect is that DefaultIssueSelector now will be fully recursive (once the other problems are fixed).
          2. Fix resources (DefaultUpdaterIssueSelector/config.jelly->selectors/DefaultIssueSelector/config.jelly).

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: J-cztery Path: pom.xml src/main/java/hudson/plugins/jira/selector/DefaultIssueSelector.java src/main/java/hudson/plugins/jira/selector/perforce/JobIssueSelector.java src/main/java/hudson/plugins/jira/selector/perforce/P4JobIssueSelector.java src/main/java/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelector.java src/main/resources/hudson/plugins/jira/DefaultUpdaterIssueSelector/config.jelly src/main/resources/hudson/plugins/jira/Messages.properties src/main/resources/hudson/plugins/jira/selector/DefaultIssueSelector/config.jelly src/main/resources/hudson/plugins/jira/selector/perforce/P4JobIssueSelector/config.jelly src/main/resources/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelector/config.jelly src/test/java/hudson/plugins/jira/selector/DefaultIssueSelectorTest.java src/test/java/hudson/plugins/jira/selector/perforce/JobIssueSelectorTest.java src/test/java/hudson/plugins/jira/selector/perforce/P4JobIssueSelectorTest.java src/test/java/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelectorTest.java http://jenkins-ci.org/commit/jira-plugin/2eace064c77979cab041e61d82dea47eb44cc886 Log: JENKINS-24207 - Add new selectors for Perforce and P4 plugins that allow to update JIRA issues based on jobs associated with changes. Other changes: 1. Refactor selectors. Break down methods in DefaultIssuesSelector so that it is easier to reuse. Side effect is that DefaultIssueSelector now will be fully recursive (once the other problems are fixed). 2. Fix resources (DefaultUpdaterIssueSelector/config.jelly->selectors/DefaultIssueSelector/config.jelly).
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Radek Antoniuk
          Path:
          pom.xml
          src/main/java/hudson/plugins/jira/selector/DefaultIssueSelector.java
          src/main/java/hudson/plugins/jira/selector/perforce/JobIssueSelector.java
          src/main/java/hudson/plugins/jira/selector/perforce/P4JobIssueSelector.java
          src/main/java/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelector.java
          src/main/resources/hudson/plugins/jira/DefaultUpdaterIssueSelector/config.jelly
          src/main/resources/hudson/plugins/jira/Messages.properties
          src/main/resources/hudson/plugins/jira/selector/DefaultIssueSelector/config.jelly
          src/main/resources/hudson/plugins/jira/selector/perforce/P4JobIssueSelector/config.jelly
          src/main/resources/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelector/config.jelly
          src/test/java/hudson/plugins/jira/selector/DefaultIssueSelectorTest.java
          src/test/java/hudson/plugins/jira/selector/perforce/JobIssueSelectorTest.java
          src/test/java/hudson/plugins/jira/selector/perforce/P4JobIssueSelectorTest.java
          src/test/java/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelectorTest.java
          http://jenkins-ci.org/commit/jira-plugin/6856840f79350cfe8658e136161136d23587b57c
          Log:
          Merge pull request #95 from J-cztery/AddJobSupport

          • upstream/pr/95:
            JENKINS-24207 - Add new selectors for Perforce and P4 plugins that allow to update JIRA issues based on jobs associated with changes. Other changes: 1. Refactor selectors. Break down methods in DefaultIssuesSelector so that it is easier to reuse. Side effect is that DefaultIssueSelector now will be fully recursive (once the other problems are fixed). 2. Fix resources (DefaultUpdaterIssueSelector/config.jelly->selectors/DefaultIssueSelector/config.jelly).

          Compare: https://github.com/jenkinsci/jira-plugin/compare/e23c778120fc...6856840f7935

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Radek Antoniuk Path: pom.xml src/main/java/hudson/plugins/jira/selector/DefaultIssueSelector.java src/main/java/hudson/plugins/jira/selector/perforce/JobIssueSelector.java src/main/java/hudson/plugins/jira/selector/perforce/P4JobIssueSelector.java src/main/java/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelector.java src/main/resources/hudson/plugins/jira/DefaultUpdaterIssueSelector/config.jelly src/main/resources/hudson/plugins/jira/Messages.properties src/main/resources/hudson/plugins/jira/selector/DefaultIssueSelector/config.jelly src/main/resources/hudson/plugins/jira/selector/perforce/P4JobIssueSelector/config.jelly src/main/resources/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelector/config.jelly src/test/java/hudson/plugins/jira/selector/DefaultIssueSelectorTest.java src/test/java/hudson/plugins/jira/selector/perforce/JobIssueSelectorTest.java src/test/java/hudson/plugins/jira/selector/perforce/P4JobIssueSelectorTest.java src/test/java/hudson/plugins/jira/selector/perforce/PerforceJobIssueSelectorTest.java http://jenkins-ci.org/commit/jira-plugin/6856840f79350cfe8658e136161136d23587b57c Log: Merge pull request #95 from J-cztery/AddJobSupport upstream/pr/95: JENKINS-24207 - Add new selectors for Perforce and P4 plugins that allow to update JIRA issues based on jobs associated with changes. Other changes: 1. Refactor selectors. Break down methods in DefaultIssuesSelector so that it is easier to reuse. Side effect is that DefaultIssueSelector now will be fully recursive (once the other problems are fixed). 2. Fix resources (DefaultUpdaterIssueSelector/config.jelly->selectors/DefaultIssueSelector/config.jelly). Compare: https://github.com/jenkinsci/jira-plugin/compare/e23c778120fc...6856840f7935

            People

            Assignee:
            jcztery Jacek Tomaka
            Reporter:
            versicj John Versic
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: