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

Support JQL Search without JIRA project Key

XMLWordPrintable

      Hi,

       

      We want to have an option to generate release notes in Confluence for a set of Jira Keys. Our Jira instance is set up with multiple projects, (defects, improvements, etc. Don't ask why) and all of these projects have issues which affects our source code. Therefore we need a feature to search for Jira issues in multiple project when we are generating the release notes. 

      I searched through the code, and found that the search for releases is the following ([JIRAAccessTool.Java|https://github.com/jenkinsci/release-helper-plugin/blob/master/rocks.inspectit.releaseplugin/src/main/java/rocks/inspectit/releaseplugin/JIRAAccessTool.java]):

      SearchResult result = restClient.getSearchClient().searchJql("(" + jqlQuery + ") AND project = \"" + projectKey + "\"").claim();
      
      

      I can see the use case where one would want to restrict the search to one specific Jira project, but we would like to have this optional. 

      If this is something that is wanted by the community I can create a pull request for this.

       

      https://github.com/jenkinsci/release-helper-plugin

            Unassigned Unassigned
            jny Jesper Nylend
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: